Upon visiting the page, an event triggers calls to the API routes for their relative jokes and quotes. Contained in the API response is the source audio for the HTML5 audio controls.
Using AWS Lambda to copy records into DynamoDB via the Libcloud library
James Montgomery
5 minute read
TL; DR
After a short break, I decided to take an item off the project list. DNS is a rich source of inspiration for me - and so I elected for a quick win in the form of serverless DNS records backup. The goal of which is to backup my DNS zone contents, via functions as a service (FaaS) and storage as a service (object or database).
You can find all the associated code for this on my GitHub page.
How we can inspect a number like 143256789 and determine it contains the digits 1-9
James Montgomery
5 minute read
TL; DR
How do you pass the time on a car journey? Most of us have memories of “I spy” or other game.
Lately, I’ve been looking out for number combinations after a car I owned passed 123k miles - specifically 123456 miles. What’s more, the trip computer almost made it read 1234567890!
As time passed, I was looking out for other odometer readings. 123465 miles was the next number of interest. The trip computer, however, didn’t complete the set.
A person can look at a number and determine which digits are present. How would a script achieve this?
James Montgomery
13 minute read
Table of contents
TL; DR
Have you ever wondered, how many unique digits are in a number? Alternatively, how many times does a given digit appear in a number? Using PowerShell, I explore these questions in a variety of means and examples.
I migrated my domain to iwantmyname.com and enabled DNSSEC on CloudFlare.
James Montgomery
3 minute read
TL; DR
The renewal date on my .co.uk domain was nearing. I decided to make a change from 123-reg to iwantmyname. After migration, I captured the process to enable DNSSEC when using Cloudflare for DNS. For those thinking of a similar migration, I have also documented my experience of moving to iwantmyname.
.co.uk domain registrar migration to iwantmyname
I had used iwantmyname previously and so benefitted from having an account already. After sign-in/signup the overview page has a link to allow a domain transfer to start:
I’ve been reviewing the available Hugo privacy settings.
You can review the latest configuration on my site project page. Below I discuss the purpose of the changes.
Do not track
I’ve updated my Hugo site configuration to respect “do not track” (DNT) browser settings in Google Analytics. The effect is similar to browsing a site in private or incognito mode, which if you used previously blocked Google Analytics.
If you have DNT enabled as part of your usual browser configuration, Google Analytics on this site will not run when you visit.