Code samples from my DevNexus 2014 talk