Friday, November 10, 2006

Unix : Libraries in an executable

A useful command to do this is:

ldd executable name

This will list out all the libraries required by that executable.

Enjoy!

Monday, November 06, 2006

Misc : Folder / file comparisons with hard drive and FTP

I frequently have problems comparing folders on my PC with folders on a machine that is accessible mainly by FTP.

An excellent tool for this is Beyond Compare which allows all combinations of local driver and FTP including FTP to FTP.

Also allows custom compares so you could create a preprocessor to do some manipulation before the actual compare.

A massive time saver.

Enjoy!

Misc : Formatting code in your blog

One possible solution is to use the

==blockquote==/blockquote==

construct

e.g.

void method (int a)
{
==blockquote==


int b = a * a;


==/blockquote==
}

where the "==" stands for the angled brackets.

Enjoy!