Skip to content

Instantly share code, notes, and snippets.

@irazasyed
irazasyed / homebrew-permissions-issue.md
Last active August 30, 2026 05:35
Homebrew: Permissions Denied Issue Fix (OS X / macOS)

Homebrew Permissions Denied Issues Solution

sudo chown -R $(whoami) $(brew --prefix)/*

@jcrist
jcrist / bench_init.py
Created January 23, 2023 17:14
A benchmark comparing init performance of various dataclass-like libraries
"""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
@Bonatti123
Bonatti123 / css-only-mario-world-with-keyboard.markdown
Created June 5, 2026 03:42
CSS-only Mario World (with keyboard!)

CSS-only Mario World (with keyboard!)

Not a real game but a nice CSS-only simulation of Mario world

⚠️ Chrome-only ⚠️

A Pen by Temani Afif on CodePen.

License.

@tandpfun
tandpfun / SKILL.md
Last active August 30, 2026 05:31
Extract Clothing Skill

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.

Extract Clothing Cutouts

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.

@AKCodez
AKCodez / claude-code-higgsfield-ugc-guide.md
Created April 13, 2026 18:26
Claude Code + Higgsfield — The Complete UGC Pipeline: Automate AI image & video generation with custom skills and Playwright browser automation

Claude Code + Higgsfield — The Complete UGC Pipeline

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.


Overview

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:

@kfur
kfur / darkreader.js
Last active August 30, 2026 05:28
Dark Reader userscript for Safari browser
// ==UserScript==
// @name DarkReader
// @match *://*/*
// @grant none
// @run-at document-start
// ==/UserScript==
// MIT License
// Copyright (c) 2019 Alexander Shutau
@0xdevalias
0xdevalias / _deobfuscating-unminifying-obfuscated-web-app-code.md
Last active August 30, 2026 05:25
Some notes and tools for reverse engineering / deobfuscating / unminifying obfuscated web app code
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active August 30, 2026 05:25
Complete Recent Discord Quest

Caution

As of August 26th 2026, Discord has started suspending quest access of people caught automating quest completion.

Some users have received the following system message:

image

There isn't much I can do to make the script undetected, so use it at your own risk, as you WILL get flagged by doing so.

Complete Recent Discord Quest

@AlCalzone
AlCalzone / .claude_hooks_enforce-builtin-tools.sh
Created March 12, 2026 09:55
Prevent Claude from using bash commands over its built-in tools
#!/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