Skip to content

Instantly share code, notes, and snippets.

@heypoom
Created February 1, 2019 03:26
Show Gist options
  • Save heypoom/42068205b75b27c729e405b68c8b5af2 to your computer and use it in GitHub Desktop.
Save heypoom/42068205b75b27c729e405b68c8b5af2 to your computer and use it in GitHub Desktop.

command + option + esc = force quit command + , = preferences command + w = close window option + command + w = close all window command + l = address bar command + `- = switch between windows command + shift + t = open previously closed tabs command + ; = spelling control + command + D = dictionary lookup option + delete = delete word command + H = hide current windows option + command + H = hide other windows

fx - explore JSON structures like a boss

https://medium.com/@antonmedv/discover-how-to-use-fx-effectively-668845d2a4ea ~/.fxrc -> add npm libraries (ex. ramda) + snippets . = path filter, C+w = delete 1 level, C+u = start over

tokei- count number of lines, sorted by language!fd '.*.md$' ~- find files likefindin all subdirs but faster!bat file.js- likecatbut with beautiful syntax highlighting~rg- ripgrep: faster thangrepandag hyperfine --warmup 3 --min-runs 5 'sleep 0.2' 'sleep 3.2'- benchmark shell commands!exa- likelsbut more awesome!bingrep -D /bin/ls- grep through binaries! (-D demangles)pax --watch index.js bundle.js- amazing module bundlerrbspy record --pid $PIDorruby hello.rb- profile ruby scripts~py-spy --pid 12345or-- python hello.pyor with--flame profile.svg- profile python scriptsranger- file manager!z` - jump! :D

lnav yank ncdu tig peco spark


gem list gem environment gem which gem help commands


Colorized by GRC

cat cvs df diff dig gcc g++ ifconfig ls make mount mtr netstat ping ps tail traceroute wdiff

grc netstat grc ping hostname grc tail /var/log/syslog grc ps aux

tail -F /var/log/syslog | grcat conf.log >/dev/tty12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment