tisdag 4 oktober 2011

Emacs Hex mode

Very good for analyzing files in hex mode!

M-x hexl

måndag 10 januari 2011

Search for text in subdirs with find and grep

Search for the string "require" in all ruby files (extension .rb).

\usr\wbin\find . -name "*.rb"|xargs grep "require"

tisdag 21 december 2010

DebugView from VB6 and C#

Use System.Diagnostics.Debug.WriteLine() in C# to generate print outs that can be displayed in the excellent tool DebugView.

In VB6, use OutputDebugString().