Some of my favourite code snippets.