I do not use cookies or browser trackers (like Google Analytics) on any of my personal websites to track visitor information. From time to time however, it is nice to get an idea of the amount traffic to my sites, including what pages get viewed the most. I use the following one-liner for this: Read… Continue reading Simple website visitor stats and location with GoAccess
Category: Tips
Clean up harddrive space on Ubuntu Server with journalctl
After running for a while, an Ubuntu server tend to get bloated with… stuff. One particularly weird one is the disk usage of a bunch of /var/log/journal/* entries that hog a lot of space. In my case, 2GB. This is significant on a machine with just 20GB of space. You can see their disk usage… Continue reading Clean up harddrive space on Ubuntu Server with journalctl
Simple photo effects with ImageMagick
I recently explored the capabilities of converting photos to something that looks hand-drawn with a pencil using ImageMagick. It is difficult to get good results, but I thought I would share a few one-liners that I found useful to play around with, as well as a bonus effect that turns a photo into something resembling… Continue reading Simple photo effects with ImageMagick
Change this:
listen 443 ssl;
to this:
listen 443 ssl http2;
Done… I wish all tech upgrades were this easy.
Golly Gosh Moments
You know that time you realized that you have been doing something the wrong way for a very long time and then finally realize the wrongness. For the sake of the low profanity rating of this blog, let’s call these golly gosh moments, although the Millennials might better understand #FML. Homer just says do’h. So… Continue reading Golly Gosh Moments