Check available simulator device on Mac OS

Someday, you want to run a simulator device for your dev, but you don’t know what simulator device you have. Don’t worry, before running, you can check by using command: xcrun simctl list –json devices After running above command, you will get the result with json format. Here you will focus on the field isAvailable….

Location of docker images downloaded by Docker on Mac OS X

To elaborate on how to open these folders in case you are getting now directory because it is a mounted on virtual host not your Mac regular volume screen ~/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/tty ls -ltrh /var/lib/docker/volumes If you want to control the volume from your mac, you can map it while you are creating the container docker run…

Show and hide the hidden file and folder on Mac OS

Show files / folders [code lang=”bash”] defaults write com.apple.finder AppleShowAllFiles TRUE (enter) killall Finder (enter) [/code] Hide files / folders [code lang=”bash”] defaults write com.apple.finder AppleShowAllFiles FALSE (enter) killall Finder (enter) [/code]