Code samples for some examples from my WordCamp San Francisco 2013 talk