Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Supercharge Your Toolbelt

Avatar for Arnd Issler Arnd Issler
October 11, 2018

Supercharge Your Toolbelt

Every developer got their toolbelt at hand when it comes to coding. And everyone knows little tricks how to solve things. What about putting some nice little tools into your toolbox? I give you a brief introduction how I solve things. May or may not include neat aliases, dotfiles, OS magic and a grain of JavaScript. Speed up things and be more efficient to have more time for things you love.

Avatar for Arnd Issler

Arnd Issler

October 11, 2018
Tweet

More Decks by Arnd Issler

Other Decks in Technology

Transcript

  1. ⾠ Warning this talk contains some contrast changes from dark

    to white background Supercharge Your Toolbelt // @arndissler // SinnerSchrader Offsite 2018 6
  2. ⾠ Warning as well as some animations Supercharge Your Toolbelt

    // @arndissler // SinnerSchrader Offsite 2018 7
  3. I like to get the most out of my day

    Supercharge Your Toolbelt // @arndissler // SinnerSchrader Offsite 2018 15
  4. I'm using ZSH with tons of plugins Supercharge Your Toolbelt

    // @arndissler // SinnerSchrader Offsite 2018 18
  5. the shell is good, but for me ZSH adds some

    key features, like auto expansion Supercharge Your Toolbelt // @arndissler // SinnerSchrader Offsite 2018 19
  6. as setup, I have used Oh-My-ZSH zsh-syntax-highlighting zsh-autosuggestions git Supercharge

    Your Toolbelt // @arndissler // SinnerSchrader Offsite 2018 20
  7. I also replaced the Terminal with iTerm2 Supercharge Your Toolbelt

    // @arndissler // SinnerSchrader Offsite 2018 28
  8. some of you already know about all this (so nothing

    new here?) Supercharge Your Toolbelt // @arndissler // SinnerSchrader Offsite 2018 30
  9. Trigger color text color background notifications trigger a script Supercharge

    Your Toolbelt // @arndissler // SinnerSchrader Offsite 2018 37
  10. are a key feature for productivity Supercharge Your Toolbelt //

    @arndissler // SinnerSchrader Offsite 2018 40
  11. That's what I'm using in my IDE Supercharge Your Toolbelt

    // @arndissler // SinnerSchrader Offsite 2018 42
  12. learn shortcut navigation for your IDE your OS your daily

    websites Supercharge Your Toolbelt // @arndissler // SinnerSchrader Offsite 2018 45
  13. Within the IDE In VS Code I use frequently 4

    find usages ([SHIFT] + [F12]) 4 jump to symbols ([CMD] + [SHIFT] + [O]) 4 go to definition ([F12]) 4 navigate backwards ([CONTROL + [-]) Supercharge Your Toolbelt // @arndissler // SinnerSchrader Offsite 2018 46
  14. In macOS I make heavy use of 4 capture screenshots

    ([CMD] + [SHIFT] + [4]) Supercharge Your Toolbelt // @arndissler // SinnerSchrader Offsite 2018 47
  15. and only some essential tools password manager, todo list and

    cloud syncing tools, Duet Display - add second screen while on the go, HyperDock & HyperSwitch - improve window management, Dash - for reading offline MDN, ControlPlane - for managing contexts Supercharge Your Toolbelt // @arndissler // SinnerSchrader Offsite 2018 49
  16. some websites support shortcuts, just press [?] Supercharge Your Toolbelt

    // @arndissler // SinnerSchrader Offsite 2018 52
  17. Gitlab In a project [g][i] Go to issues [g][m] Go

    to merge requests [g][f] Go to files [g][c] Go to commits Supercharge Your Toolbelt // @arndissler // SinnerSchrader Offsite 2018 54
  18. Twitter [g][h] Go to home [g][n] Go to notifications [g][r]

    Go to mentions [g][m] Go to messages [o] open media/expand photo [j] next tweet [k] previous tweet Supercharge Your Toolbelt // @arndissler // SinnerSchrader Offsite 2018 55
  19. Jira On a board [g][d] Go to dashboard (global) [g][i]

    Find an issue (global) [o] View the selected issue [j] Got to next issue [k] Got to previous issue Supercharge Your Toolbelt // @arndissler // SinnerSchrader Offsite 2018 56
  20. GitHub [g][c] Go to code [g][i] Go to issues [g][p]

    Go to pull requests [g][w] Go to wiki [o] Opens the selection [j] Move selection forward [k] Move selection backward Supercharge Your Toolbelt // @arndissler // SinnerSchrader Offsite 2018 57
  21. There's a pattern [g][...] navigates [o] opens a selection [j]

    moves it forward [k] moves it back Supercharge Your Toolbelt // @arndissler // SinnerSchrader Offsite 2018 58
  22. It's worth to have a look at this. You ask

    for more? Supercharge Your Toolbelt // @arndissler // SinnerSchrader Offsite 2018 59
  23. but did you know, that your macOS is scriptable? Supercharge

    Your Toolbelt // @arndissler // SinnerSchrader Offsite 2018 64
  24. AppleScript tell application "Finder" -- what to do empty trash

    end tell JavaScript var Finder = Application("Finder") Finder.empty(); Supercharge Your Toolbelt // @arndissler // SinnerSchrader Offsite 2018 65
  25. Neat. (that was the JS part) Supercharge Your Toolbelt //

    @arndissler // SinnerSchrader Offsite 2018 66
  26. You can script pretty much everything Supercharge Your Toolbelt //

    @arndissler // SinnerSchrader Offsite 2018 67
  27. Example: open Google in Safari and enter <3 tell application

    "Safari" set myURL to "https://google.com" activate reopen tell window 1 set the current tab to (make new tab with properties {URL:myURL}) delay 3 tell application "System Events" to keystroke "<3" end tell end tell Supercharge Your Toolbelt // @arndissler // SinnerSchrader Offsite 2018 68
  28. Example: create a "Hello!" reminder in AppleScript tell application "Reminders"

    make new reminder with properties {name: "Hello!"} end tell Supercharge Your Toolbelt // @arndissler // SinnerSchrader Offsite 2018 69
  29. I created a script for short-term reminders < 24h check

    <whatever> in 15 minutes check "Give a talk" at 17:50 Supercharge Your Toolbelt // @arndissler // SinnerSchrader Offsite 2018 70
  30. I wired up my script up with a trigger in

    iTerm2 Supercharge Your Toolbelt // @arndissler // SinnerSchrader Offsite 2018 73
  31. you may not need fancy apps Supercharge Your Toolbelt //

    @arndissler // SinnerSchrader Offsite 2018 77
  32. know your tools and connect them Supercharge Your Toolbelt //

    @arndissler // SinnerSchrader Offsite 2018 78
  33. tools used to make this talk npm Deckset VS Code

    caffeine Supercharge Your Toolbelt // @arndissler // SinnerSchrader Offsite 2018 85
  34. tools which I referred to within this talk Supercharge Your

    Toolbelt // @arndissler // SinnerSchrader Offsite 2018 86
  35. 4 iTerm2 | https://www.iterm2.com/ 4 HyperDock | https://bahoom.com/hyperdock 4 HyperSwitch

    | https://bahoom.com/hyperswitch 4 Duet Display | https://www.duetdisplay.com/ 4 ControlPlane | https://www.controlplaneapp.com/ 4 Dash | https://kapeli.com/dash Supercharge Your Toolbelt // @arndissler // SinnerSchrader Offsite 2018 87
  36. 4 VSCode | https://code.visualstudio.com 4 Alfred | https://www.alfredapp.com 4 HomeBrew

    | https://brew.sh/ 4 OhMyZSH | https://ohmyz.sh/ 4 zsh-autosuggestions | https://github.com/zsh- users/zsh-autosuggestions 4 zsh-syntax-highlighting | https://github.com/zsh- users/zsh-syntax-highlighting Supercharge Your Toolbelt // @arndissler // SinnerSchrader Offsite 2018 88
  37. 4 tldr | https://tldr.sh/ 4 bat | https://github.com/sharkdp/bat 4 diff-so-fancy

    | https://github.com/so-fancy/diff-so- fancy 4 Deckset | https://www.deckset.com/ 4 caffeine | https://en.wikipedia.org/wiki/Caffeine 4 Scripts can be found on my GitHub page Supercharge Your Toolbelt // @arndissler // SinnerSchrader Offsite 2018 89