In terminal:
$ lsof -t -i tcp:80 | xargs kill
In terminal:
$ lsof -t -i tcp:80 | xargs kill
If your Wacom tablet stopped working after you installed Parallels.
Continue readingIf some hotkey doesn’t work for you, it’s likely that it got blocked by some other app in the background.
Continue readingSetting up React Native Environment following create-react-native-app.
That was a very vague error message when installing certain gems. What we need to do is:
For error:
Error: listen EADDRINUSE :::3042
We just need to kill whatever that’s on the port. Probably the last exit wasn’t clean. Do:
$ lsof -i :3042 // to find out the PID number $ kill -9 PID // kill the process with its PID
Just reclaim ownership of the untamed parent directory, instead of sudo
-ing every single time.
Because of my use of VIM, ESC is much more useful to me than the more easily accessible CapsLock. I’ve always used Seil to switch them, until it started to fail in the new MacOS, Sierra.
After a bit of search, Karabiner solved my problem wonderfully.
Sometimes it’s because Chrome is in the middle of an update. Even if it doesn’t prompt for restart, go to chrome://help/ and manually restart from there. Simply quitting Chrome and restarting the app might not work.
OS X provides a pretty handy way of combining PDFs in Preview. Go Menu -> View -> Contact Sheet with both files, and drag additional PDF pages onto the first one. However, sometimes it just doesn’t seem to work.