LVM Cheatsheet

Just for me to remember the most basic commands: pvdisplay List physical devices.vgdisplay List volume groups.lvdisplay List logical volumes. lvmdiskscan List devices that may be used as physical volumes lvextend Extend logical volume (by percent, up to specified size or by amount)resize2fs Resize file system after extending a logical volume pvcreate Create physical volumevgcreate Create… Continue Reading LVM Cheatsheet

Turn any website into a windows app?

Trying out Asana I found this website: Turn Asana into a Windows desktop app I wonder if this works for any website. I will play around with it a bit. *edit: This hints to a Windows way to do the same thing: Run Google Keep on the desktop in its own window

GNUPG – Email encryption and signing – full setup on Mac OSX

To sign and encrypt emails on Thunderbird one can use PGP keys. To understand the cryptography behind it and read more about PGP, please use Google. This post will just describe the setup on Mac OSX. #1 Install Thunderbird I will let you figure out that one by yourself. Get it here. #2 Install Enigmail… Continue Reading GNUPG – Email encryption and signing – full setup on Mac OSX

Upgrading Gitlab

Gitlab follows semantiv versioning. It even does not allow you to upgrade from a non-latest minor version to a new major version. Meaning: 10.1 -> 11.4 is now allowed if there is a 10.8 version. Thus you need to upgrade in steps: 10.1 -> 10.8 -> 11.4 (for example). Procedure: # Create a backup (Don’t… Continue Reading Upgrading Gitlab

Docker: Symlink your log files to stdout and stderr!

When you’re in a Docker container, ideally you don’t want to have to enter the container in order to read log files. It’d be best to have everything on stdout and stderr of your container so Docker picks them up automatically and thus delivers it to any logging driver you attach. This is thankfully easily… Continue Reading Docker: Symlink your log files to stdout and stderr!

git clone on Windows running into host trust/accept host key dead lock

If you are getting $ git clone git@github.com:worp1900/my-project.git Cloning into ‘my-project’… The server’s host key is not cached in the registry. You have no guarantee that the server is the computer you think it is. The server’s rsa2 key fingerprint is: ssh-rsa 2048 github:key If you trust this host, enter “y” to add the key… Continue Reading git clone on Windows running into host trust/accept host key dead lock