Skip to content

Instantly share code, notes, and snippets.

@elchininet
elchininet / kiosk-mode.js
Last active June 13, 2026 00:17
Compiled Kiosk-mode library with the latest code in master.
(function () {
'use strict';
function __rest(s, e) {
var t = {};
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function")
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
@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 May 2, 2026 11:52
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)); };