Thursday, June 16, 2011

GitHub gists, pastebins with a Git twist

By Vasudev Ram - dancingbison.com | @vasudevram | jugad2.blogspot.com

Saw this recently - seems like a nice idea:

GitHub gists (quoting from the site), are:

"a simple way to share snippets and pastes with others. All gists are git repositories, so they are automatically versioned, forkable and usable as a git repository."

"Snippets", in the above, means, of course, code snippets, since GitHub is a code repository site.

The GitHub gist entry page (where you can create a gist) tries to detect the programming language used in the gist by the file name extension - you can paste the code into a text box, as in a pastebin, but you have to give the gist a file name, like foo.py or bar.c .

Links:

https://gist.github.com/
http://en.wikipedia.org/wiki/Pastebin

Posted via email
- Vasudev Ram


No comments: