added some snippets I use frequently

Feel free to pick and choose any that you find useful