Skip to content

Instantly share code, notes, and snippets.

@alisson-anjos
alisson-anjos / README_patch.md
Last active September 20, 2026 01:43
MiniMax-H3 ref2va: aligned video guides (IC-LoRA style v2v) for ai-toolkit

MiniMax-H3 ref2va: aligned video guides (IC-LoRA style v2v)

Adds two flags to ai-toolkit's minimax_h3_ref2va architecture:

  • align_video_refs — a control video becomes a true v2v guide instead of a loose reference: the arrangement that makes LTX-style IC-LoRA training work, applied to H3.
  • control_latent_only — the control media reaches the DiT as latents only and is never shown to the VLM. Faster to train, much smaller embed cache, and it closes a train/inference gap that exists in ComfyUI today.
@valiant-code
valiant-code / IronMon-Rules.md
Last active September 20, 2026 01:42
IronMon Rules

The IronMON Challenge

The IronMon challenge is a Pokémon Randomizer Challenge run created by iateyourpie. Designed to make experiencing the randomizer fun and challenging, while taking away the wild Pokémon grind that come with some other challenges. It was originally made for Fire Red / Leaf Green but the rules can be applied/adjusted for other games as well. If you're interested to find out more about IronMon, join our Discord community!

IronMon has varying levels of difficulties, to keep it more approachable but also provide the toughest challenge possible for those who want it.

@Trebor-Huang
Trebor-Huang / main.agda
Last active September 20, 2026 01:41
A new syntax tree definition that writes like HOAS, but behaves like de Bruijn
-- This construction comes from the paper
-- Contextual Embeddings: Implementing Bound Variables through Instance Resolution
-- https://dl.acm.org/doi/10.1145/3808269
-- I made some improvements specific to Agda.
module _ where
open import Data.Product using (Σ; proj₁; proj₂) renaming (_,_ to _&_)
open import Relation.Binary.PropositionalEquality

Manage Multiple Claude Code Accounts

Run two Claude Code accounts simultaneously on macOS without re-authenticating by using separate configuration directories.

Steps

  1. Create Separate Config Directories
    mkdir ~/.claude-account1
    mkdir ~/.claude-account2
@roverdrubber
roverdrubber / README.md
Created September 18, 2026 18:12
gemmcheck3: self-checking rocBLAS GEMM test (RX 7900 XTX corruption)

gemmcheck3: does your AMD GPU compute GEMMs correctly under load?

A small, self-checking rocBLAS stress test. It runs five matrix multiplies (the shapes of an LLM layer) back to back and checks every output bit for bit against a reference computed at startup. On a healthy GPU it should never find a mismatch.

I wrote it to find out whether my RX 7900 XTX is faulty: on my card it finds whole output columns of NaN within minutes, while OCCT and memtest_vulkan pass. Results from other cards tell me whether it's my card or something shared.

Requirements

  • Linux with ROCm (rocBLAS and hipcc). Builds with ROCm 7.2.4, 7.14.1 and 10.0; the runs so far used 7.14.1.
  • An AMD GPU. Built for gfx1100 (RX 7900 XTX / XT / GRE, W7900, W7800) by default; for other cards use your own target (rocminfo | grep gfx), for example gfx1101 (RX 7800 XT / 7700 XT) or gfx1102 (RX 7600).
@paulirish
paulirish / what-forces-layout.md
Last active September 20, 2026 01:24
What forces layout/reflow. The comprehensive list.

What forces layout / reflow

All of the below properties or methods, when requested/called in JavaScript, will trigger the browser to synchronously calculate the style and layout*. This is also called reflow or layout thrashing, and is common performance bottleneck.

Generally, all APIs that synchronously provide layout metrics will trigger forced reflow / layout. Read on for additional cases and details.

Element APIs

Getting box metrics
  • elem.offsetLeft, elem.offsetTop, elem.offsetWidth, elem.offsetHeight, elem.offsetParent

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active September 20, 2026 01:31
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

@jamiephan
jamiephan / README.md
Last active September 20, 2026 00:56
A script to automatically add ALL items to your account in quixel

Script to add all items from quixel

As quixel is being removed, all items are free to aquire. This script is to automate the process to add items to your account (As of writing, a total of 18874 items)

Note: This script only tested in the latest version of Chrome.

How to use

  1. Copy the script from below (run.js)
  2. Login into https://quixel.com