some snippets
Merge pull request #8 from drnic/snippets

some snippets