defunkt / gist

Absolutely the best command line gister.

This URL has Read+Write access

Will Benton (author)
Mon Oct 19 12:58:56 -0700 2009
defunkt (committer)
Mon Oct 19 13:06:21 -0700 2009
commit  595bddc77386b46f30dcae83748d4e2cc9d1b219
tree    1e9caed10e917fcd69c4e2417b5822da63395a21
parent  c6ff906ac6c9ba368d1c297c37ef1706ada2274e
gist /
name age message
file LICENSE Thu Oct 30 11:11:58 -0700 2008 MIT [defunkt]
file README.markdown Loading commit data...
file battle.png Fri Oct 10 17:20:04 -0700 2008 instructions for real [defunkt]
file gist.rb
README.markdown

Gist: The Script

Works great with Gist: The Website.

Installation

curl http://github.com/defunkt/gist/raw/master/gist.rb > gist &&
chmod 755 gist &&
sudo mv gist /usr/local/bin/gist

Use

gist < file.txt
echo secret | gist --private # or -p
gist 1234 > something.txt

Authentication

Just have your git config set up with your GitHub username and token.

git config --global github.user "your-github-username"
git config --global github.token "your-github-token"

You can find your token under your account.

Ninja vs Shark

Ninja vs Shark