Skip to content

Instantly share code, notes, and snippets.

View vega113's full-sized avatar

Yuri Z. vega113

View GitHub Profile
@rohitg00
rohitg00 / llm-wiki.md
Last active May 14, 2026 15:01 — forked from karpathy/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.

@grobmeier
grobmeier / gist:b5eb58bdee96becf0cab
Created April 3, 2015 09:16
Check Wave Artifacts
#!/bin/sh
wget --no-check-certificate https://dist.apache.org/repos/dist/dev/incubator/wave/0.7-incubating/apache-wave-bin-0.4.0-alpha.tar.bz2
wget --no-check-certificate https://dist.apache.org/repos/dist/dev/incubator/wave/0.7-incubating/apache-wave-bin-0.4.0-alpha.tar.bz2.asc
wget --no-check-certificate https://dist.apache.org/repos/dist/dev/incubator/wave/0.7-incubating/apache-wave-bin-0.4.0-alpha.tar.bz2.sha
wget --no-check-certificate https://dist.apache.org/repos/dist/dev/incubator/wave/0.7-incubating/apache-wave-bin-0.4.0-alpha.zip
wget --no-check-certificate https://dist.apache.org/repos/dist/dev/incubator/wave/0.7-incubating/apache-wave-bin-0.4.0-alpha.zip.asc
wget --no-check-certificate https://dist.apache.org/repos/dist/dev/incubator/wave/0.7-incubating/apache-wave-bin-0.4.0-alpha.zip.sha
wget --no-check-certificate https://dist.apache.org/repos/dist/dev/incubator/wave/0.7-incubating/apache-wave-src-0.4.0-alpha.tar.bz2
wget --no-check-certificate https://dist.apache.org/repos/dist/dev/incubator/w
@staltz
staltz / introrx.md
Last active May 12, 2026 01:57
The introduction to Reactive Programming you've been missing
@rodw
rodw / pid-file-daemon.sh
Created August 14, 2012 01:53
Bash script that uses a PID file to add daemon-like start/stop/status behavior to an arbitrary program.
#!/bin/bash
# Uses a PID file to add daemon-like behavior to an arbitrary program.
################################################################################
usage() {
echo "Usage: `basename $0` PROGRAM {start|stop|restart|force-stop|force-restart|status} [PIDFILE|PID]" >&2
echo "Where: PROGRAM is an executable file." >&2
echo " PIDFILE is the file that contains (or will contain) the PID." >&2
echo " PID is a process id to use in place of a PIDFILE." >&2
}