Skip to content

Instantly share code, notes, and snippets.

@jrk
Created October 20, 2009 19:21
Show Gist options
  • Save jrk/214531 to your computer and use it in GitHub Desktop.
Save jrk/214531 to your computer and use it in GitHub Desktop.
[github]
token = !security 2>&1 >/dev/null find-generic-password -gs "github.token" | ruby -e 'print $1 if STDIN.gets =~ /^password: \\\"(.*)\\\"$/'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment