Archive

Posts Tagged ‘conversion’

How to convert a NSInteger to a binary string

June 6th, 2011 No comments

I've seen a lot of question on the internet about this topic.

Here it is my preferred solution:

dos2unix using vim [part 2]- How to remove ^M chars from a DOS file

April 26th, 2009 No comments

Vim (vi improved) provides a rapid way to change the format from dos to unix and viceversa.

After you have opened your text file, just type the following command in vim:

:set fileformat=unix

to change the format to unix, or type:

:set fileformat=dos

Statistical data collected by Statpress SEOlution (blogcraft).