#MOC # MacOS - [[Allowing All Users Access to a FUSE Mount on MacOS]] - [[Extracting Icons From MacOS Get Info Dialog]] - If you get the 'app is damaged and get be opened' error try running the following: `sudo xattr -rd com.apple.quarantine <path to the .app>` - [[Getting Contact Profile Pictures From iOS]] - [[Expanding Image Canvas with MacOS Preview]] - See [[MacOS Launch Agents]] for task scheduling ## From The Terminal - For ZSH configuration see [[ZSH Configuration]] - [[Chflags]] is a utility for changing file flags (use this to hide stuff) - [[Setting Environment Variables on MacOS]] - To do a DNS lookup use the `host` utility or the `dig` utility - To flush the DNS cache call `sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder` - To see a list of all partitions run `diskutil list` - `networksetup` can be used for advanced network setup e.g. to turn off IPv6 `networksetup -setv6off Wi-Fi` - To add a custom route (say to ensure TV casting works with a VPN) use `sudo route add -net 10.78.20.0/24 10.78.10.1` where the second IP is the destination - [[MacOS Terminal Alternatives]] ### Option + Delete Should Delete a Whole Word Annoyingly using the option key with backspace does not delete the whole word in either iTerm2 or Mac's native Terminal. Change that in settings > profile > keys by setting the option key to Esc+. In the native Terminal app go to profiles > keyboard and check 'Use Option as Meta Key'.