CTRL+OPT+CMD+8
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.
Sunday, February 5, 2012
Thursday, February 2, 2012
Rspec validate_presence_of matcher with scope
it { should validate_uniqueness_of(:foo).scoped_to(:bar) }
Wednesday, February 1, 2012
Ruby case switch gotcha
Doh. Ruby's case switch implicitly checks Object#class.
http://www.postal-code.com/mrhappy/blog/2007/02/01/ruby-comparing-an-objects-class-in-a-case-statement/
http://www.postal-code.com/mrhappy/blog/2007/02/01/ruby-comparing-an-objects-class-in-a-case-statement/
Subscribe to:
Posts (Atom)