I hereby claim:
- I am workmajj on github.
- I am workmajj (https://keybase.io/workmajj) on keybase.
- I have a public key whose fingerprint is 8DF4 ACF5 25AA 32C5 171A 5C0F 554F DA51 E136 080A
To claim this, I am signing this object:
#!/usr/bin/env sh | |
# Brubeck install script cribbed from: http://brubeck.io/installing.html | |
# Version numbers and directories. | |
ZMQ_VERSION="2.1.9" | |
VIRTUALENVWRAPPER_SH="/usr/local/bin/virtualenvwrapper.sh" | |
VIRTUALENV_NAME="brubeck" |
#!/usr/bin/env sh | |
# $ ./google-results.sh | |
# Fri Sep 30 15:43:01 EDT 2011|http://www.google.com/search?q=site:amazon.com|360,000,000 | |
# Fri Sep 30 15:43:06 EDT 2011|http://www.google.com/search?q=site:apple.com|46,500,000 | |
# Fri Sep 30 15:43:11 EDT 2011|http://www.google.com/search?q=site:facebook.com|2,600,000,000 | |
# Fri Sep 30 15:43:16 EDT 2011|http://www.google.com/search?q=site:google.com|281,000,000 | |
URLS=( | |
"http://www.google.com/search?q=site:amazon.com" |
// full-source version: | |
javascript:(function(win) { | |
var STEP_SIZE = 200; // px | |
var DELAY = 20; // ms | |
var ease = function(scrollTop) { | |
if (scrollTop <= STEP_SIZE) { | |
win.scroll(0, 0); |
> var foo = function() { return foo; } | |
undefined | |
> foo | |
function () { return foo; } | |
> foo() | |
function () { return foo; } | |
> foo()() === foo()()()()()()()() |
;(function(window, undefined) { | |
'use strict'; | |
var SomeObj = function(opts) { | |
if (opts.whatever) this.isWhatever = true; | |
// do some constructor stuff | |
this.init(opts.thing); | |
}; |
// 0. open url: http://www.apolloarchive.com/apollo_gallery.html | |
// (n.b. all images to be downloaded are in the public domain) | |
// 1. install jquery by running this snippet in the console: | |
var s = document.createElement('script'); | |
s.src = 'https://ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js'; | |
(document.getElementsByTagName('head')[0] || | |
document.getElementsByTagName('body')[0]).appendChild(s); |
// http://www.jwz.org/blog/2013/08/a-light-has-gone-out-on-the-web/ | |
/* full-source version */ | |
;(function(doc, cls) { | |
var TAG = 'blink'; // try changing this to 'a' or 'p' | |
var TIME = 2000; // total loop time (ms) | |
var s = doc.createElement('style'); | |
s.appendChild(doc.createTextNode('.' + cls + ' { visibility: hidden; }')); |
I hereby claim:
To claim this, I am signing this object:
#include <assert.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
typedef struct node { | |
char *str; | |
struct node *next; | |
} Node; | |
/* list */ |
#include <assert.h> | |
#include <stdio.h> | |
#include <cairo.h> | |
#define PIXEL_SIZE 50 | |
void draw_to_file(const char *filename) | |
{ | |
assert(filename != NULL); |