Skip to content

Instantly share code, notes, and snippets.

@paulirish
paulirish / bling.js
Last active July 23, 2024 14:51
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;
@webbower
webbower / asciimoji.txt
Last active February 21, 2022 01:57
ASCII Emoji Reference
Shrug ¯\_(ツ)_/¯
Googley shrug ¯\(º_o)/¯
Flip all tables ┻━┻ ︵ヽ(`Д´)ノ︵ ┻━┻
Reset table ┬─┬ ノ( ゜-゜ノ)
Cthulhu /|\(;,;)/|\
@webbower
webbower / interview-coderpad.js
Last active June 20, 2024 21:28
Interviewing utilities
// START: DENO STD colors
// https://jsr.io/@std/fmt/doc
/**
* Builds color code
* @param open
* @param close
*/
const code = (open, close) => ({
open: `\x1b[${open.join(';')}m`,
close: `\x1b[${close}m`,
@webbower
webbower / vim-cheatsheet.md
Last active July 22, 2024 23:24
Vim Learning

Vim Cheatsheet

Motions

Navigation

  • w: Move [] -> next word
  • W: Move [] -> next WORD