Category: Tech

Kids’ Computer Time Keeper for Linux

Sometimes I’m not so great at managing my time. So it makes sense that I’m sometimes not great at managing anyone else’s time either. When it comes to screen time for kids, there needs to be a limit set for how much they use it. We have an Amazon Fire tablet, and it comes with

Everybody Has A Button

If you have any interest whatsoever in government spying / intelligence agencies / counter-intelligence, you should read Schneier’s post and its linked story. Everybody has a button. When Equifax was breached, I assumed it was by a group that just wanted to steal identities for profit. Now that it seems it may have been a

Poor Man’s Continuous Integration

I created the following script which saves a few seconds of switching to a terminal and typing grunt on each change to my source files. [crayon-5ce05482281be788034146/] I can just leave this running in a terminal window and glance at the output to make sure there were no errors.

Reduce PNG sizes from Mac Finder

When I save a screenshot on my systems, it doesn’t try to automatically crush/minify the PNG. Here’s how on a Mac I’ve added a context menu item for images to crush them. This can help save storage space or make web pages load faster. Ensure you have pngquant installed. Other tools may work for you,

Defend against fake google bots

I can think of some reasons why folks might use the Googlebot user agent on their non-Google bots, but I can’t think of any good, upstanding reasons to do it. Here’s how one might find some fine folks who would do such a thing. As of right now (May 2018), all valid Google Bot source

MemcacheD is your friend

MemcacheD Is Your Friend is an object caching plugin for WordPress that offers faster access to cached objects, especially if your database happens to reside on a different host. The problem this time around is that it scopes some of its members as private, and as a result, is incompatible with some plugins. I’ve run

Macbook sd card reader always in read-only mode

Most of the time when I insert an SD card into the slot on my mid-2014 Macbook Pro, it mounts in read-only mode and I don’t notice until I try to delete a file. When that happens, the option to “Move to Trash” is missing. After checking that the tiny sliding switch on the side

Monitor load in the terminal

Just a small one that tends to get my attention when I have a terminal open into a remote machine and would like to notice right away when the load rises. Of course one could just use the echo -e "\a" if you have visual bell enabled or if you want to annoy people around

Prolong the life of the SD card in your Raspberry Pi

The web is littered with stories of people who love their Raspberry Pis but are disappointed to learn that the Pi often eats the SD card. I’ve recovered a card once, but otherwise had a few that have been destroyed and were not recoverable. I’ll lay out how I use This One Weird Trick(tm), ahem,

kworker using cpu on an otherwise idle system

I have an old thin client that I upgraded to a home server by adding some additional RAM and storage. I noticed after a recent kernel upgrade that the system seemed sluggish at times, despite doing nothing in particular at the time. top showed that a kworker process was using CPU, not all of it,