Skip to content

Instantly share code, notes, and snippets.

View mvandermeulen's full-sized avatar

Mark mvandermeulen

  • Fivenynes
  • Sydney, Australia
  • 14:06 (UTC +11:00)
View GitHub Profile
@venkataanil
venkataanil / gist:546f15bf2498a22d92743dc91ace3214
Created April 8, 2026 10:45
create_external_vrf_frr.sh
#!/bin/bash
set -x
set +x
# Arguments passed from kube-burner
NUM_CUDN=${1:-72}
EXTERNAL_WEBSERVER_IP=${2:-""}
L3VNI_START=${3:-100}
L2VNI_START=${4:-20000}
@thimslugga
thimslugga / .wezterm.lua
Last active October 19, 2026 13:15
Agent Teams Setup
-- wezterm.lua -- config optimized for Claude Code
-- Place at: ~/.wezterm.lua
--
-- NOTE: Like zellij, WezTerm does not yet have native Claude Code
-- agent team split-pane support (only tmux and iTerm2 do).
-- Agent teams will fall back to in-process mode. However, WezTerm's
-- CLI (wezterm cli split-pane, send-text, etc.) makes manual
-- orchestration straightforward. See the companion launcher script.
local wezterm = require("wezterm")
#!/bin/bash
# Configuration Constants
LOCAL_IP="198.18.0.155" # Host VTEP IP
ANYCAST_SVC_IP="172.27.187.82" # The Shared Service IP
BGP_AS=64512 # Your BGP AS
# 1. Global Kernel Tuning for VRF/Anycast
echo "Tuning kernel for Anycast VRF performance..."
sysctl -w net.ipv4.tcp_l3mdev_accept=1
@vorlon001
vorlon001 / readme.md
Created March 10, 2026 18:56
FRR EVPN Multi-Homing A или диалоги с Гугл ИИ

Для реализации FRR EVPN Multi-Homing (MH) в режиме All-Active (AA) ключевым элементом является настройка ESI (Ethernet Segment Identifier) на интерфейсах, смотрящих в сторону клиента (CE).
Ниже приведен базовый пример конфигурации для одного из двух VTEP (коммутаторов доступа), работающих в паре.
Конфигурация интерфейса (Bond/LACP)
Интерфейс должен быть объединен в Bond, чтобы ядро Linux и FRR понимали логику Multi-Homing.

# В системе (Linux)
ip link add bond0 type bond mode balance-lacp
ip link set eth1 master bond0
@jarellano01
jarellano01 / terminal-setup.md
Last active September 18, 2026 17:28
Terminal Setup: WezTerm + Zellij + Neovim + Starship (Claude Code oriented)

Terminal Setup: WezTerm + Zellij + Neovim + Starship (Claude Code oriented)

Terminal Setup: WezTerm + Zellij + Neovim + Starship + Glow (Claude Code oriented)

Terminal Setup: WezTerm + Zellij + Neovim

Claude Code-oriented terminal setup with Cmd+Click file opening in floating nvim panes.

What You Get

@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 August 23, 2026 19:27
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?