Code Snippets

These are a collection of code snippets I have used in the past and want to share with you.