Skip to content

Instantly share code, notes, and snippets.

@baranok
baranok / queue.js
Created March 10, 2016 11:33 — forked from alfredwesterveld/queue.js
Queue
/*jslint node: true, maxerr: 50, indent: 4 */
(function () {
"use strict";
var EventEmitter = require('events').EventEmitter,
Queue = module.exports = function Queue() {
/* Constructor is doing work..??
*/
var _emitter = this._emitter = new EventEmitter(),
_awaiting = this._awaiting = [],
@baranok
baranok / css-var-polyfill.js
Created June 29, 2017 19:21
CSS Variable Polyfill
/*
TODO:
- Option to wait to apply anything until all <link>s are parsed or inject what we have and update as each <link> returns
*/
var cssVarPoly = {
init: function() {
if (window.CSS && window.CSS.supports && window.CSS.supports('(--foo: red)')) {
return;
}
cssVarPoly.ratifiedVars = {};
@baranok
baranok / potions.txt
Created October 29, 2018 23:00 — forked from twilight-sparkle-irl/potions.txt
a...list of potion names?
Malevolent
Rudimentary body potion
Oculus Potion
Ever
Hermadeye Glo Poils
Rano Potion
Grand Potion
Solution Antidote
Befuddlemishing Potion Potion
Girding Potion
@baranok
baranok / names.txt
Created October 29, 2018 23:36 — forked from tdantas/names.txt
names
MARY
PATRICIA
LINDA
BARBARA
ELIZABETH
JENNIFER
MARIA
SUSAN
MARGARET
DOROTHY