Skip to content

Instantly share code, notes, and snippets.

@webbower
webbower / interview-coderpad.js
Last active March 4, 2024 01:06
Interviewing utilities
const { isEqual } = require('lodash');
const { bold, yellow, red, green } = require('chalk');
/**
* List of test outcomes
* @type {[('PASS' | 'FAIL'), string][]}
*/
const outcomes = [];
/**
@webbower
webbower / asciimoji.txt
Last active February 21, 2022 01:57
ASCII Emoji Reference
Shrug ¯\_(ツ)_/¯
Googley shrug ¯\(º_o)/¯
Flip all tables ┻━┻ ︵ヽ(`Д´)ノ︵ ┻━┻
Reset table ┬─┬ ノ( ゜-゜ノ)
Cthulhu /|\(;,;)/|\
@paulirish
paulirish / bling.js
Last active May 1, 2024 19:56
bling dot js
/* bling.js */
window.$ = document.querySelectorAll.bind(document);
Node.prototype.on = window.on = function (name, fn) {
this.addEventListener(name, fn);
}
NodeList.prototype.__proto__ = Array.prototype;