Posts by Category

technical

JQ - Create .dockerconfigjson file

less than 1 minute read

Use the jq tool to create a .dockerconfigjson file from existing details, including inline base64 encoding. Linux, bash style : export REGISTRY="theregistry"...

Python - object has no attribute LDAP

less than 1 minute read

Pulled my hair out over the following Python error while working with the LDAP package: Traceback (most recent call last): File "/home/alex/source/ldap-aut...

Nintendo Switch error - 2259-7007

less than 1 minute read

Got the error 2259-7007 while trying to factory reset a Nintendo Switch. Turns out that (for me at least) plugging it in to a power supply got past it.

git error - RPC failed

less than 1 minute read

I had this recently during an HTTP git clone : error: RPC failed; curl 56 GnuTLS recv error (-110): The TLS connection was non-properly terminated. It turns...

NeoVim - Tidy YAML on save

less than 1 minute read

I like my YAML files to be tidied and sorted (see Tidying YAML). What would be great is if your editor, currently NeoVim for me, would do this automatically ...

Copy to system clipboard from Vim

less than 1 minute read

As is often the case, I find something today that I wonder why I haven’t looked for before. Copy from Vim to the system clipboard, ie not just inside Vim.

yq quoting with variables in Powershell

less than 1 minute read

This took me far to long to figure out, so I thought I’d post it here in case someone else wishes to keep all their hair. Using the yq tool under PowerShell,...

Tidying YAML

less than 1 minute read

I’m a sucker for nicely formatted code and config. Working a lot with Kubernetes I like to see my Kubernetes YAML formatted consistently. This helps find the...

Vim - Skeleton files

less than 1 minute read

I’ve been looking for a way to quickly create ‘skeleton’ files of the text files I work on regularly, for instance Kubernetes yaml files.

Namespace stuck in Terminating - Kubernetes

less than 1 minute read

Occasionally you may find that having issued a kubectl delete namespace yournamespace command, the namespace gets stuck in Terminating state, and is never ac...

Working Copy iPad

less than 1 minute read

One of the reasons I don’t update this blog is that I haven’t found an easy way to do it. Cloning the repo, then editing files, then committing is a hassle. ...

Chrome Warning NET::ERR_SSL_OBSOLETE_VERSION

less than 1 minute read

Recent versions of Chrome now show warnings when visiting sites that still use legacy TLS versions. Although not recommended, this warning can be silenced:

Back to Top ↑

blog

First past the post

less than 1 minute read

First post, after much faff. Can’t get the github pages instructions to work, all sorts of issues. So went with mmistakes’ mm-github-pages-starter which is w...

Back to Top ↑

electronics

Flipdot code

less than 1 minute read

I’ve been playing with a 28x7 Flipdot display I got recently. The goal ultimately is to make a stand alone clock driven by a microprocessor, (Arduino or ESP3...

Back to Top ↑

humour

Minimum handover

less than 1 minute read

The absolute minumum handover documentation one can expect as a sysadmin : su - previousdude history You laugh, I’ve seen this..

Back to Top ↑

linux

Back to Top ↑