Author Archives: cloudnthings
How to remove Last Login in MacOS bash terminal
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.
Sat 25 Jan: Day 2 of Back to basics
Fri 24 Jan: Day 1 of Back to basics
Joe Rogan Experience #1411 – Robert Downey Jr.
Robert Downey Jr. is an American actor, producer, and singer. He stars in the new movie “Doolittle” which releases in theater on January 17, 2020. A bit wishy washy actually but interesting to know that RDJ has a black belt in Wing Chun.
How to find out the location where Docker stores the images on MacOS
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
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 »
Neat scratch resources
http://www.programmingbasics.org/en/downloads/scratchgames/
Showing all tabs in sublime
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 »