Fun With /etc/cron.*

If you are reading this you probably know what /etc/cron.hourly/ , /etc/cron.daily/ and so on does. What you might not know is that on CentOS, RHEL, Fedora you can name a script living in these […]

MikroTik OpenDNS with DoH


OpenDNS is my preferred DNS service. This is how you can configure a MikroTik router for OpenDNS using DoH or DNS over HTTPS. Athe actual URL of the server, then, because you have no other […]

Block Adds With MikroTik


Ionut Micu created a cool MikroTik script to block adds by assigning to their hostname, similar to Pihole. This is basically the same I just included a few allow list that I usually use, […]

Capture IP From PING


This is just a simple sed to capture IP address from ping. Note host must allow ICMP. This was tested on sh, bash and zsh. An example:

newsyslog: don’t rotate empty log files

My idea about not to rotate empty log files on FreeBSD has made it to newsyslog, yay 😀 ! Big thanks for Dan Langille who made this happen!



tmutil is the command line tool to interact with your Time Machine backups. The graphical user interface is good in most of the cases, but not all, it’s a bit limited; when you need to […]

Docker Won’t Start After Update

I updated docker on CentOS 8 from docker-ce-3:19.03.13-3.el8.x86_64 to docker-ce-3:20.10.1-3.el8.x86_64 and failed to start after update. Oh no, now what? 🙂 Let’s see more details: Turned out the fix was to remove trusted.xml, or better […]