This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # Portable tmux config — iTerm2-ish training wheels for any machine | |
| # curl -fsSL https://gist.githubusercontent.com/YOUR_USER/GIST_ID/raw | bash | |
| set -euo pipefail | |
| TMUX_CONF="$HOME/.tmux.conf" | |
| if [ -f "$TMUX_CONF" ]; then | |
| cp "$TMUX_CONF" "$TMUX_CONF.bak.$(date +%s)" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # RunPod helper functions | |
| # Add to your ~/.zshrc | |
| # SSH options to skip host key verification (pods have dynamic IPs) | |
| SSH_OPTS=(-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null) | |
| # Install Claude Code on a pod | |
| rpsetup() { | |
| local pod="${1:-}" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # portable-nvim.sh - Install Neovim in userspace without sudo | |
| # curl -sL https://gist.github.com/JoeHowarth/dd537ef1955dbee84aed595e9258193b/raw | bash | |
| # To install via ssh: ssh user@host "curl -sL https://gist.github.com/JoeHowarth/dd537ef1955dbee84aed595e9258193b/raw | bash" | |
| set -euo pipefail | |
| # Configuration | |
| INSTALL_DIR="$HOME/.local/nvim" | |
| NVIM_VERSION="v0.10.2" # Set a specific version for stability | |
| ARCH="$(uname -m)" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # portable-nvim.sh - Install Neovim in userspace without sudo | |
| # run with: ssh user@host "curl -sL https://your-host/portable-nvim.sh | bash" | |
| set -euo pipefail | |
| # Configuration | |
| INSTALL_DIR="$HOME/.local/nvim" | |
| NVIM_VERSION="v0.9.5" # Set a specific version for stability | |
| ARCH="$(uname -m)" | |
| OS="$(uname -s | tr '[:upper:]' '[:lower:]')" |