Oct 23, 2014

OS X Yosemite: How to change Japanese default font



In my opinion the default Japanese font in Yosemite is ugly!

Let's replace it with better one.

Fast way: open Terminal and run:
sudo wget http://goo.gl/8APaAA -O /System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Resources/DefaultFontFallbacks.plist

You need to enter your password.
Restart your computer and see change.

Here is more advanced changes (more customization)
Locate
/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Resources/
and make a copy of DefaultFontFallbacks.plist as a backup.
Then copy it your documents to make change using Xcode (we cannot edit it directly)

Inside that, find an entry with "ja".
For sans-serif, HiraKakuPro-W3 is good one.
For serif, HiraMinProN-W3 is nice.

Save and copy DefaultFontFallbacks.plist back to
sudo cp DefaultFontFallbacks.plist /System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Resources/

We done!
I made a tuned DefaultFontFallbacks.plist for download here:
http://goo.gl/8APaAA


Update:
There is an easier way to do:
https://github.com/schreiberstein/lucidagrandeyosemite

Oct 1, 2014

New tools to my developement

Live Reload X
http://nitoyon.github.io/livereloadx/
This is based on Livereload but having command line interface.
It does auto fetch images/js/css (without reloading)
or auto-reloading (while editing script such as PHP, HTML),
great for doing front-end development.

ZSH
https://github.com/robbyrussell/oh-my-zsh
Alternative to Bash shell. See how awesome it's here:
http://www.slideshare.net/jaguardesignstudio/why-zsh-is-cooler-than-your-shell-16194692

Day-O
http://shauninman.com/archive/2011/10/20/day_o_mac_menu_bar_clock
Although not related to development, this does provides quick calendar, very useful.
Another quick way is using command line, run: $ cal

Arch Linux
http://www.themukt.com/2014/06/07/arch-linux-tutorial/
Always updated, friendly, lightweight and designed for geek.
A great distribution.
Arch's wiki is very well-written.
If only if I knew Arch besides Deiban/Ubuntu, the Linux world will be more open to me.