Code examples from my various blog posts.