Remove Files completely from Git repository

Delete a file completely from Git history

March 11, 2020

None

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.

Pi-hole

June 11, 2019    Tags: raspberrypi  unix  pi  debian  tracker  advertisement  pi-hole

None

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?

Yubikey two factor authentication for ssh

March 8, 2019    Tags: yubikey  2fa  ssh  yubico

Yubico

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.

Yubikey for sudo 2 Factor Auth

Dec. 7, 2018    Tags: yubikey  2fa

Yubico

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.

handle kvm static ip adresses

Nov. 27, 2018    Tags: kvm  virsh

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.

Minikube increase disk size

Sept. 10, 2018    Tags: docker  testing  kubernetes  minikube

None

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.