a command line resource for gist

The common problem when we are using gist to archive most of our daily coding work is copying out every code of a file into the input box of the gist. So I went for resource to ease out my work. There is a ruby script which can upload your code-file right from the terminal. Guess what, you can even pipe out from ‘cat’ as the script is made to listen STDIN by default.

sudo apt-get install ruby1.9.1

sudo apt-get install rubygems

sudo gem install gist

A problem that I detected in my Ubuntu system is that the utility is not placed in user ‘bin’ by default.

So the question now is….

How to get it ?

http://defunkt.io/gist/

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s