Delete a file completely from Git history
March 11, 2020
It can happen that you add some big files to Git (binaries, documents, images, ...) or some "private" files which should not be in git. Removing it from your filesystem with a single commit will just remove the file in the working tree, but Git does not fully delete a file when removing it via commit. Maybe you want to restore it. That's why Git keeps it in his history.
A lot of people saying that it is not possible to mount a vdi image and to access the data in there. But it is. Just use the right tools and know how to do it.
Some days ago I wanted to increase a vdi disk image like written in a previous article. But it was not working. I got something like `... not implemented yet!`
Some days ago I had the problem at different hosts to access some .local domains. One Notebook was setup with wicd and systemd-resolved and the second one used just the NetworkManager.
I've seen a lot of hardcoded "one-time" passwords in the past. In the end that is one of the stupidest things you can do. To get a random password is pretty easy.
Online advertisment is everywhere. I don't like webpages where everywhere something pops up or overlays content or you can't really see any content because of the advertisment. On my browsers I like using plugins like AdBlock, uBlock Origin and NoScript. But what can I do on my smartphone inside the Apps or on my Smart-TV?
After my successfull sudo test I was interested in 2fa for ssh. As a systemadministrator you are always scared about secure login just for you/your team.
Also ssh 2fa via yubikey is pretty straight forward. It needs some more work than just the sudo case but here we go.
Some days ago I thought about testing two factor authentication (2FA) with Yubikey. Yubikey is a hardware security key which can do a lot.
How to test 2FA on a local machine if you don’t want to log you out or destroy anything important? I decided to implement 2FA for
sudo command with yubikeys U2F feature. Be aware: This does not work for ssh.
I did a lot of work with libvirt and kvm and for some hosts I wanted to have a fixed IP address but not configured on the host itself. I wanted to get it from dhcp.
I did some more research and development with kubernetes and minikube. During some tests where the diskspace of one node got bigger than 16GB and I saw a message about
DiskPressure in the logs, I figured out that minikube has a default disksize of something around 16GB.