Category Archives: OSX

How to install MySQL on mac

By | August 7, 2020

To install and start MySQL on a mac, run these commands: brew install mysql mysql.server start Useful commands to start and log in. mysql.server stop mysql –version or mysql -V brew info mysql mysql -uroot //to log in. (No password needed). Useful commands within MySQL: show databases; create database <NAME_HERE> mysql -u username -p new_database… Read More »

Category: OSX

How to find out Apache version on OSX?

By | July 25, 2020

The simplest way is to run: /usr/sbin/httpd -v in a terminal. You should get something like: Server version: Apache/2.4.34 (Unix) Server built:   Feb 22 2019 20:20:11 To know where httpd is, you can also run: whereis httpd

Category: OSX

How to open apps with keyboard shortcuts on OSX

By | July 14, 2020

Opening your favourite application using keyboard shortcuts can save you a lot of time. Saving a second here and a second there starts to build up over time especially considering the amount of time we spend in front of our devices nowadays.On a Mac, you can create keyboard shortcuts to open up your favourite or… Read More »

Category: 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

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 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