Archive for the 'UNIX' Category

NSWorkspace Bug in - openFile: ?

December 7, 2007

EDITED TO ADD: I could reproduce this bug in a large project, but not isolate it in a smaller one. It is much likely for my code to have a bug then NSWorkspace. I’m still not 100% certain that this issue wasn’t my fault in some way I don’t understand. But no [...]

Useful MacOSX Terminal Commands

November 16, 2007

This post has moved here.

Adding a Directory to $PATH in MacOSX

August 10, 2007

UPDATED FOR OS X 10.5
I don’t program in bash often enough to remember how to set shell-variables, so I always have to look up that :
PATH=$PATH:/extra/path1:extra/path2
is the line I need to add to my ~/.bashrc file, if I want to add /extra/path1:extra/path2 to my $PATH.
In fact, the reason for this post is because I had [...]

Determining your laptop’s location with a shell command

June 11, 2007

This article has been updated, and moved here