Skip to content

Instantly share code, notes, and snippets.

@nimbupani
Created September 30, 2011 18:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save nimbupani/86dc0f0d363446b0869c to your computer and use it in GitHub Desktop.
Save nimbupani/86dc0f0d363446b0869c to your computer and use it in GitHub Desktop.
<h1>hi from a gist</h1>
author: Divya Manian
@mklabs
Copy link

mklabs commented Oct 2, 2011

Something like this ? https://gist.github.com/bca5bd4747a727c3d4e2 :)

(Really) quick impl, I really love the idea. Didnt know that jsfiddle allows you to create fiddle from gists, this is kinda cool.

Also didnt know that npm allows you to install and specify dependencies as git repostiories, over http. What's really cool is that it works with private repositories too. Did the test with private gists... and it worked.. And that's pretty awesome.

sooo... to test the fiddie thing, you could

npm install git+ssh://git@gist.github.com:bca5bd4747a727c3d4e2.git #awesome!

since it's a package that defines binary stuff, you may want to install it globally. e.g by appending the -g or --global flag to set the fiddie thing in your path.

more infos

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