Skip to content

Instantly share code, notes, and snippets.

@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
@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 / 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 / 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 / easing-firefox.css
Created August 8, 2015 16:40
Some transition timing funcs from firefox, some custom by me and two animations
.easing.quartic-in {
transition-timing-function: cubic-bezier(0.9,0.03,0.69,0.22);
}
.easing.quintic-in {
transition-timing-function: cubic-bezier(0.76,0.05,0.86,0.06);
}
.easing.exponential-in {
transition-timing-function: cubic-bezier(0.95,0.05,0.8,0.04);
}
.easing.circular-in {
/* Simulates extension box with shadow */
#container {
margin: 30px auto;
background-color: #fbfbfb;
width: 800px;
border: 1px rgba(0, 0, 0, 0.35) solid;
border-bottom-color: rgba(0, 0, 0, 0.43);
border-radius: 3px;
-webkit-box-shadow: 0 1px 0 1px rgba(0,0,0,0.01),
0 1px 0 0px rgba(0,0,0,0.055),
@baranok
baranok / xdebug-monokai.css
Last active November 16, 2022 22:07
theme for php xdebug
/**
*
* XDEBUG - Monokai scheme
*
* Palette:
* #272822 - grayish darkgreen, default background
* #F8F8F2 - ivory white, default font
* #75715E - tan, comment
* #FD971F - orange URLs without commas
* #AE81FF - purple numbers
@baranok
baranok / radialCheckbox.css
Last active August 29, 2015 14:18
radialCheckbox.css - using background-clip way
.checkbox {
display: inline-block;
cursor: pointer;
background: transparent;
background-clip: content-box !important;
box-sizing: content-box;
font-size: 22px; /* size of checkbox */
width: 0.636em;
height: 0.636em;
padding: 0.182em; /* (width + padding * 2) = 22px */
.option{
color: rgb(249,249,249);
height: 2.25rem;
font-size: 1.125em;
padding: 0 .5em;
line-height: 1.8;
margin: 0 0 .825rem 0;
border-radius: .25rem;
box-shadow: inset 0px -.2em 0px 0px rgba(0,0,0,.2), inset 0px 0px 0px 100px rgba(0,0,0,0), 0px .2em 0px 0px rgba(0,0,0,.2);
cursor: pointer;