Skip to content

Instantly share code, notes, and snippets.

View jschertz's full-sized avatar
💭
🔒

Jason Schertz jschertz

💭
🔒
  • Applied Systems
  • Chicagoland
View GitHub Profile
@glen-cheney
glen-cheney / encoding-video.md
Last active December 1, 2025 21:37
Encoding video for the web

Encoding Video

Installing

Install FFmpeg with homebrew. You'll need to install it with a couple flags for webm and the AAC audio codec.

brew install ffmpeg --with-libvpx --with-libvorbis --with-fdk-aac --with-opus
@paulirish
paulirish / bling.js
Last active September 13, 2025 12:13
bling dot js
/* bling.js */
window.$ = document.querySelector.bind(document);
window.$$ = document.querySelectorAll.bind(document);
Node.prototype.on = window.on = function(name, fn) { this.addEventListener(name, fn); };
NodeList.prototype.__proto__ = Array.prototype;
NodeList.prototype.on = function(name, fn) { this.forEach((elem) => elem.on(name, fn)); };