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.

About Awk

Awk is a text processing language that comes standard with most distributions of Linux/Unix. In my personal experience, awk is faster at parsing, filtering, and writing text files than either python or R with few exceptions. This cheat sheet goes over the basic awk commands that I use the most.

How does awk work

Awk processes a text file line by line and is used to apply some condition to each based on its contents. I have found the most use for it on text files of large matrices (that is text files with distinct, consistent columns) or on text that has clear consistent delimeters. Awk interpretes each column in your line and stores it as a variable from 1 to n where n is the number of columns you have. Say you have a file that looks as such:

ID  gene_name type  start stop Chr
ENSG0 C1orf22 protein_coding 178965 183312 chr2
// ==UserScript==
// @name Meshy Model Downloader
// @namespace https://kirakira.cloud
// @version 1.2.0
// @description Meshy model downloader – captura GLB desencriptado + export GLB/STL/OBJ
// @author kirakira (updated)
// @match https://www.meshy.ai/*
// @run-at document-start
// @grant none
// ==/UserScript==
@Ghyt777
Ghyt777 / youtube-ne-gruzitsya-proverka.md
Last active November 20, 2026 19:54
Почему не грузится YouTube в России: проверка за 2 минуты — DNS, замедление DPI, блокировка по IP или белые списки (2026)

Почему не грузится YouTube: проверка за 2 минуты

Сайт YouTube открывается, превью видны, а видео крутит кружок, зависает или пишет «Нет подключения к интернету»? У этого несколько разных причин, и лечатся они по-разному. Сначала определите свою — так вы не будете неделями перебирать стратегии zapret, которые в вашем случае не могут помочь.

Актуально на октябрь 2026, Россия.

Шаг 1. Откройте инструменты разработчика

  1. Откройте YouTube и включите видео, которое не грузится.
  2. Нажмите F12 (на Mac — Cmd + Option + I) → вкладка Network (Сеть).

An guide how to activate Windows 11 Pro for free

Why?

Because you will get some more features like an Bitlocker and host your device as an External Desktop which can be accessed through the internet

Am i also able to switch from any other edition to Pro?

The answer is yes! You can switch from almost any edition to Pro completely for free!

Note for users with unactivated Pro edition

People which already have Pro, but not activated, can skip to this step.

Getting started

What you first need to do is open CMD (Command Prompt) as Administrator using this keyboard key:

@ljufa
ljufa / ssdtrim.md
Last active November 20, 2026 19:35
Fix Severe SSD Write Speed Degradation on Pop!_OS / Linux (LUKS + LVM)

Fix Severe SSD Write Speed Degradation on Pop!_OS / Linux (LUKS + LVM)

The Symptom

Your Linux desktop (especially Pop!_OS or Ubuntu) randomly freezes under heavy write loads. Browsers lock up when downloading files, IDEs (like IntelliJ or VS Code) stutter during indexing, and compiling code brings the system to a halt.

Before You Start: Benchmark Your Drive

Before applying this fix, test your raw SSD write speed. We will write a 5GB file using direct I/O to bypass your RAM cache and measure the actual silicon speed.

Run this command in your terminal:

@amunchet
amunchet / noVNCCopyPasteProxmox.user.js
Last active November 20, 2026 19:33
Copy/Paste for noVNC Proxmox
// ==UserScript==
// @name noVNC Paste for Proxmox
// @namespace http://tampermonkey.net/
// @version 0.2a
// @description Pastes text into a noVNC window (for use with Proxmox specifically)
// @author Chester Enright
// @match https://*
// @include /^.*novnc.*/
// @require http://code.jquery.com/jquery-3.3.1.min.js
// @grant none
@ForsakenHarmony
ForsakenHarmony / protocol.md
Last active November 20, 2026 19:28
dbx DriveRack PA2 protocol exploration

PA2 protocol

  • port: 19272
  • protocol: text over TCP (UDP might also be possible)

PA2 Control

Searching for devices

Broadcast (UDP)

@Nielk1
Nielk1 / ExtendInput.DataTools.DualSense.TriggerEffectGenerator.cs
Last active November 20, 2026 19:23
Factories for all DualSense trigger effects
/*
* MIT License
*
* Copyright (c) 2021-2022 John "Nielk1" Klein
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is