Overview for 'roballen'
Written by Rob Allen
/ Original link
on Oct. 21, 2020
I recently needed to modify the emails that a client project sends out. It was set up to send via SMTP and so the easiest way to do this for me was to add a local MailHog instance and point the application at it. Manually running via Docker The quickest and easiest way to do this is via Docker. Man…
Written by Rob Allen
/ Original link
on Oct. 13, 2020
Dorothy Hodgkin by J.S. Lewinski, 1697.© estate of J.S. Lewinski / National Portrait Gallery, London To celebrate Ada Lovelace Day today, I want to highlight Dorothy Hodgkin, a British chemist who made amazing discoveries with X-ray crystallography of molecules. In particular, she confirmed the str…
Written by Rob Allen
/ Original link
on Oct. 7, 2020
One project I'm working on has multiple separate parts in different git repositories that are brought into the main project using linked composer directories. I needed to get step debugging working in PhpStorm and this is the approach I took. Directory layout My project is laid out on disk like thi…
Written by Rob Allen
/ Original link
on Sep. 30, 2020
Recently, the ability for my Apple Watch to automatically unlock my Mac started failing on Big Sur betas and then on my main Catalina installation. I'm not sure, but it's possible that updating to WatchOS 7 caused it, though it might have been related to re-pairing to fix the battery life issues I…
Written by Rob Allen
/ Original link
on Aug. 13, 2020
There are many scripts that recursively execute php -l on a set of files or directories. This is mine: #!/usr/bin/env bash set -o nounset # Recursively call `php -l` over the specified directories/files if [ -z "$1" ] ; then printf 'Usage: %s ...\n' "$(basename "$0")" exit 1 fi ERROR=false SAVEIFS=…
Written by Rob Allen
/ Original link
on Aug. 5, 2020
I have an external drive attached to the USB hub on my Thunderbolt Display that I use to clone my laptop's internal drive every night using the schedule feature of SuperDuper!. At the appointed time, SuperDuper! will mount the external drive, clone the internal drive and then unmount the external…