Skip to content

Instantly share code, notes, and snippets.

@cristiano74
Created May 14, 2018 09:09
Show Gist options
  • Save cristiano74/e13aa9e1175c7175cee7619c4074182e to your computer and use it in GitHub Desktop.
Save cristiano74/e13aa9e1175c7175cee7619c4074182e to your computer and use it in GitHub Desktop.
Install thi repo:
- https://github.com/defunkt/gist
- gem install gist
GEM installation:
- sudo apt-get install rubygems
========================
Login
If you want to associate your gists with your GitHub account, you need to login with gist. It doesn't store your username and password, it just uses them to get an OAuth2 token (with the "gist" permission).
gist --login
Obtaining OAuth2 access_token from github.
GitHub username: ConradIrwin
GitHub password:
2-factor auth code:
Success! https://github.com/settings/tokens
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment