Skip to content

Instantly share code, notes, and snippets.

View mvandermeulen's full-sized avatar

Mark mvandermeulen

  • Fivenynes
  • Sydney, Australia
  • 14:47 (UTC +10:00)
View GitHub Profile
@leonjang88
leonjang88 / claude_code_commands.sh
Created March 2, 2026 21:20
Claude Code (cc) tmux session management commands for .bashrc
#!/bin/bash
# Claude Code (cc) Commands for .bashrc
# Quick tmux-based session management for Claude Code
# Context directories
_CC_HA="$HOME/pezbox/infra/homeAssistant"
_CC_HW="$HOME/pezbox/hiveworth"
_CC_RS="$HOME/pezbox/redfin-scraper"
# Resolve context name to directory
@qgp9
qgp9 / README.md
Last active March 19, 2026 16:54
2-Layer tmux Configuration (BASE/WING)

2-Layer tmux Configuration

2-layer tmux 구조로, 외부(base)와 내부(inner) tmux를 중첩 실행하여 prefix 충돌 없이 독립적으로 관리한다.

파일 구조

~/.config/tmux/
├── common.conf        # 공통 설정 (양쪽 레이어가 source)
├── tmux.conf          # inner layer (prefix: C-a)
@bdougie
bdougie / init.lua
Created February 28, 2026 15:30
Neovim init.lua - migrated from vimrc with space leader and netrw file explorer
-- Leader key: spacebar (set before any mappings)
vim.g.mapleader = " "
vim.g.maplocalleader = " "
-------------------------------------------------
-- Options
-------------------------------------------------
vim.opt.wrap = true
vim.opt.textwidth = 80
vim.opt.autoindent = true
@grmkris
grmkris / claude-hooks-tmux-setup.md
Created February 27, 2026 11:00
Claude Code Hooks + tmux pane auto-focus setup

Claude Code Hooks + tmux Pane Focus Setup

Auto-focus the correct terminal pane when Claude Code finishes a task or needs your input. Shows macOS notifications with sound.

Prerequisites

  • Claude Code CLI installed
  • jq installed (brew install jq)
  • macOS (uses osascript for notifications)
@madalinignisca
madalinignisca / README.md
Last active March 19, 2026 16:56
Setup a clean cloud Ubuntu vm for Claude to work in it

Claude Code VM Setup

Idempotent bootstrap script for an Ubuntu 24.04 LTS development VM
optimised for Claude Code agent sessions.

Run it once to install everything. Run it again to update. Safe, transparent, and documented at every step.


Why this script?

@ds17f
ds17f / claude-resume
Created February 20, 2026 06:20
Schedule claude --resume sessions to run overnight in tmux panes. Sleep until a target time, then launch each session as an interactive Claude Code instance.
#!/usr/bin/env bash
set -euo pipefail
# claude-resume — Schedule claude --resume sessions to run overnight in tmux panes
usage() {
cat <<'EOF'
Usage: claude-resume <time> <sessions> [options]
Arguments:
@simoninglis
simoninglis / 30-project-workflow.sh
Created February 19, 2026 07:03
workon/workoff: project-specific tmux sessions with fzf, tab completion, and per-project .tmux-session files
#!/bin/bash
# Source: bash stow module (bash/.bashrc.d/30-project-workflow.sh)
# Purpose: Tmux-based project workflow functions (workon/workoff)
# Note: Sourced by ~/.bashrc, not executed directly
# Project workflow functions for tmux session management
# Helper function to normalize project names into valid tmux session names
# Converts customer/project -> customer-project, scratch/proj -> scratch-proj
function _normalize_session_name() {
@lirrensi
lirrensi / meta-manager.md
Created February 13, 2026 03:12
Opencode agent for managing opencode itself. Put into .config/opencode/agents.

description: MetaAgent - Manages OpenCode AI settings safely. Knows all internal paths, configs, permissions, tools and docs. Always proposes changes and asks for confirmation before editing anything. mode: primary temperature: 0.3 tools: read: true edit: true write: true bash: true glob: true

@flavono123
flavono123 / tmux-zle-replay-for-claude-code-teammate.zsh
Last active March 19, 2026 16:56
Fix tmux send-keys race condition with Zsh ZLE — Claude Code headless teammate workaround for tmux users (iTerm2 alternative). Keywords: claude-code, tmux, zsh, zle, send-keys, race-condition, AI agent, anthropic, agentic-coding, coding-agent, headless, teammate, swarm
# tmux-zle-replay-for-claude-code-teammate.zsh
#
# Keywords: claude-code, claude-code-teammate, claude-code-headless, tmux,
# zsh, zle, send-keys, race-condition, terminal, CLI, AI-agent,
# anthropic, coding-agent, agentic-coding, pair-programming
#
# Fix for tmux send-keys race condition with Zsh's ZLE (Zsh Line Editor).
#
# WHY YOU NEED THIS:
# If you run Claude Code teammates (headless agents) inside tmux instead of
@pmarreck
pmarreck / CLAUDE.md
Last active March 19, 2026 16:58
My current AGENTS/CLAUDE.md

Agent Briefing

Bit about me: <redacted personal info that is easily googleable anyway lol>

Your role: Functional, TDD-first, curiosity-prodding developer who balances correctness, performance, and clarity. Act as a precise pair programmer; when tradeoffs arise, list brief pros/cons and pause for direction.

Important: Refer to me as "Peter" in conversation, not "the user".

Curiosity cue: after each reasoning step, ask yourself: “What am I missing? What are the alternative designs? What could break, or be broken into? How might this be simpler or more concise?”

Work Rhythm