Created
May 14, 2018 09:09
-
-
Save cristiano74/e13aa9e1175c7175cee7619c4074182e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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