Skip to content

Instantly share code, notes, and snippets.

View cicorias's full-sized avatar

Shawn Cicoria cicorias

View GitHub Profile
@cicorias
cicorias / INSTALL.md
Created July 20, 2026 19:48 — forked from burkeholland/INSTALL.md
Cache Break Notifier plugin for GitHub Copilot CLI

Install Cache Break Notifier

Install this plugin directly from its GitHub Gist:

copilot plugin install https://gist.github.com/burkeholland/647ad0e579c06a43346ce6a373261eba.git

Start Copilot CLI to load the plugin:

@cicorias
cicorias / extension.mjs
Created July 20, 2026 19:32 — forked from burkeholland/extension.mjs
cache-break-notifier
// cache-drop-notifier
//
// In one line: every turn this tells you how many tokens were reused from the prompt
// cache, and warns you when that number suddenly collapses.
//
// Why it matters: every time you send a message, Copilot re-sends your entire
// conversation plus a large block of setup text (its instructions, every tool
// definition, your enabled skills, and so on). That is tens of thousands of tokens
// before you have typed a word. The model provider caches the front of that payload
// so it does not reprocess it each turn. You keep that discount only while the front
@cicorias
cicorias / llm-wiki.md
Created April 6, 2026 17:54 — 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.

@cicorias
cicorias / .env
Last active April 16, 2026 14:18
Deploy an Azure Container App with NVIDIA CUDA
LOCATION=westus3
WORKLOAD_PROFILE_TYPE="Consumption-GPU-NC24-A100"
WORKLOAD_PROFILE_NAME="nc24-a100-profile"
@cicorias
cicorias / microgpt.py
Created February 12, 2026 12:23 — forked from karpathy/microgpt.py
microgpt
"""
The most atomic way to train and inference a GPT in pure, dependency-free Python.
This file is the complete algorithm.
Everything else is just efficiency.
@karpathy
"""
import os # os.path.exists
import math # math.log, math.exp
@cicorias
cicorias / git-pull-all.sh
Created January 20, 2026 14:46
refresh git repos from root
#!/bin/bash
# Script to fetch and pull git repositories listed in gitrepos.txt
# Usage: ./git-pull-all.sh [path-to-gitrepos.txt]
REPO_FILE="${1:-gitrepos.txt}"
BASE_DIR="$(pwd)"
# Check if the repo file exists
if [[ ! -f "$REPO_FILE" ]]; then
@cicorias
cicorias / README.md
Last active June 24, 2026 20:41
claude file search tool - quick guide to improve and make faster your Claude Code file suggestion
@cicorias
cicorias / README.md
Created January 6, 2026 21:12 — forked from soderlind/README.md
Ralph loop wrapper for GitHub Copilot CLI (programmatic mode)
⠀⠀⠀⠀⠀⠀⣀⣤⣶⡶⢛⠟⡿⠻⢻⢿⢶⢦⣄⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⢀⣠⡾⡫⢊⠌⡐⢡⠊⢰⠁⡎⠘⡄⢢⠙⡛⡷⢤⡀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⢠⢪⢋⡞⢠⠃⡜⠀⠎⠀⠉⠀⠃⠀⠃⠀⠃⠙⠘⠊⢻⠦⠀⠀⠀⠀⠀⠀
⠀⠀⢇⡇⡜⠀⠜⠀⠁⠀⢀⠔⠉⠉⠑⠄⠀⠀⡰⠊⠉⠑⡄⡇⠀⠀⠀⠀⠀⠀
⠀⠀⡸⠧⠄⠀⠀⠀⠀⠀⠘⡀⠾⠀⠀⣸⠀⠀⢧⠀⠛⠀⠌⡇⠀⠀⠀⠀⠀⠀
⠀⠘⡇⠀⠀⠀⠀⠀⠀⠀⠀⠙⠒⠒⠚⠁⠈⠉⠲⡍⠒⠈⠀⡇⠀⠀⠀⠀⠀⠀
⠀⠀⠈⠲⣆⠀⠀⠀⠀⠀⠀⠀⠀⣠⠖⠉⡹⠤⠶⠁⠀⠀⠀⠈⢦⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠈⣦⡀⠀⠀⠀⠀⠧⣴⠁⠀⠘⠓⢲⣄⣀⣀⣀⡤⠔⠃⠀⠀⠀⠀⠀
⠀⠀⠀⠀⣜⠀⠈⠓⠦⢄⣀⣀⣸⠀⠀⠀⠀⠁⢈⢇⣼⡁⠀⠀⠀⠀⠀⠀⠀⠀
@cicorias
cicorias / update-aur-vscode.sh
Last active December 27, 2025 02:31
update vs code direct from aur instead of omarchy mirror stable which is latent
#!/usr/bin/env bash
# use this after a 'yay -S aur/visual-studio-code-bin' on omarchy / arch linux
# add to /etc/pacman.conf a "IgnorePkg = visual-studio-code-bin" as wel
set -euo pipefail
PKG="visual-studio-code-bin"
current_ver() {