Daily Archives: 2008-07-10

Recent Nerdery

  1. I drew my whole apartment on google sketchup in order to settle a discussion with my partner Sam over where we should move some chairs and tables.  Sadly, it did not help.
  2. Due to a nasty twitter post, I had to write up rot13 in ruby – which is of course hot.
1
2
3
4
5
6
7
8
9
#ruby on rot13
 
class String
  def rot13
    self.tr("A-Ma-mN-Zn-z", "N-Zn-zA-Ma-m")
  end
end
 
"Damn you @genmon !".rot13  # => Qnza lbh @trazba !