Skip to content

Instantly share code, notes, and snippets.

@MuTLY
MuTLY / keys.txt
Last active November 26, 2026 19:55
Cemu keys
# this file contains keys needed for decryption of disc file system data (WUD/WUX)
# 1 key per line, any text after a '#' character is considered a comment
# the emulator will automatically pick the right key
541b9889519b27d363cd21604b97c67a # example key (can be deleted)
219FCB908520E9912D57444DFC136C23 # The Legend of Zelda: Breath of the Wild
566FCA3A88AA9255456635EDE688FD0B # The Legend of Zelda: Breath of the Wild EU
082fa2981e004defac03524cc685f693 # The Legend of Zelda: Breath of the Wild JPN
@wesbos
wesbos / README.md
Last active November 26, 2026 19:49
Find high-churn folders driving Backblaze bztransmit CPU crazy on macOS

Finding high-churn folders that drive Backblaze's bztransmit crazy

Your Mac's bztransmit is pinning a CPU core. Backblaze's status says a puzzling amount of "remaining files". The cause: some app is churning out thousands of tiny files — mostly caches — and Backblaze is deduping, checksumming and uploading every one of them, all day.

This is a walkthrough of how to find the offenders and exclude them, plus the measured results and the catch nobody mentions (exclusions fix the churn, but not all of the CPU — see the end).

@karpathy
karpathy / microgpt.py
Last active November 26, 2026 19:50
microgpt
"""
The most atomic way to train and run inference for a GPT in pure, dependency-free Python.
This file is the complete algorithm.
Everything else is just efficiency.
@karpathy
"""
import os # os.path.exists
import math # math.log, math.exp
@scruss
scruss / img2blocks.py
Created August 1, 2025 02:09
img2blocks - bitmap to Unicode sextants
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import sys
from PIL import Image
import PIL.ImageOps
import numpy as np
# give usage and exit if no arguments
if len(sys.argv) == 1:

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.

@mutin-sa
mutin-sa / Top_Public_Time_Servers.md
Last active November 26, 2026 19:31
List of Top Public Time Servers

Google Public NTP [AS15169]:

time.google.com

time1.google.com

time2.google.com

time3.google.com

package com.vlsch.designsys.ui.util
import androidx.compose.runtime.Stable
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableIntStateOf
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.setValue
import androidx.compose.runtime.snapshotFlow
import androidx.compose.runtime.withFrameNanos
import androidx.compose.ui.Modifier
name explain-diff-html
description Use when the user asks for a rich explanation of a code change, diff, branch, or PR. Produces HTML output.

Explain Diff

Please make me a rich, interactive explanation of the specified code change.

It should have these sections:

@yan-foto
yan-foto / 0-README.txt
Last active November 26, 2026 19:22
DeDRM Adobe Digital Edition Books
Convenient DeDRM Scripts
-------------------------
**NOTE**: read https://blog.quaintous.com/2021/02/16/remove-drm-from-ebooks/ to find out what this gist is good for.
* ./init.sh: extracts Adobe Digital Editions private key and required files to DeDRM.
* ./dedrm: removes DRM from given ebook (pdf/epub)
If you are using this for the first time, make sure that you have authenticated your Adobe Digital Editions (ADE) and run './init.sh'. Import any DRM-protected file into ADE and run 'dedrm.sh':