From Commandline - pasting to https://gist.github.com/

I am using https://gist.github.com/ quite a lot and on my todo list is a
little entry:

I write a small ruby script and want to upload it to gist.github.com as
if I have copy/pasted it.

What would be the easiest way to do so? I want to avoid using mechanize
as it pulls in nokogiri which I don’t use. So I would need something
much simpler.

Basically I have the data available locally already, just don’t know how
to transfer it to a remote site (gist.github.com)

On Wed, Aug 24, 2011 at 7:09 PM, Marc H. [email protected]
wrote:

Basically I have the data available locally already, just don’t know how
to transfer it to a remote site (gist.github.com)

https://github.com/defunkt/gist

Google is your friend.


Phillip G.

phgaw.posterous.com | twitter.com/phgaw | gplus.to/phgaw

A method of solution is perfect if we can forsee from the start,
and even prove, that following that method we shall attain our aim.
– Leibniz

There is no API for creating a new gist but it is coming:

http://develop.github.com/p/gist.html