As part of my small project of movng my Z-Wave Hub to a Raspberry PI, I got an
X728 kit. This has:
- UPS controller board
- RTC circuit
- Battery and Power control board
- Case
- Button
- Cooling fan
- Additional Battery holder
The case has holes for wall-mounting.
The Geekworm X728 kit is …
I always had issues remembering how to create releases.
So in order to standardise things, I wrote this script:
So whenever I am ready to release I would then just issue
the command:
Pre-requisistes:
You obviously need git
. But also you would need
github-cli.
Your …
This is the least you need to know to get to use a Python virtual
environment.
What is a Virtual Environment
At its core, the main purpose of Python virtual environments is to
create an isolated environment for Python projects. This means that
each project can have its own dependencies …
I made the switch to void linux. Except for compatibility
issues around glibc
, it works quite well. Most compatibility
I have worked around with a combination of Flatpak
s, chroot
s and
namespaces
.
The high lights of void linux:
- musl build - which is very lightweigth
- Does not depend on
systemd …
Since now I have a Android TV I put away my HTPC and with that the capability to view DVDs or
listen CDs directly.
So I converted my entire CD and DVD library to media files and stored in my home NAS.
Since we are talking hundreds of DVDs and …
Writing shell scripts leaves a lot of room to make mistakes, in ways that will cause
your scripts to break on certain input, or (if some input is untrusted) open up security
vulnerabilities. Here are some tips on how to make your shell scripts safer.
Don't
The simplest step is …

So I finally moved my WordPress web sites to OpenShift.
OpenShift is a cloud based Platform-as-a-Service offering from RedHat. And while there is a learning curve I would say that so far it works great.
My implementation is a fully cloud based solution. Makes use of the following services:
So finally took the time to try out a Raspberry Pi. For this weekend project wanted to do something relatively simple.
Essentially, I wanted to recreate/enhance the functionality of a
TL-WR702N.

The TL-WR702N Nano Router is a neat device but being closed, can not be customized to what I …
Testing, code coverage, style enforcement are all check-in and merge
requirements that can be automated and driven from Git.
If you're among the rising number of Git users out there, you're in
luck: You can automate pieces of your development workflow with Git
hooks. Hooks are a native Git mechanism …
Assist is my archlinux scripted installation script.
By default it gives you a menu driven archlinux installation with supposedly sensible defaults.
It has command line hooks so that you can perform automated installs using bash scripts to customize it.
It can be deployed from the …
A bunch of stupid SSH tricks that can be useful somehow, somewhere...
Forcing either IPv4 or IPv6
This is for the scenario that you know which specific protocol works
to reach a particular host. Usually good to eliminate the delay
for SSH to figure out to switch IP protocols. For …

As usual with any IT system backups are important. This does not change when using a free shared hosting provider. Because it is free, one would argue it is even more important.
For my wordpress web site I used something called cli-exporter. It let's you create "Wordpress" export files from …
Some useful tidbits to use when using the OpenWRT embedded web
server (uHTTPD).
Embedded Lua
uHTTPd supports running Lua in-process, which can speed up Lua CGI
scripts. It is unclear whether LuCI supports running in this embedded
interpreter. LuCI seems to work fine (if not better) with the embedded
Lua …
When using virtualisation it is very common to create template VMs
that can be cloned from. This makes deployment much easier than having
to install a new VM from scratch. Unfortunately, the cloned VMs lack
any Active Directory memberships and the VMs have to be manually
added to the AD …