Code Snippets

These are a collection of code snippets that I use frequently.