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.

@AskinNet
AskinNet / kitty.md
Created May 10, 2024 07:29 — forked from pnsinha/kitty.md
Kitty CheatSheet

Default shortcuts

Scrolling

Action Shortcut
Scroll line up ctrl+shift+up (also ⌥+⌘+⇞ and ⌘+↑ on macOS)
Scroll line down ctrl+shift+down (also ⌥+⌘+⇟ and ⌘+↓ on macOS)
Scroll page up ctrl+shift+page_up (also ⌘+⇞ on macOS)
Scroll page down ctrl+shift+page_down (also ⌘+⇟ on macOS)
@bitsnaps
bitsnaps / polars.md
Last active May 8, 2026 14:50
A cheat sheet for polars python package

Polars Cheat Sheet

Here's a cheat sheet for the Polars Python package, covering many of its key functions and features:

Installation

pip install polars 

# Install Polars with all optional dependencies:
pip install 'polars[all]'

Polymarket BTC 5-Minute Up/Down Trading Bot — Build Guide

What This Bot Does

This bot trades Polymarket's "BTC Up or Down" 5-minute binary markets. Every 5 minutes, Polymarket opens a market asking: "Will BTC be higher or lower than the opening price when this 5-minute window closes?" You buy "Up" or "Down" tokens at some price (e.g. $0.50–$0.95), and if you're right, each token pays out $1.00. If you're wrong, you lose your bet.

The bot uses technical analysis on real-time Binance BTC price data to predict the outcome, then places the trade on Polymarket right before the window closes — when we have the most information but (ideally) before the token price has fully priced in the outcome.


@HomeFlix
HomeFlix / bellchange.sh
Last active May 8, 2026 14:47
Auto replace of default chime.wav with custom.wav for Unifi G4 Doorbell Pro
#!/bin/bash
clear
if [ "$1" = "" ]
then
echo "Usage: $0 <Custom wav filename in current dir to use>"
ls *.wav
exit 1
fi
echo "Step 1 ..."
sshpass -p<Unifi-Protect-Password> ssh root@<Unifi-Protect-IP> << EOF
@fsjorgeluis
fsjorgeluis / openspec-in-browfield.md
Last active May 8, 2026 14:47
Cómo implementar openspec y engram en un proyecto brownfield

Guía de Implementación: OpenSpec v1.3.1 + Engram + Claude Code en Proyectos Brownfield

Esta guía documenta un flujo de trabajo práctico para integrar OpenSpec en un proyecto existente (brownfield), utilizando Claude Code como entorno operativo y Engram como capa de memoria persistente local.

El objetivo no es solamente generar especificaciones, sino convertir la base de código actual en una fuente de verdad documentada y evolutiva.


¿Qué Problema Resuelve Este Flujo?

@miurhz
miurhz / BMW_USB_Software_Update.md
Last active May 8, 2026 14:48
USB firmware update files for BMW CIC (Multimedia) and Combox (Bluetooth/Telephone), no longer available on official servers. Includes download links (from official site) and instructions for updating via USB.

BMW CIC & Combox USB Firmware Updates

Officially titled: BMW Software Update for External Devices – Multimedia and Telephone

ℹ️ About This Guide:

  • I am not pro at any of this. I started to search for information how to update vehicle's multimedia because of my own Bluetooth issue.
  • As BMW no longer provided software updates on their main site at that time, the task was to find is it still possible to get them.
  • After long searches I managed to solve my issue successfully and decided to put everything I found in one place.