Quick links to set up Ubuntu on Mac

By | January 27, 2020

You’ll need to download Virtual Box: https://www.virtualbox.org/wiki/Downloads You’ll want to download the latest version of Ubuntu and most probably the desktop version: https://ubuntu.com/download/desktop Go through the install process. You’ll want to turn on Guest Addition in order to be able to copy and paste between the 2 OS’s You’ll want to set the Virtual Box display… Read More »

How to remove Last Login in MacOS bash terminal

By | January 25, 2020

When you open terminal you’ll probably be greeted with: Last login: Sat Jan 25 07:54:26 on ttys001 /Users/sean> How to get rid of Last login or other Method Of The Day (MOTD) messages? It is a 2 second fix. Just type “touch .hushlogin”. Just the presence of this file will suffice.

How to find out the location where Docker stores the images on MacOS

By | January 17, 2020

In Docker preferences, select “Disk” and you’ll see the disk image location. You’ll also see the allocated image size and the amount used as well. The location for me was: /Users/sean/Library/Containers/com.docker.docker/Data/vms/0/data/Docker.raw (Sometimes it the extension can be .qcow2 as well) Other locations for previous versions and other OS’s are: /Users/MyUserName/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/Docker.qcow2 $HOME/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/Docker.qcow2 /Users/USERNAME/.docker/machine/machines

Docker Useful Commands

By | December 28, 2019

Images List: docker images -a Remove: docker rmi Image Image Remove all images: docker rmi $(docker images -a -q) Containers List: docker ps -a Remove: docker rm ID_or_Name ID_or_Name Stop all containers: docker stop $(docker ps -a -q) Remove all containers: docker rm $(docker ps -a -q) Volumes List: docker volume ls Remove: docker volume… Read More »

Showing all tabs in sublime

By | December 16, 2019

Sublime is a great text editor. It is fast and powerful but there is one annoying default setting which is all the tabs do not show by default. Instead, they overflow on the right hand side where you have to click on the triangle/arrow to display the other tabs in order to navigate to it.… Read More »

Joe Rogan Experience #1368 – Edward Snowden

By | November 10, 2019

Edward Snowden is an American whistleblower who copied and leaked highly classified information from the National Security Agency in 2013 when he was a Central Intelligence Agency employee and subcontractor. His new book “Permanent Record” is now available.

Category: JRE

invalid active developer path

By | September 21, 2019

If you are getting the following error: xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun you probably have updated to Mojave. The fix is really simple and quick. Run this command in terminal. > xcode-select –install Then test with git –version and all should be well.

Category: Git