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.

@stolendata
stolendata / firefoxramcache.md
Created December 9, 2022 19:52
Disable disk cache in Firefox

Go to the Privacy & Security configuration panel and clear all cached web content, then go to the advanced configuration panel - by entering about:config in the address bar - and change as follows:

browser.cache.disk.enable → false

browser.cache.disk.smart_size.enabled → false

browser.cache.disk_cache_ssl → false

browser.cache.offline.enable → false

@AcrylonitrileButadieneStyrene
AcrylonitrileButadieneStyrene / yno_sss_restore.user.js
Last active December 6, 2026 05:18
YNO Restore Share Screenshot
// ==UserScript==
// @name YNO Restore Share Screenshot
// @match *://ynoproject.net/*
// @version 0.1.3
// @grant unsafeWindow
// @run-at document-start
// ==/UserScript==
let count = 0;
const interval = setInterval(() => {
@zatsepinvl
zatsepinvl / summary-clean-coder.md
Last active December 6, 2026 04:59
Summery of "The Clean Coder" by Robert C. Martin

Summery of "The Clean Coder" by Robert C. Martin

This list of main statements from the book serves for quick look up after reading to refresh the memory. This list doesn't try to substitute reading the book. Reading the book is necessary to understand some points and eliminate possible ambiguity.

1. Professionalism

Taking Responsibility

  • Take responsibility and accountability.
@plembo
plembo / debianvmvirtinst.md
Last active December 6, 2026 04:55
Install a Debian VM using virt-install

Installing a Debian VM with virt-install on KVM (libvirtd)

This turned out to be easier than I thought it would, especially after struggling with Ubuntu.

Both procedures use a common debian.env file to hold environment variables applied in the script.

When installing Debian always be sure to select an apt mirror when prompted, if you don't you'll regret it.

Environment variables

In a file, debian.env:

@cocoabox
cocoabox / nostalgic-dos-text-ui.md
Last active December 6, 2026 04:55
nostalgic text UI (TUI) in DOS

tl;dr

Because I love TextUI, and TextUI in DOS is beautiful and technically non-trivious, I have gathered some information on the internet, and I want to write a small summary of familiar "frameworks" I encountered, their aesthetics and some technical details if available.

While there are many TextUIs, I focus on mainly aesthetics/frameworks that are used by more than one products.

Table of Contents

@qoomon
qoomon / conventional-commits-cheatsheet.md
Last active December 6, 2026 04:52
Conventional Commits Cheatsheet
@sankalpsharmaa
sankalpsharmaa / india-railway-stations.md
Last active December 6, 2026 04:44
Indian Railways Data

Geo-referenced Indian Railways Data

This gist contains the point coordinates for every single railway station in India as well as the entire Indian railway network.

Point and line coordinates are provided in .geojson format.

Sample

Stations:

{ "type": "Feature", "properties": { "FID": 1, "state": "Rajasthan", "code": "BDHL", "name": "Badhal", "zone": "NWR", "address": "Kishangarh Renwal, Rajasthan", "lat": 27.2520587, "long": 75.4516454 }, "bbox": [ 75.45164540001525210755062289536, 27.252058699749227344000246375799, 75.45164540001525210755062289536, 27.252058699749227344000246375799 ], "geometry": { "type": "Point", "coordinates": [ 75.45164540001525210755062289536, 27.252058699749227344000246375799 ] } },
@copyleftdev
copyleftdev / parallel.md
Created August 24, 2024 06:51
GNU Parallel Mastery: The Ultimate Cheat Sheet

🚀 GNU Parallel Mastery: The Ultimate Cheat Sheet

📊 Basic Usage

Command Description Example
parallel echo ::: A B C 🔤 Process items in parallel Output: A, B, C (in any order)
parallel echo {} ::: *.txt 🔍 Use {} as placeholder Echoes names of all .txt files
cat file.txt | parallel echo 📥 Read input from stdin Processes each line of file.txt
parallel -j4 command ::: item1 item2 item3 🔢 Limit to 4 jobs at a time Runs 'command' on items, max 4 parallel
@yovko
yovko / arch_linux_install_notes.md
Last active December 6, 2026 04:28
Arch Linux installation (BTRFS+LUKS2+Limine)