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.

@xikhar
xikhar / metroidvania-prompt.md
Created December 1, 2026 22:06
metroidvania-prompt

Build a high quality complete pixel style metroidvania game in the browser.

Platform and constraints: It should run in the browser. Graphics drawn using webgl. Gameplay engine built on top of webgl as well, no external libraries. you need to invent all the code to make and run the game great.

First part: Research. It needs to be a Metroidvania, so research on how they look like and what are the gameplay mechanisms, camera movements, world design, Techniques to build it. Webgl things to understand. study the existing games for some references. Read ENGINE section below for what more to research on that.

Second part: reference & Design. Use PIXELGAME.jpg in main-ref folder as the source of truth. Use available models on FAL MCP to generate more reference images as you need, or any video that you need. The first part of the process is to explore reference ideas and have a concrete plan of what to build, along with what it should look like. And the entire theme should be consistent across the game. generate mo

@DailyMatters
DailyMatters / GitCheat.txt
Last active December 2, 2026 00:13
Git cheat sheet (Portuguese)
Glossário:
Repository: A directory where Git has been initialized to start version controlling your files.
Staged: Files are ready to be committed.
Unstaged: Files with changes that have not been prepared to be committed.
Untracked: Files aren't tracked by Git yet. This usually indicates a newly created file.
Deleted: File has been deleted and is waiting to be removed from Git.
Staging Area: A place where we can group files together before we "commit" them to Git.
Commit: A "commit" is a snapshot of our repository. This way if we ever need to look back at the changes we've made (or if someone else does), we will see a nice timeline of all changes.
HEAD: The HEAD is a pointer that holds your position within all your different commits. By default HEAD points to your most recent commit, so it can be used as a quick way to reference that commit without having to look up the SHA.
@tilda
tilda / priconne_and_vpns.md
Last active December 2, 2026 00:00
defeating dmm's skill issue

How to play PriConne on PC without hassling with VPNs constantly

Sidenote: you will still need one, but by the end of the guide you should only need to deal with this process once per year, assuming nothing changes.

Note

This guide only covers VPN setup, creating DMM account & installing Game Player is considered out of scope (this is long enough as is).

Use Nyatsu's DMM guide for guidance on getting set up, or check #jp-questions pins in maincord.

Warning

This guide was rewritten in August 2025 to no longer use TunnlTo. If you need the old version, it can still be accessed here.

@oliver-kriska
oliver-kriska / diy-air-monitor-shopping-list.md
Last active December 1, 2026 23:58
DIY e-ink air quality monitor (ESPHome, SEN66, ESPink 4.26) — shopping list

DIY e-ink air quality monitor — shopping list

A desk air monitor with a 4.26" e-ink screen, CO2 / PM2.5 / VOC / NOx / temperature / humidity, a short RGB light bar that changes color with CO2, and a 3D-printed case. It runs ESPHome: works on its own (no Home Assistant, no cloud), shows everything in Home Assistant when it's there, and updates over Wi-Fi.

Starting point: you have Home Assistant and nothing else. Prices checked 2026-12-01, EUR incl. VAT unless noted. Stock changes fast. Status: parts list verified against datasheets and schematics. Build not finished yet.

Core parts (~€125)

@pervognsen
pervognsen / shift_dfa.md
Last active December 1, 2026 23:49
Shift-based DFAs

A traditional table-based DFA implementation looks like this:

uint8_t table[NUM_STATES][256]

uint8_t run(const uint8_t *start, const uint8_t *end, uint8_t state) {
    for (const uint8_t *s = start; s != end; s++)
        state = table[state][*s];
    return state;
}
@cvcore
cvcore / download_vscode_server.sh
Last active December 1, 2026 23:43
Manual download vscode-server
#!/bin/bash
# This script downloads and installs a specific version of VSCode Server for Linux.
# The version is specified by the first argument to the script.
# You can find the git commit id in the output of Remote - SSH plugin in VSCode.
# The output looks like this:
# ...
# Using commit id "af28b32d7e553898b2a91af498b1fb666fdebe0c" and quality "stable" for server
# ...
@dongri
dongri / uninstall-netskope.sh
Last active December 1, 2026 23:39
uninstall netskope
#!/bin/sh
sudo ps aux | grep Netskope | grep -v grep | awk '{ print "kill -9", $2 }' | sudo sh
echo '[✓] Kill Netskope Process'
sudo rm -rf /Applications/Remove\ Netskope\ Client.app
echo '[✓] Removed Remove Netskope Client.app'
sudo rm -rf /Library/Application\ Support/Netskope
echo '[✓] Removed Agent of Netskope Client.app'