2013年12月29日 星期日

解決 lolcommits 中文亂碼問題

lolcommits 提供 --font 參數以客製化字型。打開字體簿,找個喜歡的字體吧!
在 mac 上可以這麼做:

lolcommits --capture --font=/Library/Fonts/Apple\ LiGothic\ Medium.ttf

而更改 lolcommits 的預設行為,可以透過修改 .git/hooks/post-commit 達成。

2013年1月4日 星期五

apache config 學習資源

在 OSX 設定防火牆,特別是轉port的設定
http://ikawnoclast.com/security/mac-os-x-pf-firewall-avoiding-known-bad-guys/

apache 常見錯誤設定
http://wiki.apache.org/httpd/CommonMisconfigurations

這篇有教怎麼同時聽80跟8080
http://httpd.apache.org/docs/2.2/vhosts/examples.html