Improve README code snippets

Signed-off-by: Chris Aniszczyk <zx@twitter.com>
Merge pull request #1 from twitter/improve-readme-snippets

Improve README code snippets