Skip to content

Instantly share code, notes, and snippets.

View Aermberry's full-sized avatar
🎯
Focusing

Aermberry Aermberry

🎯
Focusing
View GitHub Profile
@Aermberry
Aermberry / llm-wiki.md
Created April 18, 2026 10:23 — 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.

@Aermberry
Aermberry / nvm_install_raspberry_pi.sh
Last active December 17, 2023 14:50
linux_install_configuration
#! /bin/Bash
# 检测是否已安装 nvm
if [ -d "$HOME/.nvm" ]; then
echo "nvm 已经安装"
else
# 下载并安装 nvm
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
# 将相关配置添加到 ~/.profile
@Aermberry
Aermberry / ProGoScene.ts
Last active November 6, 2018 09:19
egret
class ProGoScene extends eui.Component implements eui.UIComponent{
private boomBtn:eui.Image;
private bgmSoundChannel:egret.SoundChannel;
private backBtn:eui.Image;
private proFactory:egret.MovieClipDataFactory;
private proMovieGroup:eui.Group;
private proMovieClip:egret.MovieClip;
## 2017 时间轴
- for循环的应用,求取各个位数的数字
- 百位数除以100,可以取得百位数上的数字
- 百位数除以10取余可以,取得个位上的数字
- 百位数除以10,取整,将百位数转变为十位数,再除以10取余数,可以的十位数
## 2017/12/29 9:31:42
- 如何获取一个数组中的序号对称值:
- q:[].Length-1-i(q,i为序号)
- 学会分析:尝试将一组数据逐个写出来,观察其中的规律
@Aermberry
Aermberry / 2018
Last active January 2, 2018 16:18
discover a little knowledge from everday,be the better man.
## 2018/1/1 10:30:54
- 关于`bool`的类型的编程方法实际应用理解,判断当前某个对象的当前如何
```c#
bool isDead=true;
if(isDead){
cout<<"游戏结束处理"<<endl;
}
```