Skip to content

Instantly share code, notes, and snippets.

View amcgowanca's full-sized avatar

Aaron McGowan amcgowanca

View GitHub Profile
@shinzui
shinzui / tmux.conf
Created March 12, 2011 01:08 — forked from bryanl/tmux.conf
tmux.conf
# ~/.tmux.conf
#
# See the following files:
#
# /opt/local/share/doc/tmux/t-williams.conf
# /opt/local/share/doc/tmux/screen-keys.conf
# /opt/local/share/doc/tmux/vim-keys.conf
#
# URLs to read:
#

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name:

@jexchan
jexchan / multiple_ssh_setting.md
Created April 10, 2012 15:00
Multiple SSH keys for different github accounts

Multiple SSH Keys settings for different github account

create different public key

create different ssh key according the article Mac Set-Up Git

$ ssh-keygen -t rsa -C "your_email@youremail.com"
@rodw
rodw / backup-github.sh
Last active December 23, 2025 12:15
A simple script to backup an organization's GitHub repositories, wikis and issues.
#!/bin/bash
# A simple script to backup an organization's GitHub repositories.
#-------------------------------------------------------------------------------
# NOTES:
#-------------------------------------------------------------------------------
# * User @jimklimov (and probably some others called out in the long comment
# thread below) have modified this script to make it more robust and keep
# up with various changes in the GitHub API and response format at:
# https://github.com/jimklimov/github-scripts
@kevinchampion
kevinchampion / lang.php
Last active December 16, 2015 16:09
language handling best practice
/**
* Link field has issue with rendering the <front> option. Lets give it a bit
* of help
* @param $variables preprocess variables
* @param $hook
*/
function openedu_linkblock_preprocess_field(&$vars, $hook) {
global $language;
$lang = $language->language;
@arutkayb
arutkayb / README.md
Created June 23, 2026 06:41
Workaround for Claude Code API Error: Unable to connect to API (ECONNRESET)

claude-upload-limit-workaround

Fix for Claude Code (and any large HTTPS upload) failing with API Error: Unable to connect to API (ECONNRESET) on a specific home network.

Symptom

  • Short Claude requests always work; long sessions reset after ~5–13 min.
  • Works fine on a phone hotspot, fails on home Wi-Fi.
  • Debug log shows the same request retried 11 times, each dying at a