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.

@darthvader666uk
darthvader666uk / .gitignore
Last active April 21, 2026 03:19
AdGuard DNS Filter List - Comprehensive blocking rules
# Auto-push scripts (local use only)
push-to-gist.sh
push-to-gist.bat
# OS files
.DS_Store
Thumbs.db
# Editor files
.vscode/
@mymint0840-web
mymint0840-web / คู่มือ-skills-vs-maw.md
Created April 20, 2026 22:02
คู่มือ Skills vs maw (ภาษาไทย) — สำหรับคนที่ใช้ Claude Code + Oracle

🦁 คู่มือ Skills vs maw — สำหรับ Singhasingha

จากความสงสัยของกอล์ฟ: "ฉันติดกับปัญหานี้มาก แต่ละอันใช้ทำอะไรได้บ้าง"

Skills และ maw ทำงานต่างกัน ถ้าเข้าใจจะใช้ทั้งสองเป็นทีม — ไม่ต้องเลือกข้าง


📖 สารบัญ

@markasoftware
markasoftware / enterprise_token.rb
Last active April 21, 2026 03:15
OpenProject Enterprise mode for free
############ If you are using DOCKER all-in-one image, create Dockerfile like: ################
############ FROM openproject/openproject:16 ################
############ COPY ./enterprise_token.rb app/models/enterprise_token.rb ################
############ If you are runing a manual installation: ################
############ REPLACE app/models/enterprise_token.rb in the source code with this file! ################
############ also be sure to RESTART OpenProject after replacing the file. ################
############ If using some other set up (eg docker-compose), read the comments on ################
############ https://gist.github.com/markasoftware/f5b2e55a2c2e3abb1f9eefcdf0bfff45 ################
@fnky
fnky / ANSI.md
Last active April 21, 2026 03:15
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27

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.