Skip to content

Instantly share code, notes, and snippets.

# docker
alias dockerls='docker container ls --format "table {{.ID}}\t{{.Names}}\t{{.Status}}\t{{.Ports}}" -a'
# java
alias java11="export JAVA_HOME=$(/usr/libexec/java_home -v 11)"
alias java8="export JAVA_HOME=$(/usr/libexec/java_home -v 1.8)"
@dgm90
dgm90 / iterm2.md
Created April 26, 2021 10:04 — forked from squarism/iterm2.md
iterm2 cheatsheet

Tabs and Windows

Function Shortcut
New Tab + T
Close Tab or Window + W (same as many mac apps)
Go to Tab + Number Key (ie: ⌘2 is 2nd tab)
Go to Split Pane by Direction + Option + Arrow Key
Cycle iTerm Windows + backtick (true of all mac apps and works with desktops/mission control)
@dgm90
dgm90 / Useful_links.txt
Last active June 3, 2020 18:12
Cool manuals