Skip to content

Instantly share code, notes, and snippets.

View mattpetters's full-sized avatar

matt petters mattpetters

  • San Diego
  • 17:38 (UTC -07:00)
View GitHub Profile
@mattpetters
mattpetters / runpod_codex_36.md
Last active May 16, 2026 09:20 — forked from goodalexander/runpod_codex_36.md
how to get Qwen3.6 going on a runpod

Self-Hosted Qwen3.6-27B on RunPod + OpenAI Codex CLI

End-to-end guide for running Qwen3.6-27B as a private, self-hosted coding agent accessible from your Mac via SSH tunnel and OpenAI Codex CLI. Hardware-tested on RTX PRO 6000 Blackwell. ~$1.91/hr.

Prerequisites

  • RunPod account with credit loaded
  • SSH key on your Mac (~/.ssh/id_ed25519 and .pub)
  • Node.js 18+ on your Mac (for Codex CLI)
  • Hugging Face account + read token (avoids rate limits on downloads)
@goodalexander
goodalexander / runpod_codex_36.md
Created April 23, 2026 00:58
how to get Qwen3.6 going on a runpod

Self-Hosted Qwen3.6-27B on RunPod + OpenAI Codex CLI

End-to-end guide for running Qwen3.6-27B as a private, self-hosted coding agent accessible from your Mac via SSH tunnel and OpenAI Codex CLI. Hardware-tested on RTX PRO 6000 Blackwell. ~$1.91/hr.

Prerequisites

  • RunPod account with credit loaded
  • SSH key on your Mac (~/.ssh/id_ed25519 and .pub)
  • Node.js 18+ on your Mac (for Codex CLI)
  • Hugging Face account + read token (avoids rate limits on downloads)
@dabit3
dabit3 / pi_tutorial.md
Last active July 20, 2026 05:41
How to Build a Custom Agent Framework with PI: The Agent Stack Powering OpenClaw

PI is a TypeScript toolkit for building AI agents. It's a monorepo of packages that layer on top of each other: pi-ai handles LLM communication across providers, pi-agent-core adds the agent loop with tool calling, pi-coding-agent gives you a full coding agent with built-in tools, session persistence, and extensibility, and pi-tui provides a terminal UI for building CLI interfaces.

These are the same packages that power OpenClaw. This guide walks through each layer, progressively building up to a fully featured coding assistant with a terminal UI, session persistence, and custom tools.

By understanding how to compose these layers, you can build production-grade agentic software on your own terms, without being locked into a specific abstraction.

Pi was created by @badlogicgames. This is a great writeup from him that explains some of the design decisions made when creating it.

The stack

@jrcharney
jrcharney / .tmux.conf
Created May 23, 2025 23:18
Tmux configuration that is easy to use
# File: ~/.tmux.conf
# Info: Tmux configuration
# Created by: Jason Charney (https://github.com/jrcharney)
# Last Updated: 23 May 2025
# To reload the config file, you can run 'tmux source-file ~/.tmux.conf' or restart tmux
# For a list of tmux command, see https://tmuxcheatsheet.com/
# enable mouse mode (easier for resizing panes)
set -g mouse
@karpathy
karpathy / add_to_zshrc.sh
Created August 25, 2024 20:43
Git Commit Message AI
# -----------------------------------------------------------------------------
# AI-powered Git Commit Function
# Copy paste this gist into your ~/.bashrc or ~/.zshrc to gain the `gcm` command. It:
# 1) gets the current staged changed diff
# 2) sends them to an LLM to write the git commit message
# 3) allows you to easily accept, edit, regenerate, cancel
# But - just read and edit the code however you like
# the `llm` CLI util is awesome, can get it here: https://llm.datasette.io/en/stable/
gcm() {
@Mourishitz
Mourishitz / neotest.lua
Last active August 29, 2024 22:05
neotest.lua
local prefix = "<Leader>T"
return {
{
"nvim-neotest/neotest",
lazy = true,
dependencies = {
"nvim-lua/plenary.nvim",
"nvim-neotest/nvim-nio",
"V13Axel/neotest-pest",
{
@siduck
siduck / migrate.sh
Last active March 28, 2025 02:54
Migrate from v2.0 to v2.5 ( Unix Only )
#!/bin/bash
# Run the script from home dir
cd ~
nvim_config="$HOME/.config/nvim"
nvim_data="$HOME/.local/share/nvim"
cp -r "$nvim_config" nvim_bak # backup nvim dir
cp -r "$nvim_config/lua/custom" .
@couto
couto / neotest.lua
Created October 30, 2023 08:32
neotest.lua
return {
"nvim-neotest/neotest",
cond = not vim.g.vscode,
config = function()
-- get neotest namespace (api call creates or returns namespace)
local neotest_ns = vim.api.nvim_create_namespace("neotest")
vim.diagnostic.config({
virtual_text = {
format = function(diagnostic)
local message = diagnostic.message:gsub("\n", " "):gsub("\t", " "):gsub("%s+", " "):gsub("^%s+", "")
@ianchesal
ianchesal / overrides.lua
Created May 8, 2023 18:45
copilot.lua + copilot-cmp in NvChad
-- Add the following in your custom/configs/overrides.lua file. You can configure copilot to meet your needs here.
M.copilot = {
-- Possible configurable fields can be found on:
-- https://github.com/zbirenbaum/copilot.lua#setup-and-configuration
suggestion = {
enable = false,
},
panel = {
enable = false,
@vwkd
vwkd / michael-burry-msn-articles.md
Last active July 11, 2026 01:24
Most Michael Burry MSN MoneyCentral articles. See comments in source for articles that weren't available in the Wayback Machine or might be missing.

MSN MoneyCentral - Strategy Lab - Value Doc - Dr. Michael Burry

Michael operates on out-of-favor industries to find best-of-breed companies trading at steep discounts.

Michael focuses on free cash flow and private market valuation as he scours out-of-favor industries and overlooked securities.