Skip to content

Instantly share code, notes, and snippets.

View eyy's full-sized avatar

Etai Peretz eyy

  • Israel
View GitHub Profile
@reusee
reusee / gist:3723451
Created September 14, 2012 17:41
image viewer written by golang
package main
import (
"fmt"
sf "gosfml2"
"time"
"path/filepath"
"os"
"flag"
"math/rand"
@staltz
staltz / introrx.md
Last active May 11, 2025 22:46
The introduction to Reactive Programming you've been missing
@paulirish
paulirish / bling.js
Last active May 10, 2025 11:02
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)); };
@jojojojojoj5564656465465
jojojojojoj5564656465465 / unocss.config.ts
Last active September 25, 2024 07:51
unocss config shortcuts rules best rules shortcut based on tailwind
import {
defineConfig,
presetAttributify,
presetIcons,
presetTagify,
presetWind,
transformerDirectives,
transformerVariantGroup,
} from "unocss";
//import fs from "node:fs/promises";