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.

Using Unifi 5G Max with T-Mobile Home Internet

Caveats before I go further:

  • This probably just voided the warranty on a $400 device
  • It's possible that firmware updates or other processes could make this stop working at any time. The IMEI is an identifier on the modem's memory, not the Unifi memory.
  • Modification of IMEI may not be legal where you live. You should do your own research before going further.
  • If you are doing all of this work you should probably just look at DIY-ing with an M.2 RM551E or similar and a PoE adapter...
  • It is entirely possible (and likely) that T-Mobile (already) recognizes this activity for what it is and may take action against your account. IMEI is far from the only metric that networks have for profiling their clients. For what it's worth though, there are a good number of reports of people using 3rd party modems on TMHI for many years now with no issues. YMMV and that can change at any time.
@Exorion1er
Exorion1er / FFXIVModding.md
Last active December 3, 2026 22:54
Beginner-friendly FFXIV Modding Guide

This guide was written for people with no idea on how any of this works, complete beginner style. Feel free to skip steps if you feel comfortable doing so.
I wrote this for the Devil's Lair, check out one of the best night clubs of Choas : https://devils-lair.carrd.co/
These steps will also work for general purposes.

Quick disclaimer: This is only for PC. From what I know, it isn't possible to install mods or shaders on consoles.

Okay so first of all, this is largely inspired by https://reniguide.info/ for the Penumbra and Mare installation which is a great resource.

Summary:

@Naxdy
Naxdy / sysprompt.md
Last active December 3, 2026 22:53
Minimax H3 Prompt Enhancer

Role

You are a prompt-enrichment engine that sits between a user's raw creative request and MiniMax H3, a generative model that synthesizes video AND synchronized stereo audio together. Your role mirrors MiniMax's official "H3-Context-IR": deeply understand and refine the multimodal input, reason about how the pieces relate to each other and to the intended output, and serialize your understanding into a structured "production brief" that H3-Base can consume directly. You perform instruction parsing, cross-modal association, temporal understanding, and complex logical reasoning over the material you are given. Without deviating from the user's original intent, you may supplement missing or underspecified semantic details where appropriate. You convert everything into a single, maximally detailed and unambiguous brief, formatted exactly as specified below. You DO NOT generate media yourself. You ONLY OUTPUT THE BRIEF TEXT, nothing else — no preamble, no explanation, no markdown fences, no JSON wrapper.

Wh

@tuantmb
tuantmb / transmac reset.txt
Created February 22, 2023 23:16
Reset TransMac Trial back to 15 days (Unpatchable)
since you can find this on the internet easily anyway, i decided to create this for ya.
I know a lot of ppl wont like this but fuck it, it's ez anyway.
One click batch script download: https://anonfiles.com/59T773t2uf/TransMac_Trial_Resetter_bat
Run this whenever you want or put it in your startup folder
(Win+R and type shell:startup)
For all other users, one time easy way to do it, open Regedit
Navigate to Computer\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved\ or paste that in the address bar.
@karpathy
karpathy / microgpt.py
Last active December 3, 2026 22:46
microgpt
"""
The most atomic way to train and run inference for a GPT in pure, dependency-free Python.
This file is the complete algorithm.
Everything else is just efficiency.
@karpathy
"""
import os # os.path.exists
import math # math.log, math.exp
#!/bin/bash
set -eu
_UID=$(id -u)
GID=$(id -g)
# give lxd permission to map your user/group id through
grep root:$_UID:1 /etc/subuid -qs || sudo usermod --add-subuids ${_UID}-${_UID} --add-subgids ${GID}-${GID} root
# set up a separate key to make sure we can log in automatically via ssh
# with $HOME mounted
@MuhammadSaim
MuhammadSaim / rarreg.key
Last active December 3, 2026 22:42
Step 1: Create a file called rarreg.key Step 2: Paste into the file the raw content of this gist Step 3: Go to Winrar install directory (by default => c:\ProgramFiles\WinRAR\ ) Step 4: Paste the rarreg.key into WinRAR directory Step 5: Enjoy
RAR registration data
WinRAR
Unlimited Company License
UID=4b914fb772c8376bf571
6412212250f5711ad072cf351cfa39e2851192daf8a362681bbb1d
cd48da1d14d995f0bbf960fce6cb5ffde62890079861be57638717
7131ced835ed65cc743d9777f2ea71a8e32c7e593cf66794343565
b41bcf56929486b8bcdac33d50ecf773996052598f1f556defffbd
982fbe71e93df6b6346c37a3890f3c7edc65d7f5455470d13d1190
6e6fb824bcf25f155547b5fc41901ad58c0992f570be1cf5608ba9
### Flatpak Repos
List packages on a repo :
flatpak remote-ls repon-name --user
flatpak remote-ls
Install packages :
flatpak --user install repo-name package-name io.liri.Platform
Flathub: