Skip to content

Instantly share code, notes, and snippets.

View Yatekii's full-sized avatar

Noah Hüsser Yatekii

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.

@sorny
sorny / x11_forwarding_macos_docker.md
Last active May 5, 2026 19:46
X11 forwarding with macOS and Docker

X11 forwarding on macOS and docker

A quick guide on how to setup X11 forwarding on macOS when using docker containers requiring a DISPLAY. Works on both Intel and M1 macs!

This guide was tested on:

  • macOS Catalina 10.15.4
  • docker desktop 2.2.0.5 (43884) - stable release
  • XQuartz 2.7.11 (xorg-server 1.18.4)
  • Macbook Pro (Intel)
@Yatekii
Yatekii / convert-gitlab-export.sh
Created November 7, 2018 09:19
Rewrites the version number inside a Gitlab export since Gitlab is too retarded to import "older" projects even when there is no issue importing them at all
# Usage:
# ./convert-gitlab-export.sh export.tar.gz 'version.number.string'
mkdir project_export
tar xfv $1 -C project_export
cd project_export
echo $2 > VERSION
tar czf ready-$1 *
cd ..
mv project_export/ready-$1 .
@thennequin
thennequin / PieMenu.cpp
Last active August 30, 2025 15:29
PieMenuAdv
struct PieMenuContext
{
static const int c_iMaxPieMenuStack = 8;
static const int c_iMaxPieItemCount = 12;
static const int c_iRadiusEmpty = 30;
static const int c_iRadiusMin = 30;
static const int c_iMinItemCount = 3;
static const int c_iMinItemCountPerLevel = 3;
struct PieMenu