Directly download new major release of macOS from Apple server and install it from your local Mac machine

The download manager of App Store application seems does not allow resumption of interrupted download of macOS installer. If you have a very slow internet connection or it disconnect for a while, the download will fail due to connection timed out and the downloading of macOS installer will not resume and it also does not provide a "resume" button to continue the download. You will need to restart the update and the download will begin from zero percent again. This is frustrating for Mac users who do not have fast internet every time they update their macOS.


Run your legacy projects in PHP 5.6 along with Laravel Valet that runs under PHP 7.2 in macOS

As of this writing, the latest Laravel Valet requires PHP 7.2. What if you still have legacy projects or Drupal 6 modules you maintain that can't run under PHP 7.2? It would be nice if Laravel Valet has option to run multiple PHP versions but there isn't one. Laravel Valet uses nginx + php-fpm and we can tap to nginx and php-fpm's configurations to make possible to run our legacy projects in PHP 5.6. This will make our nginx running both PHP 7.2 and PHP 5.6.

Workaround way to display nginx configuration error details in macOS

The Homebrew service control in macOS does not display if there is/are error(s) in your nginx configuration. For example if you mistakenly duplicate the declaration of "client_max_body_size" directive Homebrew service control won't give any error details or even tell you that there is error in your nginx configuration when you restarted the nginx service:

How to include terminal and VIM applications in Karabiner version 10.22.0 change key

Some of the change key options are excluding terminal and VIM. What if you like the terminal and VIM applications be included in the change key options where they are excluded? In Karabiner version 10.22.0 there is private.xml for your custom configurations. This is locate at:

~/Library/Application Support/Karabiner/private.xml

To include terminal and VIM applications in Karabiner change key, edit the private.xml and have the following codes as its content:

How to change the owner and group of VMware's Shared Folder in macOS guest OS

The owner and group of VMware's Shared Folder in macOS guest OS can't be changed by just using chmod. Mounting of the VMware's Shared Folder is the task of VMware Tools and it is possible to change its owner and group during mounting.

VMware Tools uses a bash script to mount VMware's Shared Folder and it is located at:


Setup phpMyAdmin with Laravel Valet

This article will show step by step on how to setup phpMyAdmin with Laravel Valet:

  1. Install Homebrew. Execute the following shell command in your terminal:

    /usr/bin/ruby -e "$(curl -fsSL"

    If you have Homebrew already installed, update it:

    brew update
  2. Install composer. Execute the following shell commands in your terminal:

Using Laravel Valet with Drupal multiple sites

Setup of development environment for Mac is made easy with Laravel Valet. Comparing it with XAMPP setup, we don't need to edit hosts file and httpd.conf/httpd-vhosts.conf Apache configuration files to add a local development domain. Even Drupal multiple sites setup (sharing the same code base) is possible in Laravel Valet. In this article will discuss the Drupal multiple sites setup step by step guide and we will use local development domain http://webfoobar.test as Drupal site #1 and http://drupal.test as Drupal site #2.


How to setup a network printer in macOS X

I have tried the instructions available in the internet and none of them worked for me. The setup: the printer (Canon E600) is connected via USB on wireless router (ASUS WL-520gU) and Mac is running OS X El Capitan 10.11.6.

The following are the instructions:

  1. Click the Apple button at the upper left and select System Preferences from the menu.