It is unusual. It is ".
9/19/11
7/31/11
matlab mex
1. be careful with the data type. It messes up instead of telling you that there is some implicit conversion.
7/26/11
use vi to open two files at the same time.
from here
Sometimes you need to edit a new or existing file while looking at a separate file using VI. This can be very useful and a powerful time saver. Fortunately you can do this using some simple commands.
First go ahead and edit a file with VI
shellprompt$ vi test-1.txt
:new
ctr-w j
ctr-w k
:only
:wq whatevername.txt
:new /path/to/whateverfile
7/16/11
7/5/11
mac: move applications to different spaces.
You do not have to view all Spaces to move windows between them (That is, by pressing F8, then using your mouse to drag and drop the desired window to the desire Space location). Nor do you have to drag to a screen edge, wait, then drop. If you like to use your keyboard, here's a fast way to do it.
- Using your mouse, click and hold the window you want to move to another Space.
- While still holding your mouse button down, use your Spaces keyboard shortcut to move to the desired Space. This is usually done by pressing Control and one of the arrow keys.
[robg adds: You can also use this method to move the window directly to a numbered space -- just select the window, then press Control-1, -2, -3, etc. This is my preferred method of moving a window to a space, as it seems by far the quickest.]
source from here
5/20/11
rsync exclude files.
To exclude some directory, check the following:
http://www.thegeekstuff.com/2011/01/rsync-exclude-files-and-folders/
5/6/11
3/22/11
ITK directory
To configure cmake
ITK_DIR
It should be "/Users/xxxx/software/InsightToolKitCompiled", where you put your compiled ITK.
3/21/11
Problem with ITK: library not loaded.
Problem:
dyld: Library not loaded: libITKCommon.3.16.dylib
Solution:
export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:/usr/local/lib/InsightToolkit
/usr/local/lib/InsightToolkit is where the "libITKCommon.3.16.dylib" lives in.