Skip to content

Instantly share code, notes, and snippets.

View japrescott's full-sized avatar
🤔

Jeremy A. Prescott japrescott

🤔
  • Zürich, Switzerland
View GitHub Profile
@japrescott
japrescott / tmux_install.sh
Last active June 17, 2021 09:48 — forked from niclin/tmux_install.sh
Install tmux 2.7 on Ubuntu 16.04 from source
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*
# 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"
@japrescott
japrescott / goNode.sh
Last active January 1, 2016 11:49
Node Mongo Nginx Setup
#!/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