gist
Upload code to https://gist.github.com. More information: <https://github.com/defunkt/gist>.
Install
- All systems
-
curl cmd.cat/gist.sh
- Debian
-
apt-get install yorick
- Ubuntu
-
apt-get install yorick
- Arch Linux
-
pacman -S gist
- Kali Linux
-
apt-get install yorick
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install yorick
- OS X
-
brew install gist
- Raspbian
-
apt-get install yorick
- Dockerfile
- dockerfile.run/gist
Upload code to https://gist.github.com. More information: <https://github.com/defunkt/gist>.
-
Log in in gist on this computer:
gist --login
-
Create a gist from any number of text files:
gist file.txt file2.txt
-
Create a private gist with a description:
gist --private --description "A meaningful description" file.txt
-
Read contents from `stdin` and create a gist from it:
echo "hello world" | gist
-
List your public and private gists:
gist --list
-
List all public gists for any user:
gist --list username
-
Update a gist using the ID from URL:
gist --update GIST_ID file.txt
© tl;dr; authors and contributors