Skip to content

Instantly share code, notes, and snippets.

View dwmkerr's full-sized avatar

Dave Kerr dwmkerr

View GitHub Profile
set-option -g default-command "reattach-to-user-namespace -l $SHELL"
set-option -ga terminal-overrides ",xterm-256color:Tc"
set-option -g default-terminal "screen-256color"
# start windows and panes at 1
set -g base-index 1
set -g pane-base-index 1
# use vi mode
@hirobert
hirobert / flask_abort_example.py
Created January 13, 2016 20:38
flask abort as json
from flask import abort, make_response, jsonify
abort(make_response(jsonify(message="Message goes here"), 400))
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active May 7, 2024 06:03
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname