Gimp 2.8 Resynthesizer Plugin Ubuntu 18.

Seems like this plugin changes the rules ever so often. This is what worked for me today.  Remove old plugins from ~/.gimp2.8/plug-ins/ Get the latest code from https://github.com/bootchk/resynthesizer.git git clone https://github.com/bootchk/resynthesizer.git Install dependencies and compile code. ./configure doesn't work as suggested, so I just ran the .autogen script, which did.  sudo apt install libglib2.0-dev libgimp2.0-dev automake intltool./autogen.sh makesudo … Read more

Counting files in subdirectories.

ze countOK, it sounds simple, and it probably is if you're sitting at your desktop with Gnome or KDE fired up. However if you're looking on a server half way across the world, using the command line its not so easy.

There are a number of tools which are useful in finding out things about your filesystem. ls, du, df are three of them, but sometimes they just don't give you the information you need. In my case I'm backing up a server to a remote location. The script was timing out becase I was trying to back up too many files at once, so I needed to find the number of files in each subdirectory.

Read more

Linux Memory Usage Summary Script

I was having trouble with a webserver this week, which I'd just set up for a client. When it went live, it seemed OK initially, but when we left it overnight it curled up its toes and died. It was so dead that I couldn't even ssh in to reboot it, so we had to do a remote reboot. Crunch.

Anyway, on getting it back up, I poked around in the logs and found that it was running out of memory, which it really shouldn't do given that it was a fairly low load on the webserver, and only apache, mysql and php were running on it. I looked around the Interwebs and found an excellent resource called Troubleshooting Memory Usage, which gave me some pointers about how to rein in apache and stop it from eating up memory so quickly. Thanks!

Anyway on the page was a script for summarising memory usage, which I thought was a good idea, so i grabbed that one and adapted it to my own purposes. I thought I'd make the results available here, so feel free to grab it and adapt it to your own needs.

Read more

PrimeTime Linux

I've been thinking of setting up a company to set people up with Open Source workplaces, and every year that goes past makes me think that the time is almost here.

There are a number of factors which are conspiring to make Linux a viable alternative:

  • The fact that Linux, via distributions such as Ubuntu, Mandriva, Suse et al, are now easy enough to install and intuitive enough for the Everyday User. I set my girlfriend up with an account on a spare laptop and just let her play. Soon enough she was asking for it on her laptop as well.
  • OpenOffice. Enough said. Hardly anyone uses the full feature set of Word, so why do we slavishly upgrade every time a new version comes out? Well actually we don't …

    Read more