I recently ran into a nice gist cli tool setup shown here and you can easily jump into its usage from ubuntu box doing:
$ sudo gem install gist $ git config --global github.user "your-github-username" $ git config --global github.token "your-github-token" $ gist - ... // Ctrl+D to finish string |

It is so cool, now there is just one thing to look perhaps to a widget on chrome or something.