Skip to content

Instantly share code, notes, and snippets.

View trilom's full-sized avatar
🏠
always...Working from Home

Bryan Killian trilom

🏠
always...Working from Home
View GitHub Profile
Gist (v4.6.2) lets you upload to https://gist.github.com/
The content to be uploaded can be passed as a list of files, if none are
specified STDIN will be read. The default filename for STDIN is "a.rb", and all
filenames can be overridden by repeating the "-f" flag. The most useful reason
to do this is to change the syntax highlighting.
If you'd like your gists to be associated with your GitHub account, so that you
can edit them and find them in future, first use `gist --login` to obtain an
Oauth2 access token. This is stored and used by gist in the future.