This post originated from an RSS feed registered with Web Buzz
by Douglas Clifton.
Original Post: gist.github.git
Feed Title: blogZero
Feed URL: http://loadaveragezero.com/app/s9y/index.php?/feeds/index.rss1
Feed Description: Web Development News, Culture and Opinion
After being introduced to Git at a BarCampDC2 presentation I found the system intriguing and worthy of a closer look—and in particular as an alternative to SVN.
Git
Git is a distributed open-source version control system designed to handle large to small projects with speed and efficiency. It is especially popular within the open-source community, serving as a development platform for projects such as the Linux kernel, RoR and X.org.
GitHub
GitHub provides pre-rolled, post-commit hooks with Lighthouse
and Campfire integration, as well as an innovative Web hook system for writing your own. Every repository comes with SSH support for pushing and pulling. Private repositories enjoy full SSL support.
Gist
Gist is a GitHub hosted pastebin service with the usual features, including source code syntax highlighting, shared URLs, plus all the goodies you'd expect from a version control system. Pastes can be set to public or private, you can edit them both online and off, and you can fork them—in essence treating each snippet as its own versioned project.
The downside of allowing anyone to post to Gist is the usual assortment of spamming, robots, and phishing scams. One look at the recent gist list is all you need to find "really cheap drugs." Sigh.
Since Git uses SHA1 as a checksum on files, one of the first things I did was write a simple PHP command-line script which either generates the hash for a file, or compares the file to an existing hash. So I thought, what better snippet of code (even though it is a complete program) to use as my first Gist?