Skip to content

Instantly share code, notes, and snippets.

@bliang
bliang / llm-wiki.md
Created September 21, 2026 04:21 — forked from karpathy/llm-wiki.md
llm-wiki

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.

PS D:\Programs\Android\j5pro\SM-J530Y_XID_(J530YDXS7CUD1)_PIE> Select-String -Path `
>> .\WORK\ANALYSIS\decoded\SPPPushClient\AndroidManifest.xml,
>> .\WORK\ANALYSIS\decoded\SamsungBilling\AndroidManifest.xml,
>> .\WORK\ANALYSIS\decoded\SamsungAccount_Star\AndroidManifest.xml `
>> -Pattern "service","receiver","provider","activity","BOOT_COMPLETED","CONNECTIVITY_CHANGE","PACKAGE_ADDED","START_STICKY","persistent","JobService","BIND_JOB_SERVICE","uses-permission" `
>> -Context 0,2
> WORK\ANALYSIS\decoded\SPPPushClient\AndroidManifest.xml:3: <permission android:description="@string/permission_description"
android:label="@string/permission_label" android:name="com.sec.spp.permission.PUSH_SERVICE_PROVIDER"/>
WORK\ANALYSIS\decoded\SPPPushClient\AndroidManifest.xml:4: <permission android:description="@string/permission_description"
@forkyau
forkyau / hourly_rainfall_data-2026-09-21|12-00.csv
Created September 21, 2026 04:21
GIST created by python code
id station stationid value unit obstime date
0 流浮山 RF001 0 mm 2026-09-21T12:00:00+08:00 2026-09-21
1 湿地公园 RF002 0 mm 2026-09-21T12:00:00+08:00 2026-09-21
2 水边围 N12 0 mm 2026-09-21T12:00:00+08:00 2026-09-21
3 石岗 RF003 0 mm 2026-09-21T12:00:00+08:00 2026-09-21
4 大美督 RF004 0 mm 2026-09-21T12:00:00+08:00 2026-09-21
5 大埔墟 RF005 0 mm 2026-09-21T12:00:00+08:00 2026-09-21
6 北潭涌 RF006 0 mm 2026-09-21T12:00:00+08:00 2026-09-21
7 滘西洲 RF007 0 mm 2026-09-21T12:00:00+08:00 2026-09-21
8 西贡 N15 0 mm 2026-09-21T12:00:00+08:00 2026-09-21
@nbravi
nbravi / pickaxe
Created September 21, 2026 04:20
This file has been truncated, but you can view the full file.
[09:49:28 am]
[PlayFab] - Login Handler Created.
UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
PlayfabLoginHandler:Awake()
-----------------------------------------------
local THEME = {
accent = Color3.fromRGB(0, 170, 255),
accentGlow = Color3.fromRGB(0, 220, 255),
accentDim = Color3.fromRGB(0, 110, 180),
bg = Color3.fromRGB(8, 10, 14),
panel = Color3.fromRGB(14, 18, 26),
panelAlt = Color3.fromRGB(20, 26, 36),
panelHi = Color3.fromRGB(26, 34, 46),
stroke = Color3.fromRGB(0, 170, 255),
text = Color3.fromRGB(230, 240, 255),
ba1be0bd57d845c1aad8f2fd4ff55f777d8dc96bb84efcc5c8af360c2f2e4237 @ 1789964436.6921134
ba1be0bd57d845c1aad8f2fd4ff55f777d8dc96bb84efcc5c8af360c2f2e4237 @ 1789964435.650244
@a1vers
a1vers / gist:183951f02a543a557358c199c0374454
Created September 21, 2026 04:20
lx-music-source-v6.js
/*!
* @name 独家音源
* @description 后续更新,请关注微信公众号: 洛雪科技
* @version 6
* @author w
*/
// ===== 服务端下发配置(自动生成, 请勿修改) =====
globalThis['SERVER_SCRIPT_CONFIG'] = {"apiUrl":"https:\/\/88.lxmusic.xn--fiqs8s","apiKey":"lxmusic","signSalt":"LxSrv@2026#Sig","fingerprint":"ffdaccdf66796c1cbe96df07bf682118"};
// ===== 服务端下发配置结束 =====
@dig1talGhost
dig1talGhost / gomakemod.sh
Created September 21, 2026 04:19
Script to automate the creation of a simple go module.
#!/usr/bin/env bash
# Usage: Provide a name for your module as first arg when running the script.
# Also, please provide a path for your module as second arg.
# This is meant for Archlinux systems.
# Please visit https://archlinux.org for more info.
os_check=$([ -x "$(command -v pacman)" ] && pacman -Q base >/dev/null 2>&1 && echo "archlinux-$(uname -m)")
if [[ ! "$os_check" =~ ^archlinux-x86_64$ ]]; then
@Taska982
Taska982 / Taska.md
Created September 21, 2026 04:19
Taska For Mac

🐙 Taska for Mac GitHub & GitLab Issues

🚀 Taska for Mac — Native GitHub & GitLab Issue Management

🐙 Taska for Mac is a native Mac application designed for working with GitHub and GitLab Issues without constantly switching between browser tabs. It provides a focused workspace for creating, editing, organizing, and reviewing issues while keeping your repository workflow close to the Mac desktop.

Download Taska for Mac

💻 Native Mac experience • 🐙 GitHub & GitLab • ⚡ Fast issue editing • 📝 Markdown support