Mac

How to Find the EDID UUID of External Mac Monitors

December 9, 2022

You can issue the following command on an Apple Mac’s terminal to show the EDID UUID (unique serial number) of all attached external monitors:


Read More

How to Disable Screensaver on Mac using the CLI

October 16, 2022

If you want to disable the Screensaver on your Mac, by using the Command Line Interface (CLI), then you can do the following:


Read More

How to Install Homebrew on a Mac

September 21, 2022

Prerequisites You should have some familiarity with the Mac Terminal application since you’ll need to use it to install Homebrew.


Read More

How to Setup Credential Helper for AWS CodeCommit

July 25, 2022

AWS CodeCommit is a git code repository service by Amazon Web Services.


Read More

How to find all symlinks in a directory tree on Mac

April 27, 2022

If you need to recursively find all symbolic links in a directory tree on a Mac, then you have a couple of options.


Read More

How to Bulk Move All Email from One Account to Another using the CLI

April 8, 2022

If you find yourself in a position where you need to sync all emails from one account to another, then you can use the imapsync command-line tool to bulk copy, or move everything for you.


Read More

How to Reboot Networking on Mac from CLI

April 6, 2022

If you need to reboot, or restart the networking interface on your Mac, by using the CLI, then you can issue the following commands:


Read More

How to Change the Timestamp of a File on Mac/Linux

February 17, 2022

If you have a file on your machine, and you want to change the created/modified time/date stamp, then you can use the touch command.


Read More

How to update/upgrade all Homebrew packages

December 11, 2021

If you use Homebrew – and you probably should if you’re on a Mac – then you have probably installed various different applications and packages as time went on.


Read More

[Solved] Error: Cannot find module ‘../lib/cli.js’

December 9, 2021

If you try and run npm i and get Error: Cannot find module '.


Read More

[Solved] Permission denied @ apply2files – /usr/local/lib/node_modules/expo-cli/node_modules/extglob/lib

December 4, 2021

If you have recently upgraded your MacOS operating system, you may get the following error in your terminal when installing some Homebrew packages:


Read More

How to Enable Syntax Highlighting in Vim

November 24, 2021

There are a few different ways to enable Syntax Highlighting in Vim.


Read More

How to Generate a Random AlphNumeric String in Linux/MacOS

November 11, 2021

If you need to generate a random AlphaNumeric string from the Linux/MacOS Command-Line, then you can use the following script:


Read More

What temperature does your Mac CPU idle at?

September 10, 2021

Sometimes you will find that your Mac is running very hot, and you may want to keep track of it over time to see if it’s persistent or only a spike.


Read More

How to Fix the ‘Bad Interpreter’ Error from AWS and Python 3.7

August 3, 2021

This error often looks something like: .zshrc: /usr/local/bin/aws: bad interpreter: /usr/local/opt/python/bin/python3.


Read More

How to solve AttributeError: ‘int’ object has no attribute ‘split’ – make: [sharedmods] Error 1

July 23, 2021

If you get the following error while trying to install something via Homebrew


Read More

How to Restart Sound Driver on a Mac

May 27, 2021

So for some strange reason, your audio has stopped playing through the Macbook Pro speakers, but if you plug in an external audio device, it still works?


Read More

How to tell what the CHMOD value of a file/directory is

November 21, 2020

chmod alters the permissions for a file or directory, you could allow full read/write access to a file or directory by running the following command:


Read More

How to find all files in a directory with extension

August 30, 2020

I needed to find all files in a directory on Linux that ended with the file extension .


Read More

How to Quickly Hide all Icons on a Mac’s Desktop

July 3, 2020

Why the need to hide icons? Perhaps you have a screen-share session coming up and you want a nice clean desktop to show everyone.


Read More

Get the total size of all the files in a directory

May 23, 2020

It’s amazing how many times I’ve need to find out the total size of all the files in a directory on one of our servers.


Read More

Learn Golang as a Python Developer

March 9, 2020

Learning Go or Golang as a Python developer, programmer or software engineer is easier than you think.


Read More

Remove Special Characters in a String using Bash

March 8, 2020

Programming languages provide the ability to remove special characters from a string quite easily.


Read More

How to Install MongoDB on Mac

January 4, 2020

You can use Homebrew to install MongoDB on a Mac.


Read More

How to install a Ruby Gem without Root on a Mac

October 1, 2018

Gems are little packaged Ruby applications that allow you to extend the ecosystem and reuse countless online sources.


Read More

Show the desktop’s image name on a Mac

September 23, 2018

Sometimes you just need to know where that image shown on your desktop is stored!


Read More