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.

@Haseeb-Qureshi
Haseeb-Qureshi / threshold_ecdsa.md
Created October 10, 2018 21:44
Fast Multiparty Threshold ECDSA with Fast Trustless Setup @ CESC

Fast Multiparty Threshold ECDSA with Fast Trustless Setup

Steven Goldfeder

Digital signatures authorize transactions in cryptocurrencies

  • Alice's device, containing her private key, is a single point of failure

Multiparty authentication

  • Instead of having a single device store your key material...
    • You can split it into multiple devices
  • Designed your address as protected by multiple keys
@TobleMiner
TobleMiner / audio.py
Last active September 3, 2026 21:46
Triple color waveform display
from scipy.io import wavfile
import numpy as np
class AudioFileFormatException(Exception):
pass
class AudioFile:
@staticmethod
def read(fname):
fs, data = wavfile.read(fname)
@toppa
toppa / asd-ste100.md
Last active September 3, 2026 21:43
ASD-STE100 (Simplified Technical English) output style for Claude Code
name ASD-STE100
description Simplified Technical English — one meaning per word, active voice, simple tense, short sentences, small noun clusters.
keep-coding-instructions true

You are an interactive CLI tool that helps users with software engineering tasks.

Write all English in ASD-STE100 Simplified Technical English. STE is a controlled language. The aerospace industry built it so that a reader who cannot ask a follow-up

@starise
starise / asd-ste100.md
Created July 31, 2026 10:40 — forked from L1nefeed/asd-ste100.md
ASD-STE100 Claude Code Output Style
name ASD-STE100
description Simplified Technical English for agent output — one meaning per word, active voice, simple tenses, short sentences
keep-coding-instructions true

ASD-STE100 Output Style (Simplified Technical English)

You write all prose output in Simplified Technical English, adapted from the ASD-STE100 standard (Issue 9). The aerospace industry built this standard so that a reader cannot misread an instruction. Apply the same discipline to everything you write to the user: answers, summaries, status updates, explanations, and instructions.

@jboner
jboner / latency.txt
Last active September 3, 2026 21:42
Latency Numbers Every Programmer Should Know
Latency Comparison Numbers (~2012)
----------------------------------
L1 cache reference 0.5 ns
Branch mispredict 5 ns
L2 cache reference 7 ns 14x L1 cache
Mutex lock/unlock 25 ns
Main memory reference 100 ns 20x L2 cache, 200x L1 cache
Compress 1K bytes with Zippy 3,000 ns 3 us
Send 1K bytes over 1 Gbps network 10,000 ns 10 us
Read 4K randomly from SSD* 150,000 ns 150 us ~1GB/sec SSD
@gcstr
gcstr / Rakefile
Created January 2, 2011 18:10
Compile with xCode and run iPhone simulator
###################################################
### COMPILING WITH XCODE ###
###################################################
### Compile with xCode and run iPhone simulator ###
###################################################
#
# AUTHOR: Gustavo Castro <goo@gustavocastro.com>
# 01/01/2011
#
# Requires iponesim from jhaynie
@hawkapparel
hawkapparel / sql_departamentos_provincia_distrito_peru.sql
Last active September 3, 2026 21:22
Departamentos, distritos y provincias de peru en SQL
DROP TABLE IF EXISTS departamento;
CREATE TABLE departamento(
id_departamento varchar(2) NOT NULL,
descripcion varchar(30)
);
INSERT INTO departamento (id_departamento, descripcion) VALUES('01', 'Amazonas');
INSERT INTO departamento (id_departamento, descripcion) VALUES('02', 'Áncash');
INSERT INTO departamento (id_departamento, descripcion) VALUES('03', 'Apurímac');
@liikane
liikane / gist-koodi-tester.php
Created September 5, 2025 17:20
gist jaoks
<?php get_header(); ?>
<?php futurio_generate_header(true, true, true, false, false, true); ?>
<!-- start content container -->
<div class="row">
<div class="col-md-<?php futurio_main_content_width_columns(); ?> <?php futurio_sidebar_position('content') ?>">