GitHub has a feature for having small ‘snipets’ of code (just a couple of files) which live outside the traditional [[git]] repo’s.

These ‘gists’ can be public (searchable) or private (only accessible by their own UUID)

A gist can be embedded inside a HTML (or [[Markdown]] via the following script (replacing the UUID with the gist’s UUID):

<script src="https://gist.github.com/user-name/DEADBEEF.js"></script>
<script src="https://gist.github.com/3114ac2ddc15c90b006ee04a2e2acbdb.js"></script>

or in GitHub Favoured Markdown

<script src="https://gist.github.com/3114ac2ddc15c90b006ee04a2e2acbdb.js"> </script>

The raw text for the latest ‘master’ for a gist can similarly be accessed via:

https://gist.githubusercontent.com/user-name/DEADBEEF/raw

Gists can hold a lot more that text, they are basically small repo’s. Erica Sadun has a great article on this.

Example of to-do list

  • @mentions, #refs, links, formatting, and tags supported
  • list syntax required (any unordered or ordered list supported)
  • this is a complete item
  • this is an incomplete item

From the CLI

Use defunkt/gist for a command line interface (brew install gist).

Gists visible on wwwroot in Dropbox. [GistBox][gistbox] looks cook.

You can get the RAW text of a GIST via: https://gist.github.com/rikwatson/3688990/raw/

(Possibly even http).

Look at C:\Dropbox\work\chrome_packaged_apps_template_\00-build.py & C:\Dropbox\Public\gists