Here’s a little snippet that you might like to use, automatically embed gists from github by simply pasting the URL into a post or page. It makes life easier if you prefer to use the visual editor when authoring content.
Github gists are a great way to create, develop and share snippets of code quickly.
https://gist.github.com/2926827