ideamonk
August 2nd, 2009, 10:23 PM
Hi,
I've written a useful python script that helps you paste your code over various paste-bins directly from a terminal.
Its as simple as this -
$ pypaste myfoobar.rb
http://paste.ubuntu.com/######
$
snapshot - here (http://2.bp.blogspot.com/_Jg5VhRmvVtY/SnYACI1h8eI/AAAAAAAAAqU/DZQaJiyTP7A/s1600-h/Screenshot-2.png)
I've written more about it here - http://ideamonk.blogspot.com/2009/08/pypaste-pastebins-at-your-terminal.html
The project is available on github - http://github.com/ideamonk/pypaste/tree/master
It's pretty easy to install.
Hope this helps you speed up your work. I have tried to make the source easy to understand and hackable, I would like to know if someone would be interested in extending it over more pastebin services.
Note: I just learnt that there is something called pastebinit which is very popular. Sad that i didn't know about it before i started. The good part is PyPaste automatically detects syntax highlighting for you.
Have a great time.
I've written a useful python script that helps you paste your code over various paste-bins directly from a terminal.
Its as simple as this -
$ pypaste myfoobar.rb
http://paste.ubuntu.com/######
$
snapshot - here (http://2.bp.blogspot.com/_Jg5VhRmvVtY/SnYACI1h8eI/AAAAAAAAAqU/DZQaJiyTP7A/s1600-h/Screenshot-2.png)
I've written more about it here - http://ideamonk.blogspot.com/2009/08/pypaste-pastebins-at-your-terminal.html
The project is available on github - http://github.com/ideamonk/pypaste/tree/master
It's pretty easy to install.
Hope this helps you speed up your work. I have tried to make the source easy to understand and hackable, I would like to know if someone would be interested in extending it over more pastebin services.
Note: I just learnt that there is something called pastebinit which is very popular. Sad that i didn't know about it before i started. The good part is PyPaste automatically detects syntax highlighting for you.
Have a great time.