Skip to content

Instantly share code, notes, and snippets.

View mystroken's full-sized avatar
🍊

Mystro Ken mystroken

🍊
View GitHub Profile
@aleclarson
aleclarson / rollup-typescript.md
Last active August 1, 2025 13:38
The best Rollup config for TypeScript libraries

It's 2024. You should use tsup instead of this.


Features

🔥 Blazing fast builds
😇 CommonJS bundle
🌲 .mjs bundle
.d.ts bundle + type-checking

@SuddenDev
SuddenDev / !useLocoScroll.js
Last active October 26, 2022 10:54
React (Gatsby) + Locomotive Scroll + Greensock (Gsap) + Scrolltrigger
// <DIR>/src/hooks/useLocoScroll.js
import gsap from "gsap";
import ScrollTrigger from "gsap/ScrollTrigger";
import { useEffect } from "react";
import LocomotiveScroll from "locomotive-scroll";
// REPLACE THIS WITH YOUR STYLES
import "@styles/locomotive-scroll.scss";
@HoussemNasri
HoussemNasri / BalsamiqForever.py
Last active August 4, 2025 17:09
Extend your trial period for Balsamiq Wireframes on Windows and macOS Forever!
import json
import os
import time
import webbrowser
import sys
import re
def handleWindows(extra_seconds):
print("OS : Windows")