This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get update | |
sudo apt-get install -y libevent-dev libncurses-dev make | |
cd /tmp | |
wget https://github.com/tmux/tmux/releases/download/2.7/tmux-2.7.tar.gz | |
tar xvzf tmux-2.7.tar.gz | |
cd tmux-2.7/ | |
./configure && make | |
sudo make install | |
cd .. | |
rm -rf ./tmux-2.7* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# One of @janmoesen’s ProTip™s | |
for method in GET HEAD POST PUT DELETE TRACE OPTIONS; do | |
alias "$method"="lwp-request -m '$method'" | |
done | |
# Make Grunt print stack traces by default | |
command -v grunt > /dev/null && alias grunt="grunt --stack" | |
# Faster npm for europeans | |
command -v npm > /dev/null && alias npme="npm --registry http://registry.npmjs.eu" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# Install all dependencies on a Debian | |
# | |
apt-get update | |
apt-get upgrade -y | |
apt-get install -y build-essential git-core nginx libssl-dev pkg-config |