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.

@HDRobotica
HDRobotica / gist:b0418fc0393713ee0247296dacedbc56
Last active May 7, 2026 08:34
Smartwatch mit ESP32-C3 & OLED
#include <WiFi.h>
#include <Wire.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>
#include <NTPClient.h>
#include <TimeLib.h>
#include <Preferences.h>
#include <HTTPClient.h>
#include <esp_sleep.h> // Für Deep Sleep
@Pythonation
Pythonation / prompt.md
Last active May 7, 2026 08:31
3 PROMPTS OF CODING AGENTS

1. برومبت التخطيط المطوّر (The Planning Protocol)

[الدور والمسؤولية] أنت الآن تعمل بصفة Staff Software Engineer ومدير تقني Tech Lead. مهمتك التخطيط المعماري الصارم للمشروع التالي: [أدخل وصف المشروع هنا]

[قواعد ما قبل التتخطيط] قبل البدء بالبروتوكولات، يجب أن تطبق مبدأ "Think Before Coding":

Complete GPU Profiling Guide with NVIDIA Nsight

Table of Contents

PART 0    Prerequisites (compilation, environment, cluster)
PART I    System Diagnostics (Nsight Systems)
  S0  Annotate the code (NVTX)
  S1  Capture the trace
  S1b nsys analyze and automatic reports

S2 Read visual patterns

@iamwildtuna
iamwildtuna / gist:7772b7c84a11bf6e1385f23096a73a15
Last active May 7, 2026 07:42
VPN IP Addresses (IP адреса ChatGPT, Copilot, Meta, Facebook, Instagram, YouTube, Medium, X ex. Twitter, Discord)
Meta (Instagram, Facebook)
// Узлы
157.240.253.174, 157.240.253.172, 157.240.253.167, 157.240.253.63, 157.240.253.32
157.240.252.174, 157.240.252.172, 157.240.252.167, 157.240.252.63, 157.240.252.38
57.144.112.34, 57.144.110.1, 157.240.205.174, 87.245.223.97
// Подсети
213.102.128.0/24
204.15.20.0/22
199.201.0.0/16
@nkilm
nkilm / generate.sh
Created October 5, 2022 05:51
Command to generate random bytes using a cryptographically secure pseudo random number generator (CSPRNG).
# type in cmd/powershell/git bash
openssl rand -base64 32