All code examples for the Hard Core Directives blog series