Skip to content

Instantly share code, notes, and snippets.

View JonathanWolfe's full-sized avatar

Jon Wolfe JonathanWolfe

View GitHub Profile
@JonathanWolfe
JonathanWolfe / update-all-branches.sh
Created March 20, 2018 15:10
Update all branches of repo (includes filter)
#!/bin/bash
# Merges the ${BASE} branch into all other branches
#
# Process:
#
# - Save the name of the current branch
# - If the current branch is not ${BASE} then checkout ${BASE}.
# - Pull the latest changes for ${BASE} from its upstream branch.
# - Loop over each remote branch.
@JonathanWolfe
JonathanWolfe / cobalt2.tmtheme
Created January 3, 2017 22:00
Cobalt2 but ran through a formatter
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>comment</key>
<string>Created by Wes Bos. Based on ‘Cobalt’</string>
<key>author</key>
<string>Wes Bos</string>
@JonathanWolfe
JonathanWolfe / update-mac.sh
Created August 11, 2015 13:01
Update your Mac's various systems and packages (Oh-My-ZSH, Homebrew, Ruby Gems, PIP, NPM)
echo ''
echo ''
echo '=== update Oh-My-ZSH ==='
echo ''
echo ''
env ZSH=$ZSH /bin/sh $ZSH/tools/upgrade.sh
echo ''
echo ''