Blog

Macbooks 10 Oct 2023 👁 7 views

Mac Screenshot Format: Change PNG to JPEG, GIF or PDF

There are a few things that I tweak when I get a new Macbook, one of which is the screenshot format (mainly because it doesnt natively render in Whatsapp). So I thought I would share the code snippet that you can run in Terminal to alter the default image type of your screenshots: For JPEG […]

Read more →
AWS Cloud 09 Oct 2023 👁 6 views

Mirror a Static Website with wget and Host on AWS S3

I have an old website that I want to avoid the hosting costs and so just wanted to download the website and run it from an AWS S3 bucket using Cloud Front to publish the content. Below are the steps I took to do this: First download the website to your laptop Below is a […]

Read more →
AWS Cloud 28 Aug 2023 👁 17 views

AWS CLI Setup on Mac: Install and Configure in Minutes

You can absolutely get the following from the AWS help pages; but this is the lazy way to get everything you need for a simple single account setup. Run the two commands below to drop the package on your Mac. Then check the versions you have installed: Next you need to setup your environment. Note: […]

Read more →
AWS Cloud 24 Aug 2023 👁 17 views

Auto Stop and Start EC2 Instances with Lambda

Below is a quick (am busy) outline on how to automatically stop and start your EC2 instances. Step 1: Tag your resources In order to decide which instances stop and start you first need to add an auto-start-stop: Yes tag to all the instances you want to be affected by the start / stop functions. Note: You […]

Read more →
Corporate Culture 18 Jul 2023 👁 10 views

Centralised vs Federated Tech Teams: How to Fix Flow

I have seen many organisations restructure their technology teams over and over, but whichever model they opt for – they never seem to be able to get the desired results with respect to speed, resilience and quality. For this reason organisations will tend to oscillate from centralised teams, which are organised around skills and reuse, […]

Read more →
Macbooks 26 Jun 2023 👁 6 views

gping Over Zero Trust Networks on macOS: Interface Guide

Once you start using a zero trust network, the first causality is normally the Ping command. The gping (Graphical Ping) command line displays a color coded realtime graph of continuous pings to a specified host and it supports specifying alternate interfaces/gateways. First lets find which interface to use. The “arp -a” command is used to display […]

Read more →
Macbooks 30 May 2023 👁 17 views

Mac OS X: Find Which Network Interface Routes Traffic

If you have multiple connections on your device (and maybe you have a zero trust client installed); how do you find out which network interface on your device will be used to route the traffic? Below is a route get request for googles DNS service: If you have multiple interfaces enabled, then the first item […]

Read more →
Internet 25 May 2023 👁 11 views

How to Find and Set the MTU on Windows (Step-by-Step)

If you have just changed ISPs or moved house and your internet suddenly starts misbehaving the likelihood is your Maximum Transmission Unit (MTU) is set too high for your ISP. The default internet facing MTU is 1500 bytes, BUT depending on your setup, this often needs to be set much lower. Step 1: First check […]

Read more →
Macbooks 11 May 2023 👁 46 views

iTerm2: Clear Scroll Back History with Command + K

I frequently forget this command shortcut, so this post is simply because I am lazy. To clear your history in iTerm press Command + K. Control + L only clears the screen, so as soon as you run the next command you will see the scroll back again. If you want to view your command […]

Read more →
115161722