- Crate & Barrel purple beach towel
- Subway graffiti book
- Grid systems
- Contemporary art Kristine stiles
- Perez
- Robert Irwin
- Panofsky
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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; }')); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;(function(window, undefined) { | |
'use strict'; | |
var SomeObj = function(opts) { | |
if (opts.whatever) this.isWhatever = true; | |
// do some constructor stuff | |
this.init(opts.thing); | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> var foo = function() { return foo; } | |
undefined | |
> foo | |
function () { return foo; } | |
> foo() | |
function () { return foo; } | |
> foo()() === foo()()()()()()()() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <assert.h> | |
#include <stdio.h> | |
#include <cairo.h> | |
#define PIXEL_SIZE 50 | |
void draw_to_file(const char *filename) | |
{ | |
assert(filename != NULL); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <assert.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
typedef struct node { | |
char *str; | |
struct node *next; | |
} Node; | |
/* list */ |
NewerOlder