Skip to content

Instantly share code, notes, and snippets.

@henrahmagix
Last active December 20, 2015 22:39
Show Gist options
  • Save henrahmagix/6206864 to your computer and use it in GitHub Desktop.
Save henrahmagix/6206864 to your computer and use it in GitHub Desktop.
Using Gists For More - Oxford Geek Nights 30

Using Gists For More

By Henry Blyth

incuna logo

@henrahmagix

Front-ender at Incuna

Gists by GitHub

What is GitHub?

Online code hosting that gives you public and private Git repositories.

  • Public repos are unlimited!
  • Private repos cost

github logo

tee ell; dee arr

GitHub is amazing

octocat

What are Gists?

Gists are Git repos, same as any other.

However, on GitHub:

  • No pull-requests
  • But you can fork them
  • And clone, update, and push revisions

Got some code? Want to share it?

There are loads of code sharing sites

Some compile, some allow edits

Some even give you hipstery-angle, faux tilt-shift, vignette renders of code

Instacod.es

instacode screen

Hipstery-angle, faux tilt-shift, vignette renders of code

bagger instacode

But they don't give you a Git repository

No siree.

Gists are free!

Secret Gists are free and unlimited

WOOT!

Only limit is GitHub functionality:

  • No code review
  • No issue tracking
  • Still no pull-requests

Using Gists for more... what?

Writing

gist io image

Live Demos

View any public Gist with an index.html file as a served web page

Reference local files in the repository, so you can:

  • Add Javascript to demo some code
  • Add CSS to prototype a design
  • Send the link to a client

Happy client?

winning

Example - Canvas Snow

snow image

Presentations

gistdeck image

End

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment