Skip to content

Instantly share code, notes, and snippets.

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.

@levid0s
levid0s / proxmox_extend_disk.sh
Last active April 20, 2026 03:07
Proxmox Extend Host Disk
###
### Extend Host Disk Partition
###
# https://command-not-found.com/growpart
# https://forum.proxmox.com/threads/change-host-disks-how-resize-partition.90729/
apt-get install cloud-utils
growpart /dev/sda 3
pvresize /dev/sda3
-accesscode -
-batterytestmode - rapidly cycle battery percentages for testing
-bigpicture - Start in Steam Big Picture mode
-browser-offline -
-cafeapplaunch - Launch apps in a cyber cafe context
-candidates - Show libjingle candidates for local connection as they are processed
-ccsyntax - Spew details about the localized strings we load
-cef-allow-browser-underlay - Allow webhelper to create BrowserView underlays
-cef-delaypageload - Enable early-out for known page loads
-cef-disable-breakpad - disables breakpad in crash dumps
@yrevar
yrevar / imagenet1000_clsidx_to_labels.txt
Last active April 20, 2026 03:04
text: imagenet 1000 class idx to human readable labels (Fox, E., & Guestrin, C. (n.d.). Coursera Machine Learning Specialization.)
{0: 'tench, Tinca tinca',
1: 'goldfish, Carassius auratus',
2: 'great white shark, white shark, man-eater, man-eating shark, Carcharodon carcharias',
3: 'tiger shark, Galeocerdo cuvieri',
4: 'hammerhead, hammerhead shark',
5: 'electric ray, crampfish, numbfish, torpedo',
6: 'stingray',
7: 'cock',
8: 'hen',
9: 'ostrich, Struthio camelus',
/*
* Copyright 2026 Kyriakos Georgiopoulos
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE
*
* Unless required by applicable law or agreed to in writing, software
@flixtor
flixtor / installtigervnc.sh
Created October 9, 2022 11:26
EndeavourOS & Arch linux VNC server setup
# This install needed tigervnc
sudo pacman -S tigervnc
# Password must be 6 char at minimum
vncpasswd
# Look in the vncserver.userfile on how to add new user, pretty simple.
sudo nano /etc/tigervnc/vncserver.users
# If 'sudo cat' is not working, just write 'sudo nano' instead and copy/paste the rest into the file.