OS X services to quickly create gists from the selected text. Based on @stinkymatt code
Install the gist
command-line utility:
$ brew install gist
Set up git
with your GitHub credentials with:
$ git config --global github.user <your username>
$ git config --global github.password <your password>
Copy Create Private Gist.workflow
and Create Public Gist.workflow
into ~/Library/Services