Skip to content

Instantly share code, notes, and snippets.

View mannycolon's full-sized avatar
👨‍💻
Coding Remotely

Manny Colon mannycolon

👨‍💻
Coding Remotely
View GitHub Profile
@mannycolon
mannycolon / llm-wiki.md
Created May 1, 2026 20:30 — 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.

@mannycolon
mannycolon / .hyper.js
Last active March 15, 2022 15:38
Hyper Terminal Configs
"use strict";
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
// choose either `'stable'` for receiving highly polished,
// or `'canary'` for less polished but more frequent updates
updateChannel: 'stable',
// default font size in pixels for all tabs
{
"name": "sample-react-component-library",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"start": "styleguidist server",
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
export { default } from './MuiButton';
@mannycolon
mannycolon / npm-prerelease.md
Created December 1, 2020 16:02 — forked from schmich/npm-prerelease.md
Publish a prerelease package to NPM
  • Update package.json, set version to a prerelease version, e.g. 2.0.0-rc1, 3.1.5-rc4, ...
  • Run npm pack to create package
  • Run npm publish <package>.tgz --tag next to publish the package under the next tag
  • Run npm install --save package@next to install prerelease package
{
...,
"scripts": {
"start": "styleguidist server",
"build": "styleguidist build",
"prepublishOnly": "rm -rf ./dist && babel ./src --out-dir ./dist -s inline"
},
...,
}
export { default as Button } from './Button';
export { default as MuiButton } from './MuiButton';
{
...
"main": "dist/index.js",
...
}