Author: Andrew Baker

02 Nov 2022 Corporate Culture 👁 38 views

Stop Asking for Requirements: Think Like a Technologist

I think you’re a genius! You found this blog and your reading it – what more evidence do I need?! So why do you keep asking others to think for you? There is a harmful bias built into most technology projects that assumes “the customer knows best” and this is simply a lie. The customer […]

Read more →
20 Oct 2022 AWS Cloud 👁 16 views

SCP Files to EC2: Mac & Linux Command Guide

I always forget the syntax of SCP and so this is a short article with a simple example of how to SCP a file from your laptop to your EC2 instance and how to copy it back from EC2 to your laptop: Copying from Laptop to EC2 scp -i identity_file.pem source_file.extention username@public_ipv4_dns:/remote_path scp: Secure copy protocol-i: Identity […]

Read more →
10 Oct 2022 Macbooks 👁 64 views

macOS TCP Ping: Replace Ping on ZTNA Networks (No ICMP)

A lot of companies are moving to ZTNA (Zero Trust Network Architecture). This is generally a good thing, it helps cyber posture and it and makes life a lot easier as you no longer need to login to VPN tunnels to manage your cloud environment/s. But one of the few downsides of ZTNA is that […]

Read more →
02 Sep 2022 Macbooks 👁 86 views

Change Default Mail Client on Mac via Terminal (CLI)

22 If you want to change the default mail client on your Mac then you can use a quick Python script to quickly change the default mail app. Copy/paste the following command into Terminal. Below I am setting Outlook to be the default mail client, but you can replace com.microsoft.Outlook with whatever application bundle identifier you use. […]

Read more →
01 Sep 2022 Macbooks 👁 10 views

Mac Terminal: Check DNS Nameservers in 2 Commands

To view the list of nameservers your mac is using, simply open Terminal and paste the following: Alternatively, you can copy the DNS servers to clipboard directly from the command line (using pbcopy):

Read more →
01 Sep 2022 Macbooks 👁 6 views

How to Flush DNS Cache on MacBook: Terminal Command

I am not going to tell you why you would need to flush your DNS cache (you will know if you need to). So, to flush DNS on a mac simply fire up Terminal and run the following sudo command:

Read more →
26 Aug 2022 AWS Cloud 👁 19 views

How to Backup MySQL on Bitnami WordPress to S3

I recently managed to explode my wordpress site (whilst trying to upgrade PHP). Anyway, luckily I had created an AMI a month ago – but I had written a few articles since then and so wanted to avoid rewriting them. So below is a method to create a backup of your wordpress mysql database to […]

Read more →
25 Aug 2022 Cyber 👁 13 views

Fix SSH WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED

If the fingerprint of your remote host changes you will see the following error message appear: There are many ways to fix this. The easiest of which is simply to delete your “known_hosts” file. This will mean you just need to accept new finger prints on all your SSH hosts. Yes, this is very lazy…

Read more →
25 Aug 2022 Macbooks 👁 31 views

Mac Command+Tab: Restore Minimised Windows Like Windows

For those who like to maximise or minimise their windows on a Mac, you will likely be frustrated by the default behaviour of your Macbook (in that it doesn’t restore/focus minimised or maximised screens). Below are a few steps to make your mac screen restores behave like Microsoft Windows: Install Homebrew (if you dont have): […]

Read more →
24 Aug 2022 Macbooks 👁 22 views

Auto-Toggle Bluetooth on MacBook Lid Open/Close

If you’re like me, little things bother you. When I turn on my bluetooth headset and it connects to my Macbook when its closed/sleeping, I get very frustrated. So I wrote a simple script to fix this behaviour. After running the script below, when you close the lid on your Macbook it will automatically turn […]

Read more →
118192022