Skip to content

Instantly share code, notes, and snippets.

View drgullin's full-sized avatar
🎯
Focusing

Damir Gubaidullin drgullin

🎯
Focusing
View GitHub Profile
@drgullin
drgullin / interleave.js
Created January 16, 2019 08:43 — forked from MayaLekova/interleave.js
Interleaving of await and promises
async function pr(v) { console.log("pr(" + v + ")"); }
async function f() { for (var i = 0; i < 10; i++) { await pr(i); } return 0; }
function ct(v) { console.log("counter" + v); if (v > 0) Promise.resolve(v - 1).then(ct); }
ct(10); f();
@drgullin
drgullin / css
Last active September 9, 2016 13:07
basic css reset
a,
abbr,
acronym,
address,
applet,
article,
aside,
audio,
b,
big,
@drgullin
drgullin / SassMeister-input-HTML.html
Created April 27, 2015 14:07
Generated by SassMeister.com.
px(16em)