Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 740 Bytes

README.markdown

File metadata and controls

35 lines (22 loc) · 740 Bytes

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