willb / gist forked from defunkt/gist
- Source
- Commits
- Network (27)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
master
Will Benton (author)
Mon Oct 19 12:58:56 -0700 2009
gist /
| name | age | message | |
|---|---|---|---|
| |
LICENSE | Thu Oct 30 11:11:58 -0700 2008 | |
| |
README.markdown | Mon Apr 27 19:05:24 -0700 2009 | |
| |
battle.png | Fri Oct 10 17:20:04 -0700 2008 | |
| |
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


