Slide 1

Slide 1 text

CLI TOOLS Alexander Reelsen @spinscale [email protected] productivity, productivity, productivity

Slide 2

Slide 2 text

#CLITOOLOFTHEDAY

Slide 3

Slide 3 text

KNOW YOUR TOOLS! AND YOUR KEYBOARD SHORTCUTS? ▸ Can you filter by regex in less? Can you fold lines in less? ▸ osx: How to switch between mirror screens/regular? ▸ Keynote: How to leave presentation but keep active? ▸ tmux/screen ▸ zsh/powerline: https://github.com/sorin-ionescu/prezto

Slide 4

Slide 4 text

DEVELOPMENT ▸ ripgrep: https://github.com/BurntSushi/ripgrep ▸ git-extras: https://github.com/tj/git-extras ▸ maildev: http://www.npmjs.com/package/maildev ▸ clog: https://taskwarrior.org/docs/clog/ ▸ bats: https://github.com/sstephenson/bats ▸ diff-so-fancy: https://github.com/so-fancy/diff-so-fancy ▸ logrotate-stream: https://www.npmjs.com/package/logrotate-stream

Slide 5

Slide 5 text

DEVELOPMENT ▸ entr: http://entrproject.org/ ▸ pup: https://github.com/EricChiang/pup ▸ progress: https://github.com/Xfennec/progress ▸ pv: https://www.ivarch.com/programs/pv.shtml

Slide 6

Slide 6 text

.ZSHRC alias pp="underscore pretty" alias pdfjoin="'/System/Library/Automator/Combine PDF Pages.action/ Contents/Resources/join.py'" alias weather='/usr/bin/curl http://wttr.in/' export HOMEBREW_NO_ANALYTICS=1 # bright blue for dir colors export LSCOLORS=Exfxcxdxbxegedabagacad function remac() { # https://gist.github.com/johan/2293f3b37737a48b592c } # http://frantic.im/notify-on-completion

Slide 7

Slide 7 text

MONITORING ▸ ntop: http://www.ntop.org/ ▸ htop: https://hisham.hm/htop/ ▸ iotop: http://guichaz.free.fr/iotop/ ▸ iftop: http://www.ex-parrot.com/~pdw/iftop/ ▸ dstat: http://dag.wiee.rs/home-made/dstat/ ▸ glances: https://nicolargo.github.io/glances/

Slide 8

Slide 8 text

MONITORING ▸ vnstat: http://humdi.net/vnstat/ ▸ pcstat: https://github.com/tobert/pcstat ▸ tshark: https://www.wireshark.org/docs/man-pages/tshark.html ▸ prettyping: http://denilson.sa.nom.br/prettyping/

Slide 9

Slide 9 text

NETWORK ▸ httpstat: https://github.com/davecheney/httpstat ▸ mosh: https://mosh.org/ ▸ autossh: http://www.harding.motd.ca/autossh/ ▸ localtunnel: https://www.npmjs.com/package/localtunnel

Slide 10

Slide 10 text

OTHER ▸ restic: https://github.com/restic/restic ▸ ttystudio: https://github.com/chjj/ttystudio ▸ moreutils: https://joeyh.name/code/moreutils/ ▸ ccat: https://github.com/jingweno/ccat ▸ gost: https://github.com/wilhelm-murdoch/gost ▸ opensnoop: http://www.brendangregg.com/blog/2014-07-25/opensnoop-for- linux.html

Slide 11

Slide 11 text

OSX APPS ▸ brew & cask ▸ wireshark/packetpeeper ▸ istats: https://github.com/Chris911/iStats ▸ alfred: https://www.alfredapp.com/ (workflows: elastic, kill, vpn, hl) ▸ zap: https://github.com/keith/zap ▸ haroopad: http://pad.haroopress.com/ ▸ marp: https://yhatt.github.io/marp/

Slide 12

Slide 12 text

OSX APPS ▸ hammerspoon: http://www.hammerspoon.org/ ▸ menumeters: http://member.ipmu.jp/yuji.tachikawa/MenuMetersElCapitan/ ▸ iterm: https://www.iterm2.com/ ▸ lunchy: https://github.com/sosedoff/lunchy-go ▸ flycut: https://github.com/TermiT/Flycut ▸ flux: https://justgetflux.com/ ▸ wifi-password: https://github.com/rauchg/wifi-password

Slide 13

Slide 13 text

CHROME EXTENSIONS ▸ chrome-cli: https://github.com/prasmussen/chrome-cli ▸ https everywhere ▸ myblock ▸ awesome screenshot ▸ check-my-links ▸ jsonview

Slide 14

Slide 14 text

WEIRD ELECTRON APPS ▸ kap ▸ soundnode ▸ hyperterm/black screen ▸ keeweb ▸ sqelectron ▸ Marp ▸ simplenote ▸ screencat

Slide 15

Slide 15 text

FURTHER RESOURCES ▸ https://github.com/n1trux/awesome-sysadmin ▸ https://github.com/jlevy/the-art-of-command-line

Slide 16

Slide 16 text

YOUR TOOLS?

Slide 17

Slide 17 text

OTHERS ▸ ssh shuttle ▸ zerotier ▸ quicksilver ▸ vimium, vimperator (browser)