Skip to content

Instantly share code, notes, and snippets.

@elchininet
elchininet / kiosk-mode.js
Last active April 9, 2025 17:15
Compiled Kiosk-mode library with the latest code in master.
(function () {
'use strict';
var __assign = function() {
__assign = Object.assign || function __assign(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
}
return t;
@ibejohn818
ibejohn818 / Dockerfile
Created May 13, 2018 01:58
MP4Box Docker
FROM alpine:3.6 AS gpac_builder
WORKDIR /app
RUN apk update && \
apk add --no-cache \
wget \
g++ \
make \
&& \
@paulirish
paulirish / bling.js
Last active July 23, 2025 07:08
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)); };