Mac

How to Find the EDID UUID of External Mac Monitors

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

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

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

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

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

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

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

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

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’

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

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

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

Read More

How to Generate a Random AlphNumeric String in Linux/MacOS

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?

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

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

Read More

How to Restart Sound Driver on a Mac

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

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

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

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

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

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

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

Read More

How to Install MongoDB on Mac

You can use Homebrew to install MongoDB on a Mac.

Read More

How to install a Ruby Gem without Root on a Mac

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

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

Read More