Skip to content

Instantly share code, notes, and snippets.

View chgeuer's full-sized avatar
🏠
Working from Düsseldorf

Dr. Christian Geuer-Pollmann chgeuer

🏠
Working from Düsseldorf
View GitHub Profile
@chgeuer
chgeuer / llm-wiki.md
Created April 4, 2026 20:03 — forked from karpathy/llm-wiki.md
llm-wiki

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.

WhatsApp Gateway — Architecture Design Specification

AMQP 1.0 as Local IPC Protocol

Version: 0.1.0-draft Status: Draft Author: Christian Date: February 2026


  • 5 years old: Mum knows everything!
  • 7 years old: Mum knows.
  • 10 years old: Maybe Mum doesn’t know?!
  • 12 years old: Mum doesn’t know.
  • 14 years old: Mum's gone crazy!
  • 16 years old: Can’t take Mum seriously.
  • 18 years old: What does Mum know?!
  • 22 years old: Mum's talking rubbish!
  • 24 years old: I know more than Mum!
  • 26 years old: Mum seems to know some things after all.
# Quake III algorithm - Fast inverse square root using binary pattern matching
```elixir
Mix.install([
{:kino, "~> 0.17.0"}
])
```
## Section

Cornix Keyboard Build Guide

Complete setup guide for building ZMK firmware for the Cornix split ergonomic keyboard on Arch Linux.

Fresh Arch Linux Setup

1. Install Required Packages

# Core development tools and dependencies
sudo pacman -S base-devel git cmake ninja dtc python python-pip wget xz dfu-util

Rendevouz hashing

Mix.install([
  {:combination, "~> 0.0.3"}
], consolidate_protocols: false)

Section

Visualize primary and replicas (inspired by Waterpark)

Mix.install([
  {:kino, "~> 0.16.1"}
], consolidate_protocols: false)

Library modules

Enroll TS3

boltctl enroll --policy=auto --chain cd010000-0070-6d18-234c-b38ed643e102

/boot/loader/entries/linux-ts4.conf

title   Arch Linux (TS3 support)
linux   /vmlinuz-linux
initrd  /initramfs-linux.img
IO.puts("Using .iex.exs file loaded from #{__DIR__}/.iex.exs")
defmodule Util do
def iex(n), do: IEx.Helpers.v(n)
def atom_status do
limit = :erlang.system_info(:atom_limit)
count = :erlang.system_info(:atom_count)
IO.puts("Currently using #{count} / #{limit} atoms")
end

Entra Domains

Mix.install([
  {:req, "~> 0.5.8"}
])

Libraries