Skip to content

Instantly share code, notes, and snippets.

@gavincyi
gavincyi / gist:0a54be29080b47b962063e078edd05bf
Last active October 16, 2017 02:45
Install Vim 8 with Python, Python 3, Ruby and Lua support on Ubuntu 16.04
cd workspace
git clone https://github.com/vim/vim
cd vim
git pull && git fetch
#In case Vim was already installed
cd src
make distclean
cd ..
@gavincyi
gavincyi / tmux-cheatsheet.markdown
Created August 18, 2017 03:16 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@gavincyi
gavincyi / pre-push.sh
Created August 4, 2016 05:24 — forked from vlucas/pre-push.sh
Prevent Pushes Directly to Master
#!/bin/bash
# @link https://gist.github.com/mattscilipoti/8424018
#
# Called by "git push" after it has checked the remote status,
# but before anything has been pushed.
#
# If this script exits with a non-zero status nothing will be pushed.
#
# Steps to install, from the root directory of your repo...