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.

Linux 命令行编辑快捷键

初学者在Linux命令窗口(终端)敲命令时,肯定觉得通过输入一串一串的字符的方式来控制计算是效率很低。 但是Linux命令解释器(Shell)是有很多快捷键的,熟练掌握可以极大的提高操作效率。 下面列出最常用的快捷键,这还不是完全版。

  • 命令行快捷键:
    • 常用:
      • Ctrl L :清屏
  • Ctrl M :等效于回车
@eylenburg
eylenburg / msoffice_in_linux.md
Last active November 9, 2026 03:03
Installing Microsoft Office in Linux

How to install Microsoft Office in any Linux distribution

There are multiple options how to install MS Office on Linux.

VM-based - Integrate Windows apps running in a Windows virtual machine as native-looking in Linux

You can either run a normal Windows virtual machine (e.g. in virt-manager or virtualbox or gnome-boxes) to run any Windows apps, including Microsoft Office, but there is further integration into the Linux host system.

Some other apps - such as LinOffice, Winapps, Winboat or Cassowary - try to integrate Windows apps, including Office, into the Linux desktop. They create launchers for MS Office apps that you can start from Linux and then, using freerdp in the background, Office apps run in normal app window integrated into the Linux desktop, they have access to the files on your Linux /home, share the clipboard

@MCC321-QC
MCC321-QC / OOT-Lichii-117.md
Last active November 9, 2026 03:02
How to run OOT on Lichii build 117 with Shader on Windows (Auto Update)

Video Preview (Imgur): https://imgur.com/a/6qu8hnO

How to run OOT on Lichii build 117 with Shader on Windows (Auto Update)

Play The Legend of Zelda: Ocarina of Time on the Switch 2 emulator Lichii (or Fritchii) at good frames without loosing on visual quality, with an auto installer/updater of shader files.

Install the emulator

  • Download latest build (currently 117) of Lichii.
    • https://github.com/zortos293/Lichii/releases/latest
    • Check if your CPU is PGO compatbile, if it is, take the version finishing with pgo (for Windows).
      • Intel Processors: Requires CPUs supporting LBR (Last Branch Record) and Performance Monitoring Units (PMU). This is available on most Intel Core (Haswell/4th gen and newer) and Xeon processors.
      • AMD Processors: Requires CPUs supporting BRS (Branch Record Sampling) or Core PMCs, available on AMD Zen 3 and newer architectures.

Shader clean-up and update.

@shug3502
shug3502 / cyp_challenge_direct_inhibition_report.md
Last active November 9, 2026 02:53
CyclinB report for CYP Challenge direct inhibition track

Methods summary: direct inhibition track

Team CyclinB. This is a high-level overview of the approach behind our final submission on the direct inhibition track (pIC50 regression, CYP1A2 / 2C9 / 2D6 / 3A4).

Proprietary data: This submission was built partly on internal data, and leveraged internal foundation models such as MolGPS[^molgps].

Overview

@tykurtz
tykurtz / grokking_to_leetcode.md
Last active November 9, 2026 02:50
Grokking the coding interview equivalent leetcode problems

GROKKING NOTES

I liked the way Grokking the coding interview organized problems into learnable patterns. However, the course is expensive and the majority of the time the problems are copy-pasted from leetcode. As the explanations on leetcode are usually just as good, the course really boils down to being a glorified curated list of leetcode problems.

So below I made a list of leetcode problems that are as close to grokking problems as possible.

Pattern: Sliding Window

@shantanoo-desai
shantanoo-desai / README.md
Last active November 9, 2026 02:46
Create `admin` user in cloud-init

Creating a user called admin using cloud-init

Cloud-Init may not create a user literally called admin even though the configuration might be valid.

Debugging

Log files are available:

cat /var/log/cloud/cloud-init.log
cat /var/log/cloud/cloud-init-output.log
@Mr-xn
Mr-xn / mac.js
Created May 29, 2026 09:35
typora mac 激活
#!/usr/bin/env node
/**
* Typora macOS 激活脚本
* 原理:替换二进制中的 RSA 公钥,用自己的私钥签名生成 Activation Token
*/
const crypto = require('crypto');
const fs = require('fs');
const path = require('path');
const { spawnSync } = require('child_process');