Month: January 2019

  • Rapsberry Pi [5]: Using the Pi as the tethered desktop

    Due to the fact that my main internet feed is filtered, I sometimes need to access websites that are blocked by the filter. This is easier than trying to get a site unblocked. For example a Family First website, porninquiry.nz, is currently blocked by the web filtering, as are several misclassified Christian sites I read…

  • Python Scripting [2A]; Syncing a video and music directory tree

    Having completed our first scripting task involved XML extraction and copying files, the next task to be scripted in Python will be the process of extracting audio from our collection of music video tracks and syncing it into a directory tree. The actual steps needed are: Compare two directory tree, one for video and one…

  • Python Scripting [1C]: Scripting to copy map aerial layers 3

    So I spent a bit more time completing the script, which now looks like this: import glob import os import shutil import xml.etree.ElementTree as ET tree = ET.parse(‘/home/patrick/Sources/CopyFiles/Source/layers.qlr’) root = tree.getroot() for layer in root.iter(‘layer-tree-layer’):         sourcename = layer.get(‘name’)         print(“Layer: ” + sourcename)         sourcepath = “/home/patrick/Sources/CopyFiles/Source/” + sourcename + “.*”         #print(fpath)        …

  • Python Scripting [1B]: Scripting to copy map aerial layers 2

    So as I said at the end of the last post, I am learning to script in Python. Which is turning out to be breathtakingly simple and easy to do. I remember that I was going to do this script originally in Python then ended up doing it in Powershell. Why I did that at…

  • Python Scripting [1A]: Scripting to copy map aerial layers 1

    In my arsenal of computers I have one low spec one that still runs Windows. Even with all the stuff I have for Linux, there are still a handful of tasks that use Windows only software, although this has diminished to the point that this computer often doesn’t get turned on for weeks at a…

  • Scanning with Linux [2]: Epson Perfection V200 Photo scanner on Debian

    Last time I wrote about scanning I had done the installation on mainpc. So having a new post is because of reinstalling on mediapc and a few hiccups. The main thing I am writing about is Epson now gives you the wrong download package for the Perfection V200 Photo scanner for Linux. If you search…

  • Life with KDE [6]: Clean install serverpc/mediapc

    As I was writing in my last post, I am working hard to reinstall both mediapc and serverpc from scratch. In both cases I was hoping to resolve hibernation problems. Both computers now have new Gigabyte GA-B250M-D3H boards in them so the outcomes should be identical. However on resuming serverpc which has just been reinstalled…

  • Computing resources optimisation [2G]: Reinstall serverpc and mediapc

    As we know when I upgraded everything last month I just put the disks back in with the new boards and just booted everything up and they just ran. I didn’t reinstall either of the two new ones that I currently have running, serverpc and mediapc. However as neither of these computers is able to…

  • Firefox Multi Account Containers vs User Profiles [3]

    After a bit of playing with a few settings I am returning to my expectation of multiple FF profiles to handle container isolation-like capabilities. The problem with containers is when you do need tracking information to be exchanged between Facebook and another site. With my WordPress blogs they are set to auto publish to a…