gist-it.appspot.com lets you take a file from your GitHub repository and embed it into any webpage, just like a gist
Syntax highlighting by google-code-prettify
To embed a file, wrap a GitHub url in a <script> tag like the following:
<script src="http://gist-it.appspot.com/github/$user/$repository/raw/$branch/$path"></script>
Load
Reset
Paste or type in any GitHub file url (e.g. http://github.com/robertkrimen/gist-it-example/blob/master/example.js)