Skip to content

Instantly share code, notes, and snippets.

View cicorias's full-sized avatar

Shawn Cicoria cicorias

View GitHub Profile
@cicorias
cicorias / mise.instructions.md
Created August 19, 2026 14:38
mise instructions

Use Mise toml correctly

Task Grouping

Tasks can be grouped semantically by using name prefixes separated with :s. For example all testing related tasks may begin with test:. Nested grouping can also be used to further refine groups and simplify pattern matching. For example running mise run test:**:local will matchtest:units:local, test:integration:local and test:e2e:happy:local (See Wildcards for more information).

TIP

Since TOML keys can't contain colons without quoting, use quoted keys in mise.toml:

@cicorias
cicorias / .zshrc
Created August 18, 2026 19:43
mise zshrc
# >>> mise:activate >>> managed by mise — do not edit between markers
eval "$(mise activate zsh)"
source <(mise completion zsh)
# <<< mise:activate <<<
@cicorias
cicorias / README.md
Created August 13, 2026 14:24 — forked from asapdotid/README.md
How to Uninstall Podman Completely
@cicorias
cicorias / .mise.local.toml
Last active August 13, 2026 16:46
mise local toml for phyiscal ai toolchain gpu offload automation
[env]
PIP_INDEX_URL = "https://packagefeedproxy.microsoft.io/pypi/simple/"
UV_INDEX_URL = "https://packagefeedproxy.microsoft.io/pypi/simple/"
npm_config_registry = "https://packagefeedproxy.microsoft.io/npm/"
[tasks."gpu-offload:cluster-00-list"]
description = "List local Podman-backed kind clusters and node containers"
run = '''
KIND_EXPERIMENTAL_PROVIDER=podman kind get clusters
podman ps --all --filter label=io.x-k8s.kind.cluster
@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