Code snippets for blog at chrisholtz.com