music

A song a day - Day 5 - Elbow - The Stops

A couple of friends have nominated me on FaceBook to post a song every day for seven days, and nominate someone each day to do the same. This is Day 4.

~1 min read
Back to Top ↑

Java

London Java Community

Just a quick post to say that the London Java Community (LJC) now has its own website. Barry Cranford has set the site up to publicise the group, which is rapidly growing in size, and its activities and events. Barry has done a great job with the community so far and continues to provide great events for Java technologists.

~1 min read
Back to Top ↑

Mobile Phones

Back to Top ↑

Software Development

Automatically configuring Git based on remote repository URL

As an independent software engineer I often find myself working with clients who use different Git providers or who might require me to have a client-specific Git configuration. For a long time this resulted in me having a complex and difficult to maintain Git configuration, and some really hacky shell aliases which did some on the fly Git reconfiguration depending on which repository I was in… Not nice!

2 min read
Back to Top ↑

Home Automation

Getting hold of Bulb energy usage data (part 2).

About this time last year I posted an entry where I detailed my ideas for using the Samsung SmartThings ecosystem to get hold of my home’s Gas and Electrical usage data. Since then I have developed a simple SmartThings App which achieves this, so thought I’d share the details.

11 min read

Getting hold of Bulb energy usage data (part 1).

Over the last year or so I have been slowly building up a collection of home energy metrics. Things like boiler runtime stats, heating zone temperature and demand etc, they have been incredibly useful in helping me understand the various characteristics (heat up time, temperature loss rate etc) of the different rooms in the house.

2 min read
Back to Top ↑

Cloud

AWS: Connecting to a private ECR repository using VPC Endpoints

Here’s the scenario: You’ve created a private ECR repository, you’ve uploaded an image to it and now you want to run that image as an ECS task. But… you don’t want ECS going out over the public internet to the ECR API. Instead you want to keep the traffic inside your VPC.

4 min read
Back to Top ↑

Blog

Moving domains…

It’s time for a tidy up - I have decided to stop using the mredd.co.uk domain, which was bought for me as a birthday present many years ago. Instead I’m going to move everything over to eddgrant.com, so this blog will be moving from http://blog.mredd.co.uk to http://www.eddgrant.com/blog.

~1 min read
Back to Top ↑

Android

Back to Top ↑

Software

Ignoring non-source files in Eclipse

Having recently started using Eclipse an initial gripe of mine was that there didn’t seem to be any way to tell the IDE how to identify different types of files, specifically there appeared to be no mechanism of identifying and excluding ‘non-source’ files such as derived or distributable files. This causes several annoyances one of which appears in the ‘Open Resource’ search function (CTRL + SHIFT + R); when executed this function searches the entire Workspace for files matching a given pattern, this causes any files which are duplicated during distribution to appear multiple times in search results, once in the source folder and once in the duplicated location.

1 min read
Back to Top ↑

Networks

How to allow ICMP ping on a Unifi Security Gateway WAN Interface

I recently signed up with thinkbroadband for free Broadband Quality Meter (BQM) service. Once configured they send ICMP ping requests to my WAN IP address and collect the data to provide me with a picture of my broadband availability/ latency etc. They do all this for free and surface the data in a useful graph, which can be used to interpret various behaviours of my broadband connection, including the reliability of my provider!

3 min read
Back to Top ↑

CI/CD

Automating Ubuntu 21.04 Server image builds with Packer and Virtualbox

I recently decided to write some tests for one of my Ansible roles that I’ve been making a lot of use of. The plan was to use Ansible Molecule to apply the role and drive the tests. Reading the Molecule docs this seems to be a fairly straight forward task for the majority of cases, essentially you spin up a Docker container, provision your role and run your tests. Unfortunately in this case the role I wanted to test was responsible for managing Docker containers, so there was no easy way to run the role itself within a Docker container without causing some sort of Docker-in-Docker inception!

4 min read
Back to Top ↑

HowTo

Migrating YouTube Music from GSuite to GMail

I’m a long time user of YouTube Music. I love that it’s able to reach in to the incredible library of electronic music that has been uploaded to YouTube over the past few decades. I also love that it allows users to upload their own music and have been starting to curate an uploaded library songs that aren’t available on streaming platforms. This feature has allowed me to slowly but surely upload old CDs which are precious to me (band demos, white labels etc). The beauty of it all is that I then have my entire library available to me wherever I am, even in the car via Android Auto. I love this!

2 min read
Back to Top ↑