MacOS Sierra

How to extract an old macOS installer from PKG on a newer version of macOS

Background I have an old 2016 Intel MacBook Pro that I’ve had running Ubuntu for a while but could never get the sound to work in Linux so I decided to reinstall macOS on it. Should be easy right? Wrong… Instead of setting up a dual boot situation, I cleverly decided to wipe the whole hard drive in favour of Ubuntu, recovery partitions and all. But no matter, Intel Macs can boot into an internet recovery system without the recovery partition by holding ⌘ R on power....

1 January 2023 · 5 min · Toby Scott
Encryption

Signing your commits with GPG (GNU Privacy Guard)

1. Pre-requisites Install GPG and PINEntry if not already installed For Mac, install via Homebrew: brew install gpg pinentry-mac For Linux, install via your distro’s package manager. For Windows, you can either use WSL and install via the distro’s package manager, or download GPG4Win and install the following components: GnuPG Kleopatra GpgOL GpgEX Check what GPG key pairs you have already # List all public keys gpg --list-keys # List all private keys gpg --list-secret-keys 2....

18 April 2022 · 4 min · Toby Scott
Virtualisation

Increasing VirtualBox's video memory limit

VirtualBox seems to have a tiny limit on VRAM, luckily there’s a way around it! Open your terminal and run the following, with your VM name in the quotation marks. vboxmanage modifyvm "Arch Linux VM" --vram 256 Now open VirtualBox and you will see the amount of video memory has been increased to 256Mb, double the default limit. You can go as high as your hardware allows :)

22 November 2021 · 1 min · Toby Scott
Arch Linux

Installing Arch Linux and i3WM

1. Installing the base system Boot from the installation media and run the installer with the following command: # archinstall guided (Fun fact: This is a python script so # python -m archinstall guided works too) When prompted to select a network interface to configure, choose Use NetworkManager to control and manage your internet connection. When prompted to reboot, shutdown your computer, remove the installation media, and turn on the PC....

18 November 2021 · 7 min · Toby Scott
Apache config

Configuring subdomains in XAMPP

My environemnt At the time of writing, I am running XAMPP 8.0.3 on macOS 11.4 1. Enable Virtual Hosts in Apache Go to /Applications/XAMPP/xamppfiles/etc/httpd.conf and uncomment this line: #Include etc/extra/httpd-vhosts.conf 2. Configuring a new virtual host Navigate to XAMPP’s htdocs and create a directory named subdomains. Create a directory inside subdomains to be the root directory of the new subdomain. You may call it whatever you like, for this example we will call it mysubdomain....

3 November 2021 · 2 min · Toby Scott