Code for my demo at @SoftwareNiagara's DevTricks (June 9, 2014)