Thursday, April 25, 2013

Vim tip: Show ^M and remove it


Vim tip: Show ^M and remove it

-- or replace CRLF with LF
-- or replace 0d0a with 0a
-- or replace DOS line ending with Linux line ending

Display CRLF as ^M:

:e ++ff=unix

Substitute CRLF for LF:

:1,$ s/\r\n/\r/g

Wednesday, April 17, 2013

Visual studio 2008: fatal error LNK1000: Internal error during IncrBuildImage

This is a known issue. Microsoft provided a hotfix:
https://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=11399

Install VS2008 SP1 should also fix this problem.
http://www.microsoft.com/downloads/details.aspx?FamilyId=FBEE1648-7106-44A7-9649-6D9F6D58056E&displaylang=en