Skip to content

Instantly share code, notes, and snippets.

View kpprt's full-sized avatar

Christian Kauppert kpprt

View GitHub Profile

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.

@koral--
koral-- / create-full-ramdisk.sh
Last active June 26, 2019 12:53
Snippets for blog post about /dev/full alternative on OS X http://www.thedroidsonroids.com/blog/dev-full-osx/
#!/usr/bin/env bash
VOLUME=FULL_DISK
DEVICE=$(hdiutil attach -nomount ram://64)
diskutil erasevolume MS-DOS ${VOLUME} ${DEVICE}
touch "/Volumes/${VOLUME}/full"
cat /dev/zero > "/Volumes/${VOLUME}/space"
@adamawolf
adamawolf / Apple_mobile_device_types.txt
Last active August 20, 2026 12:08
List of Apple's mobile device codes types a.k.a. machine ids (e.g. `iPhone1,1`, `Watch1,1`, etc.) and their matching product names
i386 : iPhone Simulator
x86_64 : iPhone Simulator
arm64 : iPhone Simulator
iPhone1,1 : iPhone
iPhone1,2 : iPhone 3G
iPhone2,1 : iPhone 3GS
iPhone3,1 : iPhone 4
iPhone3,2 : iPhone 4 GSM Rev A
iPhone3,3 : iPhone 4 CDMA
iPhone4,1 : iPhone 4S