I hereby claim:
- I am cwaring on github.
- I am cwaring (https://keybase.io/cwaring) on keybase.
- I have a public key whose fingerprint is 7DC0 9C46 37E8 16A4 FD00 B9C6 BB51 8294 0748 8886
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
# A bash script to create a time machine disk image suitable for | |
# backups with OS X 10.6 (Snow Leopard) | |
# This script probably only works for me, so try it at your own peril! | |
# Use, distribute, and modify as you see fit but leave this header intact. | |
# (R) sunkid - September 5, 2009 | |
usage () | |
{ | |
echo ${errmsg}"\n" |
$.ajax({ | |
type: "POST", | |
contentType: "application/x-www-form-urlencoded; charset=UTF-8", | |
url: 'toggle_thank_you_emails', | |
data: '_method=put', | |
}); |
var gifs = []; | |
$('a[data-expanded-url]').each(function() { | |
var url = this.getAttribute('data-expanded-url'); | |
if (url.indexOf('.gif') > -1) { | |
var bipper = $(this).closest('p').find('.twitter-atreply').text(); | |
gifs.push('wget -c ' + url + ' -O "' + (bipper ? bipper + ' - ' : '') + url.replace(/^.*[\\\/]/, '') + '";\n') | |
} | |
}); |
#!/bin/sh | |
for dir in * | |
do | |
echo $dir | |
(cd $dir && git pull) | |
done |
We can't wait for LXJS. It's a perfect blend of ideas and people, inspiration and collaboration.
It gives you the chance to choose your own adventure and this year DRIIFT is going to be your electronic sidekick.
We'll greet you at the door, put your name in lights and give you a heat map of the bright sparks: the people, places, workshops and parties.
We're using the latest NFC tech to power-up your lanyards. Awarding digital badges, creating connections and giving you a fast pass to freebies.
#!/bin/bash | |
open=$(which xdg-open 2> /dev/null) | |
if [[ ! $open ]]; then | |
open='open' | |
fi | |
repo=$(git remote -v | grep -m 1 "(push)" | sed -e "s/.*github.com[:/]\(.*\)\.git.*/\1/") | |
branch=$(git name-rev --name-only HEAD) | |
echo "... creating pull request for branch \"$branch\" in \"$repo\"" | |
$open "https://github.com/$repo/compare/dev...$branch?expand=1" |
Meteor.startup(function() { | |
var connect = Meteor.require('connect'); | |
WebApp.connectHandlers.use(connect.basicAuth('un', 'pw')); | |
// move auth to the top of the stack | |
var basicAuth = WebApp.connectHandlers.stack.pop(); | |
WebApp.connectHandlers.stack.unshift(basicAuth); | |
}); |
javascript:(function(){ | |
if(top.document == document) { | |
var msg = document.getElementById("canvas_frame"); | |
if(msg){ | |
subjectEl = msg.contentDocument.getElementsByClassName("hP"); | |
subject = subjectEl[0].innerText; | |
bodyEl = msg.contentDocument.getElementsByClassName("adP"); | |
body = bodyEl[0].innerText; |
<!DOCTYPE html> | |
<html> | |
<head> | |
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.js"></script> | |
<script type="text/javascript" src="http://code.jquery.com/jquery-1.6.2.min.js"></script> | |
<script type="text/javascript" src="jquery.tipsy.js"></script> | |
<link href="tipsy.css" rel="stylesheet" type="text/css" /> | |
</head> | |
<body> | |
<div id="chart"></div> |