Installing IBM Cloud Private in VirtualBox

If you’ve had fun with Docker containers, I now introduce you to Kubernetes and wish you the best of luck. I’m still learning myself! I decided to install IBM Cloud Private Community Edition following the Installation guide at IBM’s Knowledge Center. ...

18 Apr 2019

Wiring up Node.js and MongoDB containers

Previously, I described my development environment setup using Docker containers. I do it in a totally different way from most tutorials, which I don’t believe leverage containers and complicate things by having to build images for development. Here I explain how I wire up (i.e. network) a few containers - a MongoDB database, a Mongo Express User Interface to manage the database, and a Node.js container using JSON Web Tokens (JWT) to authenticate users against the database. ...

13 Apr 2019

Setting up Node.js in a Docker container

In this post I share with you how I set up a simple Docker container for Node.js development. I’ve never found a simple tutorial for beginners that meets my needs! My requirement is to do all development debugging in a container, so I am assured of consistent behaviour in any environment. I do not want to install Node.js or npm locally on my mac! I cannot be bothered to use a Makefile or Dockerfile to build images - this is only required in the final stage for production! ...

12 Apr 2019

Optimizing Grav page speed

I’m usually quite pedantic when it comes to minimizing code and optimizing web page performance. I was a bit surprised to find that this blog’s page speed was far from ideal! Google PageSpeed Insights returned a very low score for this blog. Back when I started this blow, I must’ve neglected optimization, as I was too busy learning Grav, modifying my template, etc. ...

4 Apr 2019

How to remove a background service in macOS

Want to remove macOS services (a.k.a. daemons)? ...

11 Jan 2019

Launch an application from a keyboard shortcut

Recently, I posted about my Karabiner-Elements Complex Modification Rule to map a key to Escape. Here, I make a small tweak to use it to launch an application too! ...

9 Jan 2019

Enabling Apache and PHP7 on macOS Mojave 10.14

As in my previous guides for enabling Apache and PHP on Sierra 10.12 and El Capitan 10.11 before that, this post will update the instructions for macOS Mojave 10.14.2 which comes with Apache 2.4.34 and PHP 7.1.19. ...

19 Dec 2018

Mapping a Physical Escape Key on a MacBook Pro with Touch Bar

So you miss the physical Escape key on your brand new MacBook Pro with Touch Bar? Here’s my fix to re-map a seldom used key to Escape. ...

18 Dec 2018

Compressing PDF Images with macOS

Did you know you can (sometimes) shrink the size PDF files by apply lossy compression to images? This is a built-in capability with macOS - no third party tools required. Read on… ...

17 Sep 2018

Fujifilm X-E3 customization table

I recently bought a Fujifilm X-E3 interchangeable lens camera to “replace” my Sony NEX-6 (links to DPReview). I’m very happy with the camera and impressed at the plethora of customization options. Here is a table I created to familiarize myself… obviously I like tables! ...

15 Jun 2018