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.

@gabeosx
gabeosx / obsidian-livesync-synology.md
Created December 10, 2022 20:59
Obsidian LiveSync Self-Hosted on Synology

Intro

obsidian-livesync is an Obsidian plugin, which allows you to Synchronize your Obsidian vault between devices, using a CouchDB database.

Synology NAS devices offer Docker support, which is a convenient way to host your CouchDB.

Setup the CouchDB container on Synology

Pre-requisites

  1. Create a directory for your Docker data (e.g. /volume1/docker/obsidian-couchdb)
  2. Create a user with permissions to that directory - put them in the users group
@tilda
tilda / priconne_and_vpns.md
Last active December 6, 2026 03:17
defeating dmm's skill issue

How to play PriConne on PC without hassling with VPNs constantly

Sidenote: you will still need one, but by the end of the guide you should only need to deal with this process once per year, assuming nothing changes.

Note

This guide only covers VPN setup, creating DMM account & installing Game Player is considered out of scope (this is long enough as is).

Use Nyatsu's DMM guide for guidance on getting set up, or check #jp-questions pins in maincord.

Warning

This guide was rewritten in August 2025 to no longer use TunnlTo. If you need the old version, it can still be accessed here.

@niusounds
niusounds / MatrixEvaluator.java
Created May 12, 2014 03:48
Matrix to Matrix implementation
import android.animation.TypeEvaluator;
import android.graphics.Matrix;
public class MatrixEvaluator implements TypeEvaluator<Matrix> {
private Matrix evaluated = new Matrix();
private float[] values = new float[9];
private float[] startValues = new float[9];
private float[] endValues = new float[9];
@Override
@lgg
lgg / README.md
Created August 28, 2026 05:22
How to fix: Your current account is not eligible for Google Antigravity, because it is not currently available in your location

Your current account is not eligible for Google Antigravity, because it is not currently available in your location

Your current account is not eligible for Antigravity. Try signing in with another personal Google account. Learn more by visiting the FAQ.

  1. Check your current country, do not apply for change yet: https://policies.google.com/country-association-form
  2. Before applying check and edit this:
  3. Delete all profiles with "bad countries" and add with allowed country https://payments.google.com/gp/w/u/0/home/settings
  4. Check and edit all Payment methods, delete "bad" https://payments.google.com/gp/w/u/0/home/paymentmethods
  5. Check addresses, delete "bad": https://payments.google.com/gp/w/u/0/home/addressbook
  6. Check location of Home/Work addresses, delete "bad": https://myaccount.google.com/personal-info
  7. Also its better to check from phone: You must log into the acc in Play Store app and go to Settings > General > Account and device preferences > Country and profiles. If you did add a fo
@riandiramdani
riandiramdani / gist:c58ff4c8e8c55a6a6dd5323ba3d3b281
Created December 4, 2026 18:56
Prompt lengkap: 35 permintaan biar aplikasi kamu nggak lemot
# Prompt lengkap: 35 permintaan biar aplikasi kamu nggak lemot
File ini dikirim ke yang komen **NGEBUT** di video Nearven.
**Cara pakai:** salin prompt di bawah ke asisten AI coding kamu (Claude Code, Cursor, dan sejenisnya). Prompt ini
sengaja menyuruh AI **mengukur dulu**. Kalau semua permintaan dipasang sekaligus, aplikasi kecil malah jadi ribet
(Redis, load balancer, dan tracing belum tentu perlu). Perbaiki yang memang lambat dulu.
```text
Aku nggak mau aplikasiku terasa lemot dan ditinggal pengguna.