I've been writing code for a long time. Here are some of the snippets I've found useful and reusable.
How to run Jupyter on a remote server and connect to it locally, using SSH tunnels.