This is a personal list of tools and manuals which I probably don’t use daily, but will help a bunch when their purpose is needed.

Tools

  • checkinstall - Replaces make install and creates an uninstallable .deb of any ‘regular’ source package.
  • 365 mail forwarding - Allows forwarding of domain mails without a (paid) mailbox in Office 365
  • appimagelauncher - Properly integrates AppImage applications into the OS.

Tricks

SSH Reverse Tunnel

Use the following to create a reverse tunnel which allows you to reach a service from a remote host, which only your local host can reach.

ssh <remote-user>@<remote-host> -R <remote-host-local-port>:<target-host>:<target-port>

Make sure to set a <remote-host-local-port> that can be allocated. You will not see an error if you for example use port 222 which only root can allocate, it just won’t work.

Then use localhost:<remote-host-local-port> on the remote host to reach the service. For example using git clone.

git clone ssh://git@localhost:<remote-host-local-port>/your/repo.git

Setup remote server

The following is my list of commands on a new (Ubuntu) server to set it up as I like it. Obviously entirely personal.

sudo apt update
sudo apt full-upgrade -y

sudo apt install byobu zsh -y
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting
# Something to add `zsh-syntax-highlighting` to the `plugins` array in `.zshrc`

wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda.sh
bash ~/miniconda.sh -b -p $HOME/.miniconda && rm ~/miniconda.sh
eval "$($HOME/.miniconda/bin/conda shell.zsh hook)" && conda init zsh

curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
sudo apt install docker-ce docker-ce-cli containerd.io -y
sudo usermod -aG docker $USER