Skip to content

Instantly share code, notes, and snippets.

View ajz's full-sized avatar

AJ Zmudosky ajz

  • San Francisco Bay Area
View GitHub Profile
@gilbert
gilbert / DefaultKeyBinding.dict
Last active February 27, 2018 11:30
Add missing keyboard shortcuts on OS X
/*
Create this as a file ~/Library/KeyBindings/DefaultKeyBinding.dict
Then restart your computer.
NOTE: ~ means alt/option
^ means ctrl
*/
{
"~f"="moveWordForward:";
"~b"="moveWordBackward:";
"~<"="moveToBeginningOfDocument:";
@aj-jester
aj-jester / sorted_json.rb
Last active January 18, 2018 12:39
Puppet parser function that takes unsorted hash and outputs sorted JSON object.
#
# LICENSE: https://gist.github.com/aj-jester/e0078c38db9eb7c1ef45
#
require 'json'
module JSON
class << self
@@loop = 0
def sorted_generate(obj)

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name: