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. You could… 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. You could… Read More »How to find all symlinks in a directory tree on Mac
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… Read More »How to Bulk Move All Email from One Account to Another using the 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: Using… Read More »How to Reboot Networking on Mac from CLI
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. In… Read More »How to Change the Timestamp of a File on Mac/Linux
If you use Homebrew – and you probably should if you’re on a Mac – then you have probably installed various different applications and packages… Read More »How to update/upgrade all Homebrew packages
If you try and run npm i and get Error: Cannot find module ‘../lib/cli.js’, then you can easily fix the problem by running the following.… Read More »[Solved] Error: Cannot find module ‘../lib/cli.js’
If you have recently upgraded your MacOS operating system, you may get the following error in your terminal when installing some Homebrew packages: Error: Permission… Read More »[Solved] Permission denied @ apply2files – /usr/local/lib/node_modules/expo-cli/node_modules/extglob/lib
There are a few different ways to enable Syntax Highlighting in Vim. Option 1 – Edit ~/.vimrc Add syntax on to your local ~/.vimrc Option… Read More »How to Enable Syntax Highlighting in Vim
If you need to generate a random AlphaNumeric string from the Linux/MacOS Command-Line, then you can use the following script: This can also be piped… Read More »How to Generate a Random AlphNumeric String in Linux/MacOS
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… Read More »What temperature does your Mac CPU idle at?
This error often looks something like: Reinstall AWSCLI If you have started getting the Bad Interpreter error when you call awscli, then you can easily… Read More »How to Fix the ‘Bad Interpreter’ Error from AWS and Python 3.7
If you get the following error while trying to install something via Homebrew AttributeError: ‘int’ object has no attribute ‘split’ – make: *** [sharedmods] Error… Read More »How to solve AttributeError: ‘int’ object has no attribute ‘split’ – make: [sharedmods] Error 1
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… Read More »How to Restart Sound Driver on a Mac
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 tell what the CHMOD value of a file/directory is
I needed to find all files in a directory on Linux that ended with the file extension .php. How to find all files in a… Read More »How to find all files in a directory with extension
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. Also,… Read More »How to Quickly Hide all Icons on a Mac’s Desktop
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 »Get the total size of all the files in a directory
Learning Go or Golang as a Python developer, programmer or software engineer is easier than you think. While there are quite a lot of things… Read More »Learn Golang as a Python Developer
Programming languages provide the ability to remove special characters from a string quite easily. Sometimes you need to also do this from your command-line using… Read More »Remove Special Characters in a String using Bash
You can use Homebrew to install MongoDB on a Mac. For ages you were able to simply do: brew install mongodb, but more recently, that… Read More »How to Install MongoDB on Mac
Gems are little packaged Ruby applications that allow you to extend the ecosystem and reuse countless online sources. If you don’t have Root on your… Read More »How to install a Ruby Gem without Root on a Mac
Sometimes you just need to know where that image shown on your desktop is stored! For this, there is a simple but effective line of… Read More »Show the desktop’s image name on a Mac