Skip to content

Instantly share code, notes, and snippets.

@markson
Created September 15, 2012 03:34
Show Gist options
  • Save markson/3726254 to your computer and use it in GitHub Desktop.
Save markson/3726254 to your computer and use it in GitHub Desktop.
this is the test of jist
$ jist a.rb
https://gist.github.com/0d07bc98c139810a4075
By default it reads from STDIN, and you can set a filename with -f.
$ jist -f test.rb <a.rb
https://gist.github.com/7db51bb5f4f35c480fc8
Alternatively, you can just paste from the clipboard:
$ jist -P
https://gist.github.com/6a330a11a0db8e52a6ee
Use -p to make the gist public and -d to add a description.
$ jist -p -d "Random rbx bug" a.rb
https://gist.github.com/2977722
You can update existing gists with -u:
$ jist lib/jist.rb bin/jist -u 42f2c239d2eb57299408
https://gist.github.com/42f2c239d2eb57299408
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment