Archive for November, 2006

Best resources to learn programming

The first programming language that I learned was Fortran, while I was doing my bachelors in Electronics. Our B.Sc course had only two programming papers, Fortran and 8085 assembly language. I still remember one teacher who came to teach us DOS basics asking “How many of you have touched a computer ?”. Not even a single hand raised in answer. Those days, access to computers was that difficult.

Present generation of programming students are very lucky. If they wish, they can learn programming with one of the most beautiful languages ever created , that too without installing any software on your system .

Links -

[1] http://tryruby.hobix.com.

[2] http://pine.fm/LearnToProgram/

Leave a Comment

How to remove ^M from unix files using VI editor

^M is DOS line break charater which shows up in unix files when uploaded from a windows file system in ascii format.

To remove this, open your file in vi editor and type

:%s/(ctrl-v)(ctrl-m)//g

and press Enter key.

Important!! – press (Ctrl-v) (Ctrl-m) combination to enter ^M character, dont use “^” and M.

If anything goes wrong exit with q!.

I learned this from here.

Comments (12)