Tuesday, February 7, 2012

Inverted to negative screen on OSX

Great for presentation when ambient lights are too bright and words can't be seen.

CTRL+OPT+CMD+8

Sunday, February 5, 2012

etc hosts on OSX


sudo vi /private/etc/hosts
or
sudo vi /etc/hosts

Thursday, February 2, 2012

Rspec validate_presence_of matcher with scope

it { should validate_uniqueness_of(:foo).scoped_to(:bar) }

Wednesday, February 1, 2012