Skip to content

Instantly share code, notes, and snippets.

View jorabin's full-sized avatar

Jo jorabin

View GitHub Profile
@jorabin
jorabin / sleep.js
Last active November 13, 2016 22:44
Non blocking inline wait ...
// this used to be hard to do ...
async function sleep(period) {
return new Promise((resolve, reject) => setTimeout(() => resolve(true), period));
}
// ...
await sleep(1000);
@jorabin
jorabin / keybase.md
Created September 6, 2016 13:48
Keybase Proof

Keybase proof

I hereby claim:

  • I am jorabin on github.
  • I am jorabin (https://keybase.io/jorabin) on keybase.
  • I have a public key ASDthTboUahOfC4cU4jmBXLg-bkU8cTxAwPD4eHphjesaAo

To claim this, I am signing this object: