Post tagged: scripts

RDP vs VNC

For years I have been using VNC for my remote desktop needs. This works usually well enough. The features that I like are:

  • Basic set-up is easy
  • Desktop sessions are persistent
  • Can be used to view an actual X11.org desktop.
  • Browser based clients via noVNC or Guacamole

On the …

My git release script

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:

./ghrelease vX.Y.Z

Pre-requisistes:

You obviously need git. But also you would need github-cli.

Your …

Python Virtual Environments

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 …

Ad-Hoc rsync daemons

The other day I needed to copy a bunch of files between to servers in my home network. Because of the volume I wanted to copy the files without having to go through ssh's encryption overhead. So I figured I could use netcat for the data transport.

To do …

Installing Void Linux

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 Flatpaks, chroots and namespaces.

The high lights of void linux:

  • musl build - which is very lightweigth
  • Does not depend on systemd …

Archiving DVDs and CDs

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 …

Hosting WordPress on OpenShift

openshift

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:

  • GitHub …

Wi-Fi Sd Cards

My latest weekend project. Making a normal digital camera WIFI enabled.

list_WIFISD.png

With the Transcend Wi-Fi SD Card you can convert any digital camera into a Wi-Fi enable camera.

What I did here is to set it up so that it would automatically upload photos whenever I turn the camera on …

Driving Continuous Integration from Git

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 …

SSH Tricks

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 …

Web Backups

cfback

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 …

Automatically adding systems to an AD domain

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 …