Code snippets that have been published in my blog