Skip to content

Instantly share code, notes, and snippets.

View Canop's full-sized avatar
🦀
Available for missions (design, code, formation,etc.)

Denys Séguret Canop

🦀
Available for missions (design, code, formation,etc.)
View GitHub Profile
@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)); };
@Zirak
Zirak / helloWorld.js
Last active January 21, 2021 18:18
The Hello World of the future
/*
* The Hello World of tomorrow
* Copyright (C) 2012 Scruffy
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,