Skip to content

Instantly share code, notes, and snippets.

<!DOCTYPE html>
<html>
<head>
<title></title>
<meta charset="utf-8" />
<script src="Scripts/jquery-1.9.1.min.js"></script>
<link href="Content/bootstrap.min.css" rel="stylesheet" />
<script src="Scripts/isRockFx.js"></script>
<script>
$(function () {

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.

@LapaMauve
LapaMauve / Simple Express Webhook Server for Devast.io
Created July 1, 2025 21:05
A minimal Node.js server using Express that listens for incoming POST requests on `/devast` and responds with game automation commands. Useful for integrating custom behavior with Devast.io private servers via webhook.
/** @module WebHook */
const express = require ("express");
const __PORT__ = 8000;
const app = express ();
// Middleware to automatically parse JSON bodies
app.use (express.json ());
/**
@upendra-bajpai
upendra-bajpai / android_build_delete.py
Last active December 1, 2026 16:06
android delete build folder
import sys, glob, shutil
#just pass root folder as agrgument. eg. py android delete.py ~/Muisc
def resize_aspect_fit(args):
#print(args[0])
for path in glob.glob(f'{args[0]}/*/**/build', recursive=True):
try:
print(path)
shutil.rmtree(path)
except OSError as e:
@sugiana
sugiana / proxy-and-reverse-proxy.sh
Created October 17, 2026 10:04
Proxy & Reverse Proxy
CLIENT_IP=$1
cmd="ip route get 8.8.8.8"
echo $cmd
DEV=$(eval $cmd | grep via | awk '{print $5}') || exit 1
cmd="iptables -F"
echo $cmd
eval $cmd
{
CapabilityFileSharing: "https://tailscale.com/cap/file-sharing",
CapabilityAdmin: "https://tailscale.com/cap/is-admin",
CapabilityOwner: "https://tailscale.com/cap/is-owner",
// feature enabled/available
CapabilitySSH: "https://tailscale.com/cap/ssh",
// some SSH rule reach this node
CapabilitySSHRuleIn: "https://tailscale.com/cap/ssh-rule-in",
// feature enabled
@congwang-mk
congwang-mk / ai-spawn.fullconfig
Last active December 1, 2026 14:10
Minimal x86_64 multikernel spawn kernel .config for CPU inference (1000 Hz tick)
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 7.0.0 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
CONFIG_CC_IS_GCC=y
CONFIG_GCC_VERSION=90400
CONFIG_CLANG_VERSION=0
CONFIG_AS_IS_GNU=y
CONFIG_AS_VERSION=23400