Bestanden verwijderen met vreemde tekens in het bestandsnaam.

In Windows, the approach is to go with a greedy search (or deletion to be more precise). If you’re wondering what’s happening here, think regular expressions. We are looking for any file (/s) in any of the subdirectories in the specified path, and we’re looking for a file that has zero or more trailing whitespace characters. Boom. …

Bestanden verwijderen met vreemde tekens in het bestandsnaam. Lees meer »

Conifgureer statisch ip adres op Ubuntu 18.04 LTS server

I have just started testing Ubuntu 18.04. The first thing I noticed was how different it handles network interfaces. The way Ubuntu manages network interfaces has completely changed. Have you heard of NetPlan? Probably not, if you have, then you’re a step ahead of many. NetPlan is a new network configuration tool introduced in Ubuntu …

Conifgureer statisch ip adres op Ubuntu 18.04 LTS server Lees meer »

Sonoff flashen

De laatste tijd ben ik bezig geweest met het vervangen van mijn KaKu schakelaars. Zo zat er KaKu in mijn hanglampen en werden ook de staande lampen via KaKu bediend. Omdat KaKu via 433mhz werkt en dus geen feedback kan geven heb ik besloten om ze te gaan vervangen. Via het Youtube kanaal van Bruh …

Sonoff flashen Lees meer »

change RRDtool database without losing data

When you use rrdtool, it can happen that you first create your databases, then collect a whole bunch of data and decide later you want more accuracy/longer periods. Especially when using zenoss (the monitoring solution I mostly work with at Kangaroot), which uses very conservative RRD settings by default (i.e. 5-minute intervals for only the …

change RRDtool database without losing data Lees meer »