Skip to content

Instantly share code, notes, and snippets.

View hushicai's full-sized avatar
🎯
Focusing

hushicai hushicai

🎯
Focusing
  • GFS
  • shenzhen
View GitHub Profile
@hushicai
hushicai / llm-wiki.md
Created April 28, 2026 08:59 — forked from rohitg00/llm-wiki.md
LLM Wiki v2 — extending Karpathy's LLM Wiki pattern with lessons from building agentmemory

LLM Wiki v2

A pattern for building personal knowledge bases using LLMs. Extended with lessons from building agentmemory, a persistent memory engine for AI coding agents.

This builds on Andrej Karpathy's original LLM Wiki idea file. Everything in the original still applies. This document adds what we learned running the pattern in production: what breaks at scale, what's missing, and what separates a wiki that stays useful from one that rots.

What the original gets right

The core insight is correct: stop re-deriving, start compiling. RAG retrieves and forgets. A wiki accumulates and compounds. The three-layer architecture (raw sources, wiki, schema) works. The operations (ingest, query, lint) cover the basics. If you haven't read the original, start there.

@hushicai
hushicai / 00.索引.series.md
Created May 10, 2023 02:44 — forked from banyudu/00.索引.series.md
从零搭建一个高性能的前端CI服务器

从零搭建一个高性能的前端CI服务器

本系列教程介绍如何从零搭建一个前端CI服务器,以及如何优化其性能。

本系列教程均基于Gitlab CI,其它系统的酌情参考。

@hushicai
hushicai / jsonp-memory-leak.html
Last active June 2, 2016 05:30
jsonp memory leak test
<!DOCTYPE html>
<html>
<head>
<title>jsonp-memory-leak</title>
<meta charset="utf-8" />
</head>
<body>
<script>
function x(data) {
// console.log(data);
@hushicai
hushicai / 0_reuse_code.js
Created January 7, 2014 12:59
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console