Skip to content

Instantly share code, notes, and snippets.

View steveash's full-sized avatar

Steve Ash steveash

View GitHub Profile
@T4cC0re
T4cC0re / fix.sh
Last active July 7, 2017 16:51
Permanently fix VMWare kernel module sources for Kernel 4.6+ and (re-)build them (can be run multiple times)
#!/usr/bin/env bash
if [ "$(id -u)" != "0" ]; then
echo "This script must be run as root" 1>&2
exit 1
fi
KMAJ="$(uname -r | cut -d. -f1)"
KMIN="$(uname -r | cut -d. -f2)"
if [ "${KMAJ}" != "4" ]; then
echo "This script has to be run on a 4.x kernel." 1>&2
@andreyvit
andreyvit / tmux.md
Created June 13, 2012 03:41
tmux cheatsheet

tmux cheat sheet

(C-x means ctrl+x, M-x means alt+x)

Prefix key

The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf:

remap prefix to Control + a