Skip to content

Instantly share code, notes, and snippets.

View beacrea's full-sized avatar

Coty Beasley beacrea

View GitHub Profile

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.

@firatkucuk
firatkucuk / delete-slack-messages.js
Last active February 4, 2026 21:36
Deletes slack public/private channel messages, private chat messages and channel thread replies.
#!/usr/bin/env node
// Channel ID is on the the browser URL.: https://mycompany.slack.com/messages/MYCHANNELID/
// Pass it as a parameter: node ./delete-slack-messages.js CHANNEL_ID
// CONFIGURATION #######################################################################################################
const token = 'SLACK TOKEN';
// Legacy tokens are no more supported.
// Please create an app or use an existing Slack App
@beacrea
beacrea / destingyLFGCharUpdate.js
Last active January 6, 2016 14:51
A console command to continually update a character
// For http://www.destinylfg.com
// Execute to trigger update button every 3 seconds
// Refresh page to stop
setInterval(function(){ $('#updateMeForm').click(); }, 3000);
@AndrewRademacher
AndrewRademacher / WhenToDropIt.hs
Last active August 29, 2015 14:05
A purely functional lookup to help you determine what to do when it's hot, based on your sitch. Based on esteemed work from Coty Beasley and Chad Elliot.
module WhenToDropIt
( Sitch (..)
, whatDoIDo
) where
data Sitch = Pigs | Pimps | NgAttitude
suffix :: String
suffix = " like it's hot." ++
"\nI got the rolly on my arm and I'm puring Chandon."
@THEtheChad
THEtheChad / stop.js
Created August 7, 2014 18:09
Not sure what to do? "Stop!" can help you!
function stop(){
var idx = Math.floor(Math.random() * 3);
alert(stop.MAP[idx]);
}
stop.MAP = [
'You should collaborate and listen.',
'It\'s Hammertime!',
'In the name of love.'
];
@THEtheChad
THEtheChad / whenToDropIt.js
Last active August 29, 2015 14:05 — forked from beacrea/whenToDropIt.js
A functional lookup to help you determine what to do when it's hot, based on your sitch. Original by Sir Coty Beasley.
function mySitch(situation){
var holla = 'I got the rolly on my arm and I\'m pouring Chandon.';
if(mySitch.LOOKUP.hasOwnProperty(situation)){
holla = [mySitch.LOOKUP[situation], mySitch.SUFFIX].join(' ');
}
alert(holla);
}
@kyledrake
kyledrake / ferengi-plan.txt
Last active November 14, 2025 04:39
How to throttle the FCC to dial up modem speeds on your website using Nginx
# The blog post that started it all: https://neocities.org/blog/the-fcc-is-now-rate-limited
#
# Current known FCC address ranges:
# https://news.ycombinator.com/item?id=7716915
#
# Confirm/locate FCC IP ranges with this: http://whois.arin.net/rest/net/NET-165-135-0-0-1/pft
#
# In your nginx.conf:
location / {
@beacrea
beacrea / appIcon-metaSnippet.html
Created February 14, 2014 18:46
AppIcon META Markup
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="apple-touch-icon-144x144-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="apple-touch-icon-114x114-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="apple-touch-icon-72x72-precomposed.png">
<link rel="apple-touch-icon-precomposed" href="apple-touch-icon-57x57-precomposed.png">
<link rel="shortcut icon" sizes="196x196" href="touch-icon-196x196.png">
<link rel="shortcut icon" href="apple-touch-icon.png”>
<!-- Tile icon for Win8 (144x144 + tile color) -->
<meta name="msapplication-TileImage" content="apple-touch-icon-144x144-precomposed.png">
<meta name="msapplication-TileColor" content="#1f81c1">
@beacrea
beacrea / .bash_profile
Last active January 21, 2017 20:07
My current bash profile.
# Exports
export CLICOLOR=1
export LSCOLORS=ExFxCxDxBxegedabagacad
export PS1="\e[1;34;40m[\u@\h \W]\$ \e[m "
# Aliases
alias nserver="node ~/node/server.js"
alias ll="ls -al"
alias colors="python colors -t"
alias h5bp="git clone https://github.com/h5bp/html5-boilerplate.git"
@hofmannsven
hofmannsven / README.md
Last active February 24, 2026 02:03
Git CLI Cheatsheet