I hereby claim:
- I am schacon on github.
- I am scottchacon (https://keybase.io/scottchacon) on keybase.
- I have a public key ASAcTJsFnTw59Ncpg1Bax0VQ1yH1B3N2MQaDHsadrT95aAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#! /usr/bin/env ruby | |
require 'rubygems' | |
require 'oily_png' | |
Dir.glob("book/**/*.png").each do |file| | |
puts file | |
image = ChunkyPNG::Image.from_file(file) | |
p image.width | |
p image.height | |
if image.width > 800 || image.height > 800 |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
dfg |
HTTP transfer protocols | |
======================= | |
Git supports two HTTP based transfer protocols. A "dumb" protocol | |
which requires only a standard HTTP server on the server end of the | |
connection, and a "smart" protocol which requires a Git aware CGI | |
(or server module). This document describes both protocols. | |
As a design feature smart clients can automatically upgrade "dumb" | |
protocol URLs to smart URLs. This permits all users to have the |
Welcome to the second annual Personal Democracy Forum. It’s great to see so many familiar faces from last year’s forum, and to greet so many new folks who are here. It seems our blog-ads on Jeff Gannon’s website paid off.
We’re putting on our conference today in cooperation with the Continuing Education and Public Programs at the Graduate Center of the City University of New York. Thank you David Levine and your whole staff here at CUNY, you’ve been fantastic.
I also want to take a moment to thank the terrific and talented PDF staff for putting together a program interesting and provocative enough to get a room full of techies to put down their Berries and Treos for the better part of a day: Hart Hooton, Dawn Barber, Jen Vento, Isabel Walcott, and our executive editor, Micah Sifry. In particular, I’d like to single out Anthony Russomano and Elizabeth Caputo for their tireless efforts to make today a success
And a special thanks to our distinguished group of sponsors: Google, Burson-Marsteller, Echoditto, E
Mirror/unmirror displays: ⌘-F1 or ⌘-fn-1 | |
Switch presenter display: x |
{ | |
"hands": [ | |
{ | |
"direction": [ | |
0.187837, | |
0.097272, | |
-0.976745 | |
], | |
"id": 3, | |
"palmNormal": [ |
#! /usr/bin/env ruby | |
# | |
# ruby upload.rb user pass user/repo file '(description)' | |
# | |
require 'json' | |
if ARGV.size < 4 | |
puts "\nUSAGE: upload.rb [user] [pass] [user/repo] [filepath] ('description')" | |
exit |
# sh get_token.sh user pass | |
curl -s -d '{"scopes":["repo"],"note":"admin script"}' -u "$1:$2" -XPOST https://api.github.com/authorizations | grep token |