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.

@whitequark
whitequark / meow.md
Last active May 16, 2026 03:42
reverse engineering tools

"%" means not tested by me personally.

Reference material

Disassemblers and decompilers

  • Binary Ninja: interactive native code disassembler, decompiler, and debugger
  • when building, replace the BN SDK it downloads with a path to BN API library
@ngupta23
ngupta23 / pycaret_ts_architecture.ipynb
Last active May 16, 2026 03:39
pycaret_ts_architecture.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@sourcerebels
sourcerebels / ts-mokito-sample.ts
Created September 24, 2017 13:05
ts-mokito-sample.ts
import { mock, instance, when, verify, anyString, anyOfClass } from 'ts-mockito';
import { RequestOptions } from '@angular/http';
import { HttpService } from '../common/http/http.service';
import { LoginService } from './login.service';
import { RouterTestingModule } from '@angular/router/testing';
import { Observable } from 'rxjs';
@heroheman
heroheman / ranger-cheatsheet.md
Last active May 16, 2026 03:34
Ranger Cheatsheet

Ranger Cheatsheet

General

Shortcut Description
ranger Start Ranger
Q Quit Ranger
R Reload current directory
? Ranger Manpages / Shortcuts
@mflatischler
mflatischler / setting-up-msysgit-and-gpg4win.md
Last active May 16, 2026 03:33
Setting up Git for Windows and Gpg4win (WIP)

Setting up [Git for Windows] and [Gpg4win]

This article will help you set up your development environment with git and gpg to sign your commits and manage your gpg keys for different personas.

This article will not guide you step by step to install the programms needed, explain how gpg works nor will it tell you why you should sign your git commits.

Prerequisites

@adammyhre
adammyhre / Processor.cs
Created November 23, 2025 10:36
Generic Processing Chains
using System;
using UnityEngine;
public interface IProcessor<in TIn, out TOut> {
TOut Process(TIn input);
}
public delegate TOut ProcessorDelegate<in TIn, out TOut>(TIn input);
public class ThresholdFilter : IProcessor<float, bool> {