• Here's the Gist of it

    defunkt 21 Jul 2008

    Pasting has become a huge part of our workflow. We use it daily, but find most paste tools slightly wanting. We’d love versioning. We’d love SSL on our private pastes. We’d love to fork existing pastes. And you know what, we’d love to push and pull our pastes using Git.

    Well, say hello to Gist.

    It’s all those things and will soon be more. We’ve been working hard on it and hope you like.

  • Comments

    britt Mon Jul 21 14:52:42 -0700 2008

    Very nice. The only thing it lacks is a JavaScript snippet for re-pasting elsewhere.

    skalnik Mon Jul 21 15:51:26 -0700 2008

    Pretty awesome! Keep up the great work.

    klondike Mon Jul 21 17:12:42 -0700 2008

    I think I git the gist of it.

    trey Mon Jul 21 18:13:44 -0700 2008

    I love it. Is there going to be a way to delete gits, though?

    trey Mon Jul 21 18:14:04 -0700 2008

    Or gists, even.

    mattiasjub Tue Jul 22 03:21:39 -0700 2008

    Oh, THIS IS NICE!!

    You should add javascript embeds (for blogs and such) /w code highlighting to make this really, really killer. Please!

    kamu Tue Jul 22 06:30:41 -0700 2008

    This is great stuff.

    Will we be seeing Diffs between revisions?

    Thanks for making this public.

    ichverstehe Tue Jul 22 06:48:24 -0700 2008

    It would be great if it could be possible to paste from command line. Would that be possible?

    dag Tue Jul 22 06:58:38 -0700 2008

    Cool, now enable comments, line-linking and deletion. :)

    ichverstehe Tue Jul 22 07:08:29 -0700 2008

    It’s git, you know, so to delete a paste:

    git push origin :master

    hans Tue Jul 22 09:13:29 -0700 2008

    If anyone is interested, I’m working on a command-line tool to post Gists here.

    trey Tue Jul 22 09:17:00 -0700 2008

    Every time I delete a gist like ichverstehe mentioned, I get this gist in my /mine list: http://gist.github.com/347

    hans Tue Jul 22 09:20:54 -0700 2008

    Just realized my mistake – I can’t make this commandline tool unless there’s an API. Sorry, guys. Was thinking about using Net::HTTP, but I’d need to get cookies for that to work.

    defunkt Tue Jul 22 09:35:37 -0700 2008

    @hansengel API coming soon!

    hans Tue Jul 22 10:08:14 -0700 2008

    @defunkt Awesome. :P

    dag Tue Jul 22 13:22:37 -0700 2008

    @hansengel GitHub not enforcing a CAPTCHA on the login, there’s nothing stopping you from getting such cookies with Net::HTTP. Even easier: WWW::Mechanize.

    fczuardi Tue Jul 22 13:52:08 -0700 2008

    This is great! Can’t wait for the API and/or Textmate integration! :)

    pieter Wed Jul 23 00:46:44 -0700 2008

    I made a command-line paste script at http://gist.github.com/1059

    gaubert Wed Jul 23 07:30:23 -0700 2008

    thanks again for all you did. Once we will have the little javascript helper it will be perfect.

    hotchpotch Wed Jul 23 20:06:28 -0700 2008

    This is great!!

    I’ll management my greasemonkey scripts.

    I hope that raw download name concat filename, because greasemonkey scripts require extname ‘.user.js’.

    example: http://gist.github.com/raw/1952/a5b92ec9ec7430f3c3b5e69ee4e5f6d173f35df8?gist_link_user_js.user.js

    And I hope that head raw download links. http://gist.github.com/raw/1952/HEAD

    dbr Thu Jul 24 10:58:47 -0700 2008

    ..hm, is this by any chance the beginnings of the Git’ified wiki..?

    hans Fri Jul 25 08:44:15 -0700 2008

    I like how Gist has been implemented, but I think one thing could be improved.. instead of using base10 IDs for each Gist, why not convert the IDs to base62 to save space in URLs?

    jkramer Sat Aug 30 09:35:07 -0700 2008

    Here’s another gist paste script using WWW::Mechanize. Have fun.

    http://gist.github.com/8131/

    jkramer Sat Aug 30 09:36:00 -0700 2008

    PS: Write “your-login:your-password” into ~/.gist to make it work.

    Endolith Thu Mar 12 16:00:07 -0700 2009

    Some of us are coming directly to gist.github.com (the “Share” command in Ubiquity) without knowing anything about github.com or git. It seems to me that there is very little explanation or documentation of how to use the site.

    Should we post different Ubiquity commands as different gists, or as different files within a single gist? What’s the difference between gists and github repositories? Is there no way to display the diff between revisions? (Or are we supposed to do that locally with git tools?) etc etc

    dblevins Fri Jul 10 16:30:55 -0700 2009

    None of the command line scripts had all the features, I wanted. Had to write another one: http://github.com/dblevins/gistpaste

    Extremely full featured and well documented.

    willis222 Sun Nov 01 19:08:05 -0800 2009

    it is certainly good to have pasting tool. Just makes the work easier and more efficient since you don;t have to write everything twice. free classified ads |jobs |bathroom vanities

    Please log in to comment.