Skip to content

Instantly share code, notes, and snippets.

View austintraver's full-sized avatar

Austin Traver austintraver

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.

# ============================================================
# Written by Coolsonickirby
# Use Python 3.9 or higher
#
# You shouldn't need to install any modules for this script
# You do however need to have curl downloaded and added to PATH
#
# You also need sys-ftpd(-light) set up on your switch (even for normal `cargo skyline run`)
#
# Usage: python cargo-skyline-run.py
# ============================================================
# Written by Coolsonickirby
# Use Python 3.9 or higher
#
# You shouldn't need to install any modules for this script
# However, you do need sys-ftpd(-light) set up on your switch
# This also won't work on emulators (for now) since irdc about that
#
# Make sure you update the following variables for your specific setup:
# - server
@blu-dev
blu-dev / explanation.md
Last active March 4, 2023 07:52
Latency Slider Explanation

Well, I suppose that the cat is out of the bag, yeah? Someone has ported the input latency adjustment part of HDR to vanilla.

Since I co-authored this feature, I think it is fair that I explain how it works so that misinformation about it being "fair" or anything like that doesn't spread.

Client Side Only

Honestly, we aren't quite sure why the SSBU development team did not synchronize this between players, it should have been one of the key things they did synchronize to ensure fair play.

The easiest way to explain this is:

  • Player A: Has the mod and has set their latency to 2 frames.
  • Player B: Does not have the mod, Smash Ultimate assigns them 5 frames by default.
@blu-dev
blu-dev / instructions.md
Last active March 4, 2023 07:18
Installation & Usage Guide for blujay's Better-SSS v1

Installation

Inside of the ZIP file that you should get with the Ko-Fi/Patreon release, there should be a folder titled "SD CARD". The contents of that folder need to be copied to the root of your SD card, so that in the result you should have the following files on your SD card:

sd:/ultimate/mods/better-sss/ui/script_patch/common/stage_select_actor3.lc
sd:/ultimate/mods/better-sss/ui/layout/patch/stage_select2/stage_select2/layout.arc
sd:/ultimate/mods/better-sss/plugin.nro

You should also have an info.toml and preview.webpin the better-sss folder, that is for ARCropolis's mod manager.

Usage

@luckman212
luckman212 / imessage-i-mean-what-i-type.sh
Last active October 13, 2022 05:00
Possible fix for iMessage text mangling
#!/usr/bin/env bash
# ref:
# https://forums.macrumors.com/threads/smart-quotes-forced-on-in-messages.2284346/post-30657259
_res() {
(( res += $1 ))
}
res=0
@jam1garner
jam1garner / switch-gdb-cheatsheet.md
Last active October 19, 2026 10:24
GDB for Switch Modding Cheatsheet/Tutorial

This is a mini-tutorial of sorts for getting started with gdb on the Switch, with the target audience being people who want to mod and/or reverse games, with no prerequisite knowledge of gdb. The goal will be to walk you through some of the basic workflows needed to use a debugger on the Switch, while being brief enough for skimming for when you forget things.

If some part is unclear, your OS doesn't have install instructions, or you feel part of your workflow should be added here, feel free to comment any additions.

(If you only need a quick reference Jump to the Appendix)

Installing GDB

First off you'll need a version of GDB compatible with aarch64. This can be obtained via either a distribution of

@ghostrider-05
ghostrider-05 / discord_app_protocols.md
Last active November 12, 2026 09:52
An unofficial list of discord app protocol routes

Discord app protocol routes

I know these links work on Windows, have not tested this on any other operating systems.

Home:

  • /: discord://-/
  • friends: discord://-/channels/@me/
  • nitro: discord://-/store
  • shop: discord://-/shop
@austintraver
austintraver / README.css
Last active April 21, 2021 20:12
Custom style sheet that replicates the look of GitHub's rendering of markdown files
body {
background-color: white;
}
@Fang-
Fang- / iina-youtube.js
Last active October 19, 2025 03:06
Turn Youtube links into IINA application links.
// ==UserScript==
// @name Open Youtube links in IINA
// @namespace https://palfun-foslup.urbit.org/
// @description Replaces Youtube links with a link to open them in IINA. Set a useful whitelist for yourself.
// @include *youtube.com/*
// @updateURL https://gist.githubusercontent.com/Fang-/7db1ac4e798a7128f006fa535f42cfb0/raw/25b60b08e55be87d2b0d5630d1f580b15ca2870d/iina-youtube.js
// @downloadURL https://gist.githubusercontent.com/Fang-/7db1ac4e798a7128f006fa535f42cfb0/raw/25b60b08e55be87d2b0d5630d1f580b15ca2870d/iina-youtube.js
// @run-at document-end
// @version 1.0
// ==/UserScript==