Linux

A new epoch approaches!

Not long now until the Unix Timestamp flips over to 17 followed by many zeros. Watch it live here or run the following at a terminal: What is the timestamp? It’s the number of seconds since January 1st, 1970 UTC.

Linux

Happy birthday Linux!

The Linux kernel is 30 years old today. I used a Linux distribution for my desktop for a good 10 years or so starting in the late nineties. Oh, how we laughed when people said, “this would be the year of the Linux desktop”! Linux was always strong on the server but it still struggles as a desktop OS. Steamdeck will help in a small way with that, but it really won on mobile phones as the kernel of all Android phones. Here’s to the next 30 years. I wonder what changes those years will bring.

Linux

Pi-hole missing SQLite3

Pi-Hole is an ad blocker you run on a Raspberry Pi on your local network to provide ad blocking services to all the devices in your home. When installed normally it uses Lighttpd but I already had Apache2 on my Raspberry Pi. There are a few threads and this doc about migrating to Apache2 but none of them mention SQLite3. If you don’t have that module installed the ad blocking part will still work but the web admin will show an almost empty page. Look in /var/log/apache2/error.log and you’ll see an error like this: PHP Fatal error: Uncaught Error: Class […]

Linux

Infinite Bunner

Don’t need A PS5 or the latest Xbox, whatever it’s called, to have fun. Playing around with the Pi400. 🙂

Linux

Rsync between Mac and Linux

99.999999% of my readers can probably ignore this one, but if you are of the small minority who use Rsync and have Mac and Linux computers in your home you’ll want to read this. I have Plex running on a Raspberry Pi for my music. I have a large mp3 folder. Too large to run Syncthing on it unfortunately, but an occasional rsync is perfectly fine. I thought it worked fine until I quickly realised it was syncing the same files over and over again. It turns out the Mac and Linux machines I’m using have different ideas about character […]

Linux

One of those rare bugs

I can’t login to my Raspberry PI3. When I ssh into it the password is rejected. When I plugged a keyboard and HDMI cable in the login would fail silently at first and then after reboot it would tell me the password was wrong. Fearing the worst, that the small machine had been hacked, I plugged it out and attempted to go into single user mode but even that didn’t work. I tried various cmdline.txt changes, I saw an odd message saying: sh: can’t access tty; job control turned off That wasn’t the worst. I even managed to generate a […]

Linux

Find Duplicate Files in MacOS

In the past I’ve used FSLint or even some BASH magic to find duplicate files but I have a huge archive of photos and videos, some of which were renamed during import, and some were accidentally imported more than once, or moved about. It’s somewhat chaotic So I was very glad to find dupeGuru! It’s a powerful application for MacsOS and Linux that allows you to scan one directory or more for duplicate files. It can search by content, or match filenames. It has modes for music and pictures, but I’ve stuck with the standard search as I want to […]

Linux

For the love of Vim

A contributor to the Hackaday blog has a good old rant about how Vim is superior to Emacs.  Of course it is (a silly argument), but he manages to give a quick overview of Vim and describes a few neat tricks beginners will find useful! And after writing the text above I realised that there are going to be people reading this who have absolutely no idea what either Vim or Emacs are! They’re text editors, and they have passionate users. Yeah, that includes me too. 🙂

Linux

Throwing away old clothes

I hold on to things for way too long! The last four weeks have felt like a continuous purging of old “stuff” with several trips to the Kinsale Road site (BTW, it was a bit creepy to see a guy rummaging around in the electrical bins as soon as I dumped stuff in them, he could at least have waited until I left), and there’s still more to go. At least now I can walk around the attic without tripping over random objects.