Skip to content
This repository was archived by the owner on Nov 1, 2017. It is now read-only.
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions _posts/2010-04-23-gist.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@ $ curl http://gist.github.com/api/v1/json/823475

## Get a Gist's Content ##

GET http://gist.github.com/raw/:gist_id/:filename
GET https://raw.github.com/gist/:gist_id/:filename

Example:

<pre class="terminal">
$ curl http://gist.github.com/raw/374130/ports.sh
$ curl https://raw.github.com/gist/374130/ports.sh
# List what ports are in use on OS X
sudo lsof -iTCP -sTCP:LISTEN -P
</pre>
Expand Down