Skip to content

Instantly share code, notes, and snippets.

View bschulz87's full-sized avatar
๐Ÿ‰

Benjamin Schulz bschulz87

๐Ÿ‰
  • Germany, Berlin
View GitHub Profile
@irazasyed
irazasyed / homebrew-permissions-issue.md
Last active January 25, 2025 15:00
Homebrew: Permissions Denied Issue Fix (OS X / macOS)

Homebrew Permissions Denied Issues Solution

sudo chown -R $(whoami) $(brew --prefix)/*

@leoapost
leoapost / gist:4318441
Created December 17, 2012 13:55
Delete all remote branches, except master
# Replace REMOTE_NAME with your remote name (e.g. origin)
git branch -r | grep REMOTE_NAME/ | grep -v 'master$' | grep -v HEAD| cut -d/ -f2 | while read line; do git push REMOTE_NAME :$line; done;

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name: