Snippets These are some code snippets that (a) I use relatively often or (b) I tend to forget. Maybe some of them are useful to you out there.