A Handful of useful snippets of code I've written over the years