Mac - techniq/wiki GitHub Wiki
qlmanage -p <file>
top -o vsize
caffeinate -u -t 3600
echo "ls -l" | at midnight
The Finder crashed:
killall -KILL Finder
(you can also restart the Finder by option (=alt) + rightclicking the Finder icon in the Dock and selecting Relaunch. It doesn't always work though.)
The Dock crashed:
killall -KILL Dock
Spaces crashed:
killall -KILL Dock
The Menubar crashed/refuses to be clickable:
killall -KILL SystemUIServer
hdiutil convert disk.dmg -format RdWr -o disk.img
- Dnsmasq - network services for small networks
- Never touch your local /etc/hosts file in OS X again
- Using Dnsmasq for local development on OS X
- Setting up a local DNS server on OSX
Watch interface en4 for DNS packets
sudo tcpdump -A -s0 -nni en4 port 53
brew install Caskroom/cask/osxfuse
brew install homebrew/fuse/sshfs\
sshfs [email protected]:/home/pi some_directory
umount some_directory