git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
| #!/bin/sh | |
| # | |
| # Setup a work space called `work` with two windows | |
| # first window has 3 panes. | |
| # The first pane set at 65%, split horizontally, set to api root and running vim | |
| # pane 2 is split at 25% and running redis-server | |
| # pane 3 is set to api root and bash prompt. | |
| # note: `api` aliased to `cd ~/path/to/work` | |
| # | |
| session="work" |
| #!/bin/bash | |
| set -e | |
| if [ $# -eq 0 ]; then | |
| echo "USAGE: $0 plugin1 plugin2 ..." | |
| exit 1 | |
| fi | |
| plugin_dir=/var/lib/jenkins/plugins |
| #!/bin/bash | |
| # get all running docker container names | |
| containers=$(sudo docker ps | awk '{if(NR>1) print $NF}') | |
| host=$(hostname) | |
| # loop through all containers | |
| for container in $containers | |
| do | |
| echo "Container: $container" |
| The primary goal is to swap command and option. | |
| The secondary goal is to remap Caps Lock to Control. | |
| The tertiary goal is to share modifier keys across keyboards, so you can emacs with two keyboards. | |
| The following instructions are good as of 2016-08-24, for OS X El Capitan 10.11.6. | |
| Mac OS Sierra broke Seil support; Seil instructs us to consider Karabiner Elements. | |
| But when Karabiner Elements swaps command and option, it does it for all keyboards; | |
| meaning the native keyboard also gets its command and option swapped, which is bad! |