Skip to content

Instantly share code, notes, and snippets.

View angus-c's full-sized avatar

angus croll angus-c

View GitHub Profile
@angus-c
angus-c / sleepSpeakMemory
Last active August 29, 2015 13:57
9 year-old Vladimir Nabokov trying to fall asleep (from Speak, Memory)
Now she has entered her room. A brisk interchange of light values tells me that the candle on her bed table takes over the job of the ceiling cluster of bulbs, which, having run up with a couple of clicks two additional steps of natural, and then supernatural, brightness, clicks off altogether. My line of light is still there, but it has grown old and wan, and flickers whenever Mademoiselle makes her bed creak by moving. For I still hear her. Now it is a silvery rustle spelling "Suchard"; now the trk-trk-trk of a fruit knife cutting the pages of La Revue des Deux Mondes. [...] I am in acute distress, desperately trying to coax sleep, opening my eyes every few seconds to check the faded gleam [...].
The inevitable happens: the pince-nez case shuts with a snap, the review shuffles onto the marble of the bed table, and gustily Mademoiselle's pursed lips blow; the first attempt fails, a groggy flame squirms and ducks; then comes a second lunge, and light collapses. In that pitchy blackness [...] finally my

So long as you write what you wish to write, that is all that matters; but to sacrifice a hair of the head of your vision, a shade of its colour, in deference to some professor with a measuring-rod up his sleeve, is the most abject treachery...

– Virginia Woolf on breaking the rules.

@angus-c
angus-c / index.html
Created September 22, 2014 04:18
A Bouncing Ball // source http://jsbin.com/figotoreqoxe/83
<!DOCTYPE html>
<html>
<head>
<title>A Bouncing Ball</title>
</head>
<body>
<canvas id="canvas" width="300" height="300"></canvas>
<input id="delay" type="range" max="2000" value="10"/>
@angus-c
angus-c / index.html
Created September 23, 2014 16:39
A Bouncing Ball // source http://jsbin.com/hidori/11
<!DOCTYPE html>
<html>
<head>
<title>A Bouncing Ball</title>
</head>
<body>
<canvas id="canvas" width="300" height="300"></canvas>
<input id="delay" type="range" max="2000" value="10"/>
@angus-c
angus-c / index.html
Created September 25, 2014 05:05
A Bouncing Ball // source http://jsbin.com/hidori/75
<!DOCTYPE html>
<html>
<head>
<title>A Bouncing Ball</title>
</head>
<body>
<canvas id="canvas" width="300" height="300"></canvas>
<input id="delay" type="range" max="2000" value="10"/>
<!DOCTYPE html>
<html>
<head>
<script src="http://code.jquery.com/jquery-2.1.1.min.js"></script>
<script src="http://code.jquery.com/jquery-git2.js"></script>
<title>bouncer</title>
</head>
<body>
<svg id="box" style="border: 1px solid; width: 200px; height: 200px" height="100%"></svg>
@angus-c
angus-c / index.js
Last active August 29, 2015 14:08
requirebin sketch
var reflux = require('reflux');
console.log(reflux.createAction);
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>JS Bin</title>
</head>
<body>
<script id="jsbin-javascript">
function compose(f,g) {
<!DOCTYPE html>
<html>
<head>
<script src="http://code.jquery.com/jquery-2.1.1.min.js"></script>
<script src="http://code.jquery.com/jquery-git2.js"></script>
<title>bouncer</title>
</head>
<body>
<svg id="box" class="space" style="border: 1px solid; width: 400px; height: 400px" height="100%"></svg>
<!DOCTYPE html>
<html>
<head>
<script src="http://code.jquery.com/jquery-2.1.1.min.js"></script>
<script src="http://code.jquery.com/jquery-git2.js"></script>
<title>bouncer</title>
</head>
<body>
<svg id="box" class="space" style="border: 1px solid; width: 400px; height: 400px" height="100%"></svg>