How to hold Mac from going into sleep?

Every Mac owner knows how painful it is if their SSH session with a very important process just disconnects because of Mac going into sleep. Hopefully, there's a way to tell macOS that you don't want it to sleep - and here, you'll learn how to do it.

How to remove deleted branch names from git suggestions?

How to remove deleted branch names from git suggestions? It's as simple as that: ``` git fetch --prune --all ``` Or (thanks to @mus) you can add this...

Example tmux script for Rails

Shell script that will start a tmux session with Rails console and server in side panes