CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Wed, 30 Jul 2025 20:23:51 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20090206112037
location: https://web.archive.org/web/20090206112037/https://github.com/davglass/gist
server-timing: captures_list;dur=0.822466, exclusion.robots;dur=0.028500, exclusion.robots.policy;dur=0.011340, esindex;dur=0.012659, cdx.remote;dur=30.461531, LoadShardBlock;dur=603.802362, PetaboxLoader3.resolve;dur=278.855907, PetaboxLoader3.datanode;dur=224.228291
x-app-server: wwwb-app215
x-ts: 302
x-tr: 683
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: SERVER=wwwb-app215; path=/
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 301
server: nginx
date: Wed, 30 Jul 2025 20:23:52 GMT
content-type: text/html; charset=utf-8
content-length: 109
x-archive-orig-server: nginx/0.6.31
x-archive-orig-date: Fri, 06 Feb 2009 11:20:28 GMT
x-archive-orig-connection: close
x-archive-orig-status: 301 Moved Permanently
location: https://web.archive.org/web/20090206112037/https://github.com/davglass/gist/tree/master
x-archive-orig-x-runtime: 29ms
x-archive-orig-cache-control: no-cache
x-archive-orig-content-length: 109
cache-control: max-age=1800
memento-datetime: Fri, 06 Feb 2009 11:20:37 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Fri, 06 Feb 2009 11:20:37 GMT", ; rel="memento"; datetime="Fri, 06 Feb 2009 11:20:37 GMT", ; rel="next memento"; datetime="Wed, 04 Mar 2009 13:52:29 GMT", ; rel="last memento"; datetime="Sat, 26 Jul 2025 14:57:15 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 50_8_20090205172913_crawl100-c/50_8_20090206105048_crawl101.arc.gz
server-timing: captures_list;dur=0.570077, exclusion.robots;dur=0.020552, exclusion.robots.policy;dur=0.008969, esindex;dur=0.010200, cdx.remote;dur=250.229627, LoadShardBlock;dur=565.671423, PetaboxLoader3.resolve;dur=843.732318, PetaboxLoader3.datanode;dur=190.105801, load_resource;dur=560.837917
x-app-server: wwwb-app215
x-ts: 301
x-tr: 1413
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Wed, 30 Jul 2025 20:23:53 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: nginx/0.6.31
x-archive-orig-date: Fri, 06 Feb 2009 11:20:29 GMT
x-archive-orig-connection: close
x-archive-orig-status: 200 OK
x-archive-orig-x-runtime: 102ms
x-archive-orig-etag: "47019a2e26edf5bb6469541f3a15d890"
x-archive-orig-cache-control: private, max-age=0, must-revalidate
x-archive-orig-content-length: 15846
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Fri, 06 Feb 2009 11:20:37 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Thu, 29 Jan 2009 11:59:35 GMT", ; rel="prev memento"; datetime="Mon, 02 Feb 2009 09:23:55 GMT", ; rel="memento"; datetime="Fri, 06 Feb 2009 11:20:37 GMT", ; rel="next memento"; datetime="Sat, 28 Feb 2009 23:52:17 GMT", ; rel="last memento"; datetime="Sun, 11 Mar 2012 17:39:52 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 50_8_20090205172913_crawl100-c/50_8_20090206105048_crawl101.arc.gz
server-timing: captures_list;dur=0.608537, exclusion.robots;dur=0.019526, exclusion.robots.policy;dur=0.009529, esindex;dur=0.011571, cdx.remote;dur=16.449958, LoadShardBlock;dur=256.712262, PetaboxLoader3.datanode;dur=208.005210, PetaboxLoader3.resolve;dur=151.496733, load_resource;dur=116.120739
x-app-server: wwwb-app215
x-ts: 200
x-tr: 447
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
davglass's gist at master - GitHub
This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (

This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (

Fork of defunkt/gist | |
Description: | Absolutely the best command line gister. |
Clone URL: |
git://github.com/davglass/gist.git
Give this clone URL to anyone.
git clone git://github.com/davglass/gist.git
|
gist /
name | age | message | |
---|---|---|---|
![]() |
3.0/ | Thu Jan 29 13:49:35 -0800 2009 | Updated README, added --public flag and made --... [JeremyBanks] |
![]() |
LICENSE | Thu Oct 30 11:11:58 -0700 2008 | MIT [defunkt] |
![]() |
README.markdown | Mon Jan 26 20:02:40 -0800 2009 | Updated README [davglass] |
![]() |
gist.py | Mon Jan 26 19:58:06 -0800 2009 | Added -d for debug and added support for passin... [davglass] |
Gist: The Script
Works great with Gist: The Website.
Ported the Ruby script to Python..
Also supports:
- Passing multiple files as arguments
- Optionally Read from STDIN
- Auto file type detection via ext
- Read support and clone support
Installation
You need to set the GitHub config options to use this properly:
https://github.com/guides/local-github-config
curl https://github.com/davglass/gist/raw/master/gist.py?raw=true > gist
chmod 755 gist
sudo mv gist /usr/local/bin/gist
Usage
#Creates a new Gist
gist file.txt file2.js file3.html
#STDIN - Giving an extension
gist -e .js < myfile
#Debugging - This will print the Gist and not send it
gist -d -e .js < myfile
#Pull the Gist #12345
gist -r 12345
#Clone the Gist #12345
gist -r 12345 -c
Vim shortcut Key
Add these lines to your .vimrc file and you have a new shortcut: Shift + F9 will write the file and create a Gist from it
" Make a Gist of this file..
map <S-F9> :w<CR> :!gist %<CR>
TODO
- Add directory support
This feature is coming soon. Sit tight!