Discover gists
| """A quick benchmark comparing how quickly `__init__` with default values runs | |
| for various dataclass-like libraries. | |
| We also compare against the time it takes to initialize a `dict` or `tuple` | |
| with the same data, as a "low-bar" for pure-python implementations. | |
| """ | |
| import timeit | |
| import attrs |
Not a real game but a nice CSS-only simulation of Mario world
A Pen by Temani Afif on CodePen.
REPO HERE: https://github.com/tandpfun/wardrobe
name: extract-clothing-cutouts description: Extract high-quality, deduplicated transparent ecommerce clothing cutouts from a folder of photographs where people wear one or more garments. Use when Codex must find outfit or model photos, identify unique clothing across images, create focused references, reconstruct complete garments with Imagegen, remove a solid chroma background into RGBA PNGs, and output only the finished clothing images into a new folder under the current working directory.
Turn photographs of worn clothing into source-faithful standalone catalog PNGs. Treat each result as a reconstruction from visible evidence, not literal segmentation whenever the wearer or another layer occludes part of the garment.
Automate the entire UGC ad creation workflow: character generation, image creation, and video production. No tab switching, no copy-pasting, no manual clicking. One command, full pipeline.
Claude Code is an AI assistant that runs in your terminal. Combined with Playwright MCP (a tool that gives Claude control over a real browser) and a library of custom skills, it can:
| // ==UserScript== | |
| // @name DarkReader | |
| // @match *://*/* | |
| // @grant none | |
| // @run-at document-start | |
| // ==/UserScript== | |
| // MIT License | |
| // Copyright (c) 2019 Alexander Shutau |
Some notes and tools for reverse engineering / deobfuscating / unminifying obfuscated web app code.
| #!/usr/bin/env bash | |
| # ~/.claude/hooks/enforce-builtin-tools.sh | |
| # | |
| # PreToolUse hook: blocks file-inspection shell commands and redirects | |
| # Claude to use the appropriate built-in Claude Code tool instead. | |
| # | |
| # Install: | |
| # mkdir -p ~/.claude/hooks | |
| # cp enforce-builtin-tools.sh ~/.claude/hooks/ | |
| # chmod +x ~/.claude/hooks/enforce-builtin-tools.sh |
