香港渣打馬拉松2015 相片收集區
Water
|
01/26/2015
|
Install Android Studio on plain new MacOSX Yosemite
Water
|
12/31/2014
|

MacOSX Yosemite doesn't pre-install java, so when you installed Android Studio, you will get error:

mac no java runtime present

So you have to download java JRE (or SDK) from Oracle Website. But this is java 1.8 and Android Studio require java 1.6.

To fix it, you can edit:

/Applications/Android Studio.app/Contents/Info.plist

and change:

<key>JVMVersion</key>
<string>1.6*</s

Continue Reading

CasperJS won't load https page
Water
|
10/20/2014
|

Recently I found that casperJS won't load https page as before, --ignore-ssl-errors flag is already set:

    casperjs --ignore-ssl-errors=yes file.js

It turns out that it caused by the recent SSLv3 vulnerability that SSLv3 transport is disabled in most web server, and phantomJS use SSLv3 by default. To fix it, add one more options:

    casperjs --ignore-ssl-errors=yes --ssl-protocol=tlsv1 file.j

Continue Reading

Hyperlapse from Instagram
Water
|
08/27/2014
|

我好少推介app,尤其是我最憎的 facebook。但今次呢個 app 真係好用,佢就係Hyperlapse from Instagram。

img1

Continue Reading

XtremeMac Tango Bar 開箱文
Water
|
07/19/2014
|

iMac 的 sound card 壞了,有兩個解決方法。1. 花幾千元換 logic board, 2. 加一個外置 sound card (USB)。 於是買了這個 XtremeMac Tango Bar:

  • 內置 USB sound chip
  • USB 供電,即只要插上 USB 線已經可以運作。
  • 外觀不會太難看。

XtremeMac Closeup

Continue Reading