Category Archives: OSX

Errno::EPERM: Operation not permitted @ dir_s_mkdir – /usr/local/Cellar

By | July 9, 2020

If you are getting this error while running brew, you are probably missing some important folders. This is the full error here: Error: No such file or directory @ dir_chdir – /usr/local/Cellar Warning: Bottle installation failed: building from source. Error: An exception occurred within a child process:   Errno::EPERM: Operation not permitted @ dir_s_mkdir -… Read More »

Category: OSX

Java and Homebrew on OSX

By | April 24, 2020

To get Java on a Mac, the basic command to run is > brew cask install adoptopenjdk This will install the latest “brew” version at /Library/Java/JavaVirtualMachines/adoptopenjdk-xx.jdk For me, it was version 14. To uninstall it, just change install to “un”install.   To install a specific version of Java, run: > brew cask install adoptopenjdk8 You… Read More »

Category: OSX

Can’t see mouse pointer in Keynote

By | April 16, 2020

Now here is a needless frustrating head scratcher. You’re preparing for a presentation using Keynote but in presentation mode, you can’t see the mouse pointer. Now this situation is likely to occur when you’ve downloaded the newest version of Keynote because by default, the option “Show pointer only on slide with links or movies” is… Read More »

Category: OSX

Customising your command line prompt in OSX

By | November 22, 2019

To customise your terminal command line prompt, run this command >> export PS1=”Ben Dover $” However, if you want something more permanent, create a .bash_profile file in your home directory. Then press i to insert text and add the following line: Then press escape and type :wq and hit enter. Then restart your terminal. The… Read More »

Category: OSX

Adding a spacer to the dock in osx

By | June 3, 2019

If you are wanting to organise your dock with separators, you can run the command below in terminal to create a spacer. >> defaults write com.apple.dock persistent-apps -array-add ‘{ “tile-type” = “spacer-tile”; }’ killall Dock A line separator can also be “installed” but this is creates vertical lines which is only suitable if the dock is horizontal… Read More »

Category: OSX

How to remove Java from OSX

By | June 14, 2018

It is actually a bit of a pain removing Java from OSX but by that I mean it’s only 3 steps instead of 1. Basically run these commands here: sudo rm -rf “/Library/Internet Plug-Ins/JavaAppletPlugin.plugin” sudo rm -rf “/Library/PreferencePanes/JavaControlPanel.prefPane” sudo rm -rf “~/Library/Application Support/Java” Reference: http://osxdaily.com/2017/06/16/uninstall-java-mac/

Category: OSX

Opening up an application using terminal in OSX

By | June 28, 2017

If you have ever wondered how to open an application using terminal, the command is very simple. > open -a application_name For instance: > open -a Calculator.app Note that auto-complete will place a forward slash like this > open -a Calculator.app/ You will have to remove it. Your current directory in terminal should be the… Read More »

Category: OSX