View cached-loops.js
const LOOPS = 1e6;
const LEN = 1e3;
function test(fn) {
let i = 0;
const data = new Array(LEN);
const start = Date.now();
for (; i < LOOPS; i++) {
fn(data);
}
View OSX-Dock-Spacers.md

Huh?

Some MacOS users have very cluttered Docks & wish they could organize them without removing any App icons from the mix.

This snippet will add an empty "spacer" that you can drag around and use to separate icons into groups! See example.

Command

Paste this into your Terminal. Run the command for additional placeholders!

View keybase.md

Keybase proof

I hereby claim:

  • I am lukeed on github.
  • I am lukeed (https://keybase.io/lukeed) on keybase.
  • I have a public key whose fingerprint is 34F6 B8EF 7C20 AA3F B07A 441F 18A4 5162 5B88 FB28

To claim this, I am signing this object:

View designer.html
<link rel="import" href="../core-animated-pages/core-animated-pages.html">
<link rel="import" href="../core-animated-pages/transitions/hero-transition.html">
<link rel="import" href="../core-animated-pages/transitions/cross-fade.html">
<link rel="import" href="../core-animated-pages/transitions/slide-down.html">
<link rel="import" href="../core-animated-pages/transitions/slide-up.html">
<link rel="import" href="../core-animated-pages/transitions/tile-cascade.html">
<polymer-element name="my-element">
<template>