Code samples for my talk at Silicon Valley Code Camp 2014-10-12