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.

class Weapon
{
public int Damage;
public int Bullets;
public void Fire(Player player)
{
player.Health -= Damage;
Bullets -= 1;
@lukirs95
lukirs95 / howto_utm_vpn_macos.md
Created June 10, 2025 15:42
How to access Host VPN Network from UTM Guest on MacOS

Problem

Your host machine (MacOS) get's an ip address from your VPN provider and possibly some routes to the remote network, but your VPN provider has no clue about other networks inside your host machine. That's what blocks UTM (QEMU) virtual machines from accessing the vpn network. UTM generates a new network for vm's and route entries for it automatically. This network is not known at the other side of the VPN, so although your PINGs reach the VPN the receiver of that ping does not know where to send it back.

Solution

@PARC6502
PARC6502 / OpenSourceBaas.md
Last active July 28, 2026 17:00
List of open source, self hosted BaaS - Backend as a service

Backend as a Service

Note on sizes: a lot of those might be inaccurate as there might be many microservices required aside from the core release/docker image. I haven't tested these recently so I'm not sure

Supabase - ~94.9K stars

  • Designed explicitly as an open source Firebase alternative
  • Typescript based
  • Docker support
  • Full Postgres database with Realtime subscriptions

PocketBase - ~54.5K stars

@Vladkarok
Vladkarok / MultiWAN and routing on MikroTik RouterOS.md
Last active July 28, 2026 16:58
Multi WAN MikroTik routerOS v6 & v7
@H0j3n
H0j3n / CVE-2026-54121.md
Last active July 28, 2026 16:42

Certighost (CVE-2026-54121)

Authors: @h0j3n, @aniqfakhrul
Date: July 24, 2026


Certighost is an Active Directory Certificate Services (AD CS) vulnerability that allowed a low-privileged domain user to impersonate a Domain Controller and achieve domain compromise in the tested AD CS configuration. The issue was addressed in the July 2026 security updates.

The vulnerable path is an AD CS enrollment fallback known as a chase during directory-object resolution. By supplying request attributes such as cdc, an attacker could cause the Certification Authority (CA) to ask an attacker-controlled host for identity data belonging to a Domain Controller. The CA then used that data while issuing a certificate.

@1wErt3r
1wErt3r / SMBDIS.ASM
Created November 9, 2012 22:27
A Comprehensive Super Mario Bros. Disassembly
;SMBDIS.ASM - A COMPREHENSIVE SUPER MARIO BROS. DISASSEMBLY
;by doppelganger (doppelheathen@gmail.com)
;This file is provided for your own use as-is. It will require the character rom data
;and an iNES file header to get it to work.
;There are so many people I have to thank for this, that taking all the credit for
;myself would be an unforgivable act of arrogance. Without their help this would
;probably not be possible. So I thank all the peeps in the nesdev scene whose insight into
;the 6502 and the NES helped me learn how it works (you guys know who you are, there's no
@CoralineAda
CoralineAda / emoji-garden.rb
Created July 25, 2026 23:12
Emoji Garden
# Decorate your shared documents with an emoji garden, where collaborators can peacefully rest their cursors.
class EmojiGarden
PLANTS = %w{๐ŸŒฑ ๐ŸŒฟ โ˜˜๏ธ ๐Ÿ€ ๐ŸŽ‹ ๐Ÿƒ ๐Ÿ‚ ๐Ÿ ๐ŸŒพ ๐ŸŒต ๐ŸŒด ๐ŸŒณ ๐ŸŒฒ ๐Ÿชด ๐ŸŒธ ๐Ÿ’ฎ ๐Ÿต๏ธ ๐ŸŒบ ๐ŸŒป ๐ŸŒผ ๐ŸŒท ๐Ÿฅ€ ๐Ÿชท ๐Ÿชป ๐ŸŒน ๐Ÿ„ ๐ŸŒฑ ๐ŸŒฟ โ˜˜๏ธ ๐Ÿ€ ๐ŸŽ‹ ๐Ÿƒ ๐Ÿ‚ ๐Ÿ ๐ŸŒพ ๐ŸŒต ๐ŸŒด ๐ŸŒณ ๐ŸŒฒ ๐Ÿชด ๐ŸŒธ ๐Ÿ’ฎ ๐Ÿต๏ธ ๐ŸŒบ ๐ŸŒป ๐ŸŒผ ๐ŸŒท ๐Ÿฅ€ ๐Ÿชท ๐Ÿชป ๐ŸŒน ๐Ÿ„}
INSECTS = %w{๐Ÿœ ๐Ÿ ๐Ÿž ๐Ÿ› ๐Ÿฆ‹ ๐Ÿชฒ ๐Ÿชณ ๐Ÿชฐ ๐ŸฆŸ ๐Ÿ•ท๏ธ ๐Ÿ•ธ๏ธ ๐Ÿฆ‚}
HAPAX = %w{๐Ÿ‘ฝ}
SPACER = " "
DENSITY = 0.2
attr_accessor :rows, :columns, :hapax
def initialize(rows:, columns:)
@D3Ext
D3Ext / arch_installation.md
Last active July 28, 2026 15:34
Arch Linux Installation + Customization

Introduction

This guide aids with the ArchLinux installation using VMWare

This is based on the official Arch Linux installation guide, my own experience and some videos I found on Youtube.

Installation

First of all change the keyboard layout to the desired language with loadkeys, in my case to spanish