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.

ls - The most frequently used command in Linux to list directories
pwd - Print working directory command in Linux
cd - Linux command to navigate through directories
mkdir - Command used to create directories in Linux
mv - Move or rename files in Linux
cp - Similar usage as mv but for copying files in Linux
rm - Delete files or directories
touch - Create blank/empty files
ln - Create symbolic links (shortcuts) to other files
cat - Display file contents on the terminal
-- GROUP BY Examples in SQL
-- =============================================
-- This file demonstrates various examples of using GROUP BY in SQL queries
-- for data summarization and aggregation operations.
-- Database Setup
-- =============================================
CREATE DATABASE db_for_group_by;
USE db_for_group_by;
@ppworks
ppworks / nginx
Created February 15, 2012 03:04
add nginx configure option "--with-http_gzip_static_module"
require 'formula'
class Nginx < Formula
homepage 'http://nginx.org/'
url 'http://nginx.org/download/nginx-1.0.12.tar.gz'
md5 'd0ceefeb2a68ecb19e78ee894a5b52a3'
devel do
url 'http://nginx.org/download/nginx-1.1.14.tar.gz'
md5 '16d523e395778ef35b49a2fa6ad18af0'
@AKCodez
AKCodez / claude-code-statusline-guide.md
Last active September 13, 2026 03:26
Claude Code Status Line - Complete Guide: all fields, config, ready-to-use scripts

Claude Code Status Line - Complete Guide: all fields, config, ready-to-use scripts

Claude Code Status Line — Complete Guide

A persistent, customizable bar at the bottom of Claude Code that shows real-time session data.

image
@MuttakinHasib
MuttakinHasib / create-win11-bootable-usb-macos.md
Created August 11, 2025 01:14
Create a Windows 11 Bootable USB (GPT/UEFI) on macOS

Create a Windows 11 Bootable USB (GPT/UEFI) Using macOS

This guide helps you create a Windows 11 installer USB that boots in UEFI/GPT mode using only macOS tools. No Windows PC required.


Prerequisites

  • Windows 11 ISO (Download from Microsoft)
  • USB flash drive (≥16 GB, all data will be erased)
@KirillLykov
KirillLykov / system-performance.md
Last active September 13, 2026 02:41
Systems performance book by B. Gregg

Summary for Systems Performance book by Brendan Gregg

Book it sel on o'reilly

OS-related things

  • Kernel -- software that manages the system by providing access to hardware and other resources (memory, network stack, scheduling cpu, etc). Runs in priveleged CPU mode -- kernel mode. It uses kernel-space stack.
  • Process -- an OS abstraction for running programs. Runs in user mode with access to kernel mode via system calls. It consists of: memory address space, file descriptors, thread stacks, registers. Process uses user-space stacks. For example, syscalls use a s kernel exception stack associated with each thread.
@Youjaeseon
Youjaeseon / I'm a night 🦉
Last active September 13, 2026 01:49
I'm a night 🦉
🌞 Morning 20 commits █▉░░░░░░░░░░░░░░░░░░░ 9.3%
🌆 Daytime 75 commits ███████▎░░░░░░░░░░░░░ 34.9%
🌃 Evening 102 commits █████████▉░░░░░░░░░░░ 47.4%
🌙 Night 18 commits █▊░░░░░░░░░░░░░░░░░░░ 8.4%
@mewforest
mewforest / regular-expressions.md
Last active September 13, 2026 01:39
Шпаргалка по регулярным выражениями

Регулярные выражения

Символы

  • . - любой символ

  • a - символ буквы "a" (тоже и с другими буквами)

  • \n - символ переноса строки

  • \t - символ табуляции

  • \d - все числа, тоже что и [0-9]