Stefan's thoughts on stuff

This is exciting!

Oct 3, 2016 - 2 minute read - Comments - zsh

Moving To zsh

The time has finally come to try zsh after observing a few of my colleagues doing some fancy things on their terminals. Installation The following section contains instruction on how I set up my home computer and my work laptop. Gentoo To install on my Gentoo system: emerge -av app-shells/zsh app-shells/gentoo-zsh-completions Make it permanent chsh --shell /bin/zsh Enable global auto completion by adding zsh-completion to USE in /etc/portage/make.

Sep 11, 2016 - 1 minute read - Comments - cheatsheet

Cheat Sheet

This is a collection of commands I use fairly regularly, but sometimes forget. Docker Delete all not running containers docker rm $(docker ps -q -a) Delete all running containers docker rm -f $(docker ps -q -a) Delete all images docker rmi -f $(docker images -q -a) Delete dangling volumes and images docker volume rm $(docker volume ls -q -f "dangling=true") ; docker rmi $(docker images -q -f "dangling=true") Modify a commit in git history Suppose: