Skip to content

Instantly share code, notes, and snippets.

@typpo
typpo / BCP47-locales.md
Last active August 24, 2026 20:21
BCP 47 language tags
Language Tag Language Region Description
ar-SA Arabic Saudi Arabia Arabic (Saudi Arabia)
bn-BD Bangla Bangladesh Bangla (Bangladesh)
bn-IN Bangla India Bangla (India)
cs-CZ Czech Czech Republic Czech (Czech Republic)
da-DK Danish Denmark Danish (Denmark)
de-AT German Austria Austrian German
de-CH German Switzerland "Swiss" German
de-DE German Germany

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.

@AlexanderHerlan
AlexanderHerlan / fix-unigetui-install-cargo-update-warning.md
Last active August 24, 2026 20:13
How to fix the "Missing Dependency: UniGetUI requires cargo-update to operate..." UniGetUI message

How to: Fix the "Missing Dependency: UniGetUI requires cargo-update to operate..." message and enable Rust cargo package support on a fresh install of UniGetUI

UniGetUI is a convenient package management tool for Windows 11, that is straight forward to setup and configure, except for when it comes to its support for managing Rust Language Cargo Packages. Rust Cargo Package support requires some extra steps to get working out of the box.

With a fresh install of UniGetUI, upon opening it for the first time, you will be greated with a notification/warning message, informing you that you need to install the missing dependency called "cargo-update" or else UniGetUI will not be able to manage Rust packages for you. However, following the instructions provided in the warning message does not work, and you will continue recieving this warning/error every time you open UniGetUI.

You can find

<?xml version="1.0" encoding="UTF-8"?>
<item>
<version>2.2.0.16</version>
<url>https://www.dropbox.com/scl/fi/yem9wc0txz27qm7n0hzau/QuickQR_Setup.msi?rlkey=w2tsr86p1y6rjtk4qw2xs0tla&amp;st=ez7mzst9&amp;dl=1</url>
<mandatory>false</mandatory>
</item>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>CCESS - DOOM PAYLOAD</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="On this site you can play in DOOM in browser">
<meta name="keywords" content="DOOM">
<meta name="author" content="caiiiycuk">
Product Year Version Product Keys
Visual Studio 2026 18.x
Professional: NVTDK-QB8J9-M28GR-92BPC-BTHXK
Enterprise: VYGRN-WPR22-HG4X3-692BF-QGT2V
https://x.com/massgravel/status/1988306014371008542
Visual Studio 2022 2021 17.x Professional:
TD244-P4NB7-YQ6XK-Y8MMM-YWV2J
Enterprise:
@CodingCellist
CodingCellist / dualboot-arch-windows-encrypted.md
Last active August 24, 2026 19:57
A step-by-step guide to dualbooting encrypted Windows and Arch Linux, using the rEFInd boot mananger.

DISCLAIMER

ENCRYPTING YOUR DRIVE(S) CAN RESULT IN PERMANENT DATA LOSS IF YOU DON'T KNOW WHAT YOU ARE DOING OR YOU FORGET THE PASSWORD. IT IS YOUR (THE READER'S) RESPONSIBILITY TO HAVE BACKUPS SHOULD ANYTHING GO WRONG. Additionally, I am not responsible for any damage you cause to your system by following this guide. You are completely and solely responsible for any changes made and potential damage caused.

I am not an expert on this topic in any way! I just read some wiki pages, had done a dual-boot Arch install before, got inspired by

name alacritty-herdr-keybindings
description How to bind a macOS Command-key (Cmd) shortcut to a herdr action (new or close workspace, new tab, split pane, etc.) when herdr runs inside the Alacritty terminal. Use whenever the user wants to map a Command plus letter combo to a herdr action, add a Cmd shortcut for a herdr workspace, tab, or pane command, or reports that a "cmd+..." herdr keybinding "does not work" or "is not firing" in Alacritty. Covers the correct kitty-keyboard-protocol (CSI-u) technique, why the naive approaches fail, config file locations, reload commands, and how to diagnose with a byte dumper.

Alacritty to herdr Command-key bindings

The core problem

  • herdr is a terminal program running inside Alacritty (program = "/opt/homebrew/bin/herdr" in alacritty.toml).
@BjoernSchilberg
BjoernSchilberg / create_wave_file.c
Created December 23, 2023 19:36
How to Write a Wav File in C
// main.c
// https://www.youtube.com/watch?v=8nOi-0kBv2Y
// gcc create_wave_file.c -o create_wave_file -lm
// or clang create_wave_file.c -lm
#include <math.h>
#include <stdint.h>
#include <string.h>
#include <stdio.h>
@DanielHauschildt
DanielHauschildt / README.md
Last active August 24, 2026 19:49
LTX-2.5 text-to-video locally on Apple Silicon in one command — with audio, no ComfyUI/CUDA. 16x faster than PyTorch-on-MPS (53s vs 853s) via macOS 26 watchdog + eval-guard fixes.

LTX-2.5 on Apple Silicon, one command

Generate video — with audio — locally on your Mac. No ComfyUI, no CUDA. The first run bootstraps everything itself: the MLX runtime, the Python env, and a one-time ~36 GiB weight download.

curl -fsSL https://gist.githubusercontent.com/DanielHauschildt/9ad1d7cef482ed508a121881280b74dd/raw/generate -o generate
chmod +x generate
./generate "A wide shot frames a rainy city intersection at dusk, neon signs reflecting on wet asphalt. A young woman in a yellow raincoat walks toward camera, gripping a folded newspaper, while cars hiss past behind her. Soft synth music and distant traffic fill the air. A hard cut transitions to a medium close-up of her face under the hood, raindrops catching the neon as she looks off-screen left; the synth score continues across the cut, traffic muffled. She whispers, “He's late.” Another hard cut jumps to a low-angle shot of a man's scuffed boots stepping into a puddle at the curb; the music drops to a low drone. He lifts his head