Just reclaim ownership of the untamed parent directory, instead of sudo
-ing every single time.
Category Archives: OS X
Remapping Keys in Sierra
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.
1Password Chrome Plugin Not Working
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.
How To: Combine PDFs on Mac OS X
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.
DigitalOcean: How To Create A Rails App with Git Auto Deploy
What we want to achieve:
- one click create a working version of rails project on DigitalOcean
- set up a local working version of the project
- set up remote & local git repo so we could push to update remote rails project folder
- and deploy automatically with push
Reference: Set Default Browser to Canary on Mac
In Yosemite and El Capitan, go to System Preferences -> General. You’ll find the default browser preference there.
In older version of OS X this setting is in Safari’s Preference, under General tab.
Git: “git push” Pushed to A Different Remote Branch Than The One It’s Tracking Remotely?
git branch -vv
shows that my local develop
branch is tracking the remote fix/some-bug
branch. However, a git push
command pushed my commits to the remote develop
branch.
WTF?
Mac: How to See What Icons are In Font Files, To Be Used in CSS
First, we need the tool–FontLab Studio.