As configured in my dotfiles.
start new:
tmux
start new with session name:
As configured in my dotfiles.
start new:
tmux
start new with session name:
Prereq:
apt-get install zsh
apt-get install git-coreGetting zsh to work in ubuntu is weird, since sh does not understand the source command. So, you do this to install zsh
wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
| #!/usr/bin/env bash | |
| # gsettings list-recursively org.gnome.system.proxy | |
| # Change de ip address and port number accordingly. | |
| function myProxyOn() { | |
| gsettings set org.gnome.system.proxy mode 'manual' # ' manual / nome / automatic ' | |
| gsettings set org.gnome.system.proxy.http host '10.0.0.1' | |
| gsettings set org.gnome.system.proxy.http port 8080 | |
| gsettings set org.gnome.system.proxy.https host '10.0.0.1' |
Locate the section for your github remote in the .git/config file. It looks like this:
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = git@github.com:joyent/node.git
Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/* to this section. Obviously, change the github url to match your project's URL. It ends up looking like this: