Archive for the ‘Mac OS X’ Category

Hide PostgreSQL User in OS X Lion 10.7

After installing PostgreSQL 8.4 on Lion, a PostgreSQL user pops up in the login window. To hide system users (including the PostgreSQL user) type the following in your terminal: sudo defaults write /Library/Preferences/com.apple.loginwindow Hide500Users -bool TRUE

Hilarious: Jon Stewart Appholes

The Daily Show With Jon Stewart Mon – Thurs 11p / 10c

Snow Leopard Kernel reaches Version 10.0.0

I just realized that the Mac OS X Kernel reached version 10.0.0 (aka X) with Snow Leopard. Darwin Fast.local 10.0.0 Darwin Kernel Version 10.0.0: Fri Jul 31 22:46:25 PDT 2009; root:xnu-1456.1.25~1/RELEASE_X86_64 x86_64

Pragmatic Programmers

I absolutely love the books from “The Pragmatic Programmers“. They are really well written and the cool thing is, you can get them as DRM free PDF. And the even cooler thing is, you buy and read them while there are being written! How great is that? Below is a screenshot of my Pragmatic Bookshelf [...]

Building the postgres gem for a 64bit PostgreSQL on Snow Leopard (10.6)

sudo env ARCHFLAGS=”-arch x86_64″ gem install postgres

Enable SSH Agent (Key) Forwarding on Snow Leopard

I’m using Git and Capistrano to deploy some ruby applications on multiple servers. My Git setup is done with gitosis which uses a key based authentication over ssh. The deployment script logs into the remote servers and checks out the current application version via Git. Now to have this working, one must forward the private [...]

PwnageTool 3.0 works with Snow Leopard

Ruby/Rails and MySQL on Snow Leopard (10A380)

First get and install the 64bit MySQL version: http://dev.mysql.com/get/Downloads/MySQL-5.1/mysql-5.1.35-osx10.5-x86_64.dmg/from/pick#mirrors Then install the MySQL gem the following way: sudo gem install mysql — –with-mysql-config=/usr/local/mysql/bin/mysql_config

Hiding a Directory from Finder (Mac OS X)

sudo chflags hidden /path/to/directory

Updating RubyGems on OS X Leopard

sudo gem install rubygems-update && sudo update_rubygems