Skip to content

Instantly share code, notes, and snippets.

@augmen
augmen / tmux-cheatsheet.markdown
Created November 18, 2019 15:54 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@augmen
augmen / example.py
Created August 20, 2017 06:18 — forked from Flandan/example.py
Virtual Joystick Control from python using vJoy (http://vjoystick.sourceforge.net/site/index.php/77-vjoy/84-homepage-v200). A slight interface change to https://gist.github.com/varlen/c47e807e647cc56a6faf9d548d2c00f3 by varlen
from vjoy import vj, setJoy
import numpy as np
import time
print("vj opening", flush=True)
vj.open()
time.sleep(1)
# assumptions: virtualbox, vagrant already installed
# and there is a box lucid32
1. rails new appdmeo , gem capistrano , then bundle
2. vagrant init lucid32
3. capify .
# !important
# vagrant ssh-config >> ~/.ssh/config
# vagrant ssh-config | grep IdentityFile | awk '{print $2}' that's where private key located