Archive for the 'Mac' Category

mac essentials, pt. 2

December 1, 2007

More Mac essentials coming up!

pid of processes with open ports

November 29, 2007

Somehow the netstat of OS X does not have the ability to show the PID of the different open sockets. Instead, use this:

 lsof -i -P 

Thanks to ynniv for that one.

setting default umask

September 6, 2007

The default umask on Mac OS X systems is 022; I would like it to be 077. In Mac OS X the umask value must be specified in decimal; the octal value 077 is decimal 63. To change the default umask value:

  1. Log into an administrator account on your computer
  2. Execute the following line into the Terminal window:
    /usr/bin/sudo /usr/bin/defaults write /Library/Preferences/.GlobalPreferences NSUmask 63

  3. Then execute the following line into the Terminal window:
    /usr/bin/sudo /bin/chmod 644 /Library/Preferences/.GlobalPreferences.plist

  4. To return the umask value to the default setting of 022, use the following command:
    /usr/bin/sudo /usr/bin/defaults write /Library/Preferences/.GlobalPreferences NSUmask 18

Taken from Securing your computer: Macintosh Quick-Click Guide.

mac essentials pt. 1

September 6, 2007

Along the way I have found different useful tools and apps for my Mac.

  • Fink – all your fav *NIX-software coming to you in the apt-get style!
  • Chicken of the VNC – VNC client
  • LaTeXiT – Instat drag’n'drop LaTeX
  • SharePoints – Customize your shares
  • coconutWiFi – Shows which wireless networks are open and gives more information

my new macbook

August 30, 2007

Yesterday my dear, old laptop finally called it a day. First thing I did was to buy a new MacBook; The white 2,16Ghz. It’s absolutely amazing. I have a large wishlist of default settings and other stuff I want to change, so I guess the subject of this blog is now: Mac OS X. More or less.

Enjoy!