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.

@veekaybee
veekaybee / normcore-llm.md
Last active November 4, 2026 12:35
Normcore LLM Reads

Anti-hype LLM reading list

Goals: Add links that are reasonable and good explanations of how stuff works. No hype and no vendor content if possible. Practical first-hand accounts of models in prod eagerly sought.

Foundational Concepts

Screenshot 2023-12-18 at 10 40 27 PM

Pre-Transformer Models

@sinceohsix
sinceohsix / Installing LiveContainer+Sidestore.md
Last active November 4, 2026 12:19
Installing LiveContainer+SideStore from start to finish.

✴️ How to sideload with SideStore and LiveContainer

Last Edited: Mar 30, 2026 @ 7:45AM PST · Supports iOS versions 15.0 - 26.3

Make sure you are always using up-to-date guides to ensure full compatibility. The official SideStore documentation can be found here in case anything changes. For additional information and credits, scroll to the bottom of this page.

Important • iOS 26.4 broke the method used by SideStore and this tutorial to refresh apps. A new guide will come soon for people on iOS 26.4 once the necessary tools are available.


👋 Hello again, r/sideloaded!

@gudbergur
gudbergur / gist:1310207
Created October 24, 2011 20:47
A hack - facebook.py with OAuth 2.0 support - https://gist.github.com/1190267 and https://github.com/martey/python-sdk/blob/master/src/facebook.py stitched together
#!/usr/bin/env python
#
# Copyright 2010 Facebook
#
# 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-2.0
#
@AskinNet
AskinNet / bash-guide-1.md
Created May 7, 2024 05:55 — forked from Titiaiev/bash-guide-1.md
шпаргалка по написанию bash скриптов, по ссылке - оригинальная статья на хабре

Бесплатная книга-сайт на русском, полный гайд
Advanced Bash-Scripting Guide

Введение

BASH — Bourne-Again SHell (что может переводится как «перерожденный шел», или «Снова шел Борна(создатель sh)»), самый популярный командный интерпретатор в юниксоподобных системах, в особенности в GNU/Linux. Ниже приведу ряд встроенных команд, которые мы будем использовать для создания своих скриптов.

>break выход из цикла for, while или until

@faizalmansor
faizalmansor / fix-install-opencode-with-npm-on-windows-powershell.md
Created August 29, 2026 13:30
Fail to install opencode-ai with npm on windows 11 powershell

If you encounter errors like these:

PS C:\Users\User> npm i -g opencode-ai

added 3 packages in 1m
npm warn install-scripts 1 package has install scripts not yet covered by allowScripts:
npm warn install-scripts   opencode-ai@1.18.25 (postinstall: node ./postinstall.mjs)
npm warn install-scripts
npm warn install-scripts Run `npm install -g --allow-scripts=opencode-ai` to allow these scripts once, or `npm config set allow-scripts=opencode-ai --location=user` to allow them for all global installs.
npm notice

Office 2021

Method 1: Using my command line

Step 1.1: Open cmd program with administrator rights.

  • First, you need to open cmd in the admin mode, then run all commands below one by one.

Step 1.2: Get into the Office directory in cmd.

  • For x86 and x64
cd /d %ProgramFiles(x86)%\Microsoft Office\Office16
@jboner
jboner / latency.txt
Last active November 4, 2026 11:57
Latency Numbers Every Programmer Should Know
Latency Comparison Numbers (~2012 except when noted)
----------------------------------
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