February 8, 2010
Sometimes a simple piece of code can surprise you.
The purpose of the following piece of code was to generate a randomn number between 1 and 10, 10 times.
int i ;
int r;
for ( i =0; i<10; i++)
{
r = arc4random() ;
NSlog(@”%s \t%d \t%d \t%d”, [...]
Read the full article →
February 2, 2010
Here’s a quick tip. If you find yourself needing to access hidden files on your Macintosh, run this from the terminal. Please note that the inverse of the first command will restore your default settings.
Display Hidden Files
# defaults write com.apple.Finder AppleShowAllFiles TRUE
# KillAll Finder
Read the full article →