Run a Linux Mint Web App from the CLI

I wanted to run 4-5 applications based on a keyboard shortcut on Linux Mint. The shortcut key runs a shell script that launches the applications I want for that key press. Some of the applications Creating the keyboard shortcut is straight-forward... » More

Number 1

I was number 1 most active mapper in the UK charts today due to my contributions in County Down and East Belfast over the last few months. I can't see that continuing as another Irish mapper b-unicycling is sure to take top spot soon.

Python Threads Querying CouchDB

With a list of 500,000 CouchDB endpoints to hit for info I wanted to speed up the process. There are multiple ways to do that but queues and threads worked fine for me. import queue import threading from cloudant.client import Cloudant # Replace the... » More

Removing template_file from terraform state

I've run into this issue a few times so recording here for future reference. template_file has been deprecated in terraform but I occasionally perform a terraform init before realising that there is a template_file command in the code. I get the... » More

Add Auth to Prometheus Container

Using docker-compose to run a prometheus container that I wanted basic auth added to. My docker-compose file is shown below: version: '3' volumes: prometheus-data: driver: local services: prometheus: image: prom/prometheus:latest... » More

Add AWS CLI to Alpine Linux

Linux Voice Issue 1 I seem to regularly look this one so adding it here for future reference. apk add --no-cache python3 py3-pip && pip3 install --upgrade pip && pip3 install --no-cache-dir awscli && rm -rf /var/cache/apk/*

Decrypting Terraform Output with Keybase

In my terraform code I have: resource "aws_iam_access_key" "this" { user = pgp_key = "keybase:jonnymccullagh" } And after running the terraform apply I get an encrypted IAM secret key. To decrypt the string: echo... » More

Use Docker Registry in Podman

By default podman needs the full URL to pull in a docker image. So instead of: podman pull budibase/budibase you need: podman pull To configure podman to to check the docker registry by default... » More

AWS Secrets Manager for EKS Env Variables

With an EKS cluster created I followed the AWS instructions for integrating secrets manager so I could pull secrets and use them as environment variables in pods. The secrets were mounted fine and I could cat them out when exec'ing into the... » More