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.

@isti03
isti03 / adb-linux.md
Last active July 10, 2026 21:35
Install ADB (Android Debug Bridge) on Linux and useful snippets

Getting ADB (Android Debug Bridge) working on linux can be a bit harder than on other operating systems. This guide aims to help with that.

Installation

1. Install the adb package

Just use your package manager

2. Add yourself to the plugdev group

@Pingzi610
Pingzi610 / gist:650d63dd93da45b13a477189590880ee
Last active July 10, 2026 21:31
针对32位iOS设备的保基带技巧

针对32位iOS设备的保基带详细方法

对于iOS 7.1及以上的32位设备,使用legacy iOS kit保基带刷机后可能会出现无基带的现象,此时千万不要以为你把基带刷没了,以下是7.1及以上设备保基带刷机全流程

对于iPhone 4s、iPhone 5、iPhone 5c、iPad 4与iPad mini 1代,必须用此方式刷机:

1.先提取本机基带(这点很重要!),可以使用Legacy iOS Kit -> Misc Utilities -> Dump Baseband 或 Useful Utilities -> SSH Ramdisk -> Dump baseband/activation。
2.然后利用legacy iOS kit、idevicerestore等工具刷入无基带固件或者保基带刷机(严禁使用iTunes、Finder与爱思助手等各种win端降级工具)
3.iOS 7.0.6及以下直接开机激活即可(保基带模式),7.1及以上需要先进入ssh ramdisk,挂载文件系统(mount_hfs /dev/disk0s1s1 /mnt1)并使用cyberduck或FinalShell操作
4.打开/mnt1/usr/local/standalone/firmware/(基带代号,如4s:Trek,5:Mav5,5c:Mav7Mav8),然后删除文件夹内全部内容

@MangaD
MangaD / cpp_build_systems.md
Last active July 10, 2026 21:29
Choosing a Build System for C++: CMake, Bazel, Meson, and Beyond

Choosing a Build System for C++: CMake, Bazel, Meson, and Beyond (2026)

CC0

Disclaimer: ChatGPT generated document.

Sure — here’s a comprehensive, high-level but thorough article overviewing CMake, Bazel, and the wider ecosystem of build systems and build orchestration tools, including notable alternatives, their paradigms, trade-offs, and ecosystems.


@Pythonation
Pythonation / prompt.md
Last active July 10, 2026 21:26
3 PROMPTS OF CODING AGENTS

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

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

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

@rxaviers
rxaviers / gist:7360908
Last active July 10, 2026 21:23
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
@jwbee
jwbee / jq.md
Last active July 10, 2026 21:17
Make Ubuntu packages 90% faster by rebuilding them

Make Ubuntu packages 90% faster by rebuilding them

TL;DR

You can take the same source code package that Ubuntu uses to build jq, compile it again, and realize 90% better performance.

Setting

I use jq for processing GeoJSON files and other open data offered in JSON format. Today I am working with a 500MB GeoJSON file that contains the Alameda County Assessor's parcel map. I want to run a query that prints the city for every parcel worth more than a threshold amount. The program is

@gitgotgitgotit
gitgotgitgotit / Bh.md
Last active July 10, 2026 21:16
🐕 BloodHound Ecosystem
bloodhound_ecosystem_infographic

🐕 BloodHound Ecosystem

A structured overview of the BloodHound attack-path analysis ecosystem — official ingestors, community collectors, converters, ADWS alternatives, analysis tools, deployment helpers, and supporting frameworks.

Legend

  • 🟢 Official — maintained by SpecterOps
  • 🔵 Community — third-party / unofficial
@sivinnguyen
sivinnguyen / ubuntu_touch_redmi_9a.md
Last active July 10, 2026 21:14
How to install Ubuntu Touch on Xiaomi Redmi 9A/9C (Draft)