Peter Mac

Consulting Technology Architect

Migrating from Wordpress to Hugo

Introducing Static Sites for an simpler life

Background

This is the first article published to my new revamped website using a new publishing tool Hugo Static Site Generator. My website has been running on Wordpress for pretty much as long as I can remember and the first time I ran into the concept of a static site was working for a university here in Melbourne. It didn’t gel with me at the time because of the amount of non-static content that was in use. However, when I look at my own site running Wordpress, Maria DB on a Nginx web server, I realised I was over-cooking it.


Home Automation Setup Thoughts

The journey to Home Automation setup

When starting a home automation setup in a new (or existing) property, several key points of consideration should be made to ensure high availability of services and overall system efficiency.


Home Automation, Hubs, Protocols, and What I Wish I Knew When Starting Out

Home Automation simplification

Embarking on the journey of home automation can feel like stepping into a realm filled with endless possibilities and, admittedly, a bit of confusion.

Background

When I first dived into this world, the array of protocols - Z-Wave, Matter, Zigbee, and more - felt overwhelming. Through trial, error, and a lot of learning, I’ve found a setup that works seamlessly for me, centered around Zigbee and Home Assistant. Here’s a breakdown of what I wish I knew when starting out, and how different protocols differ and operate.


AI and potential impact on IT Architecture

Hold onto your hats!

As an IT solution architect, the impact of AI, both generative and traditional, on my role is expected to be profound and multifaceted over the next few years. Here a list of the ways I think AI is likely to influence responsibilities and the broader IT architecture landscape:


Migrating a wordpress site to a static site

Bye bye wordpress bloat

Initial decision to migrate my website from Wordpress to a Static Site Generation platform in January 2024 and the resaerch into the best tool for the job.

Orininally planned in Jan 2024, but only executed in August 2024.


Synology Hyperbackup Operation

Ins and outs of hyperbackup

How do I know what was backed up on hyperbackup? I have an hbk file but I cannot open it or see its size.

https://kb.synology.com/en-us/DSM/tutorial/How_to_restore_settings_apps_files_permissions_by_Hyper_Backup

Restoring files from previously backups.


Background Check Network Status

Because I live in the land down under where we’re serviced by a broadband network system that’s been screwed over by a number of successive Governments, we can never be guaranteed a consistent service. I wrote the following script to run in the background on my Apple Mac to notify me of any changes to the network status. It requires nc to run…but you can change this to any command that does an external connection test such as a simple ping. It does a little sleep at the end for 10 seconds. Obviously adjust to suit your circumstances.


The Notes Dilemma

I’m predominantly an Apple system user (iPad, Mac Mini Desktop, MacBook Pro, iPhone), but in the hunt for the perfect note taking app, I’ve gone down several rabbit-holes.

Background

I’ve been using Evernote for general note taking and document archiving since about 2012. Overall it’s been pretty good with a few integration features that really expanded its’ use case. Examples are IFTT and Gmail integration, the scannable app and the Skitch screen-grab app. The web clipper is also incredibly useful for storing your own copy of web content that may or may not be around for longer (e.g. news snippets, stock reviews).


102 Linux Tips

Over 100 tips for beginner to intermediate Linux command line users. I’ll add to the list as and when I think of it. The tips start simple but get a bit more complex as things go along.


Calculating ip address ranges

A handy way of calculating how many IP addresses are available in a subnet is as follows:

Eg. 1 Given an IP subnet with the CIDR of 192.168.0.0/16, how many available IP addresses have you got?