I hereby claim:
- I am colingourlay on github.
- I am colingourlay (https://keybase.io/colingourlay) on keybase.
- I have a public key whose fingerprint is B491 C16D 2665 A596 4678 1F39 A05D E064 F67F 672F
To claim this, I am signing this object:
function flat(fn) { | |
return function (...args) { | |
return new Promise((resolve, reject) => { | |
fn.call(this, {resolve, reject}, ...args); | |
}); | |
}; | |
} |
[xyz] { content: url(../); } |
const Y = f => (x => x(x))(x => f(y => x(x)(y))); | |
const manufacture = Y(f => x => x.length > 1 ? f([x[1](x[0])].concat(x.slice(2))) : x[0]); | |
const stage = x => y => manufacture([y].concat(x)); | |
const operations = [ | |
x => x + 1, | |
x => x * 3, | |
x => x - 2 | |
]; | |
const transform = stage(operations); |
require('pointer-css-variables')(true); | |
var height; | |
var nextHeight = window.innerHeight; | |
window.requestAnimationFrame(function updateHeight () { | |
if (nextHeight !== height) { | |
height = nextHeight; | |
document.documentElement.style.setProperty('--window-inner-height', height); | |
} |
require('pointer-css-variables')(); | |
// Look at <head> tab to see CSS using variables | |
// to display coordinates at the cursor |
const chooet = require('chooet'); | |
const html = require('chooet/html'); | |
chooet(choo => { | |
app = choo(); | |
app.model({ | |
state: { title: 'Not quite set yet' }, | |
reducers: { | |
update: (data, state) => ({ title: data }) |
const chooet = require('chooet'); | |
const html = require('chooet/html'); | |
chooet(choo => { | |
app = choo(); | |
app.model({ | |
state: { title: 'Not quite set yet' }, | |
reducers: { | |
update: (data, state) => ({ title: data }) |
I hereby claim:
To claim this, I am signing this object:
(function(x,y,z){(x[y]&&x[y](z))||z()})(window,'requestIdleCallback',function(){ | |
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ | |
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), | |
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) | |
})(window,document,'script','//www.google-analytics.com/analytics.js','ga'); | |
ga('create', 'UA-XXXXX-X', 'auto'); | |
ga('send', 'pageview'); | |
}); |