Garmin 記錄同步
Water
|
03/29/2015
|

這是一個歷史的問題,幾年前一開始跑步,當時很少 website 可以記錄跑步,加上一開始是用 ipod nano 去記錄,所以一開始我是用 Nike Plus 去記錄我的跑步歷史。之後,iPhone 的 GPS 終於去到可用的地步,就轉了用 RunKeeper 去記錄。然後買了 Garmin 手錶,於是又轉了用 Garmin Connect。

但因為不想放棄之前的里數,一直也沒有放棄用 Nike Plus 和 RunKeeper,每次跑完也會 export record 去 Nike Plus 和 RunKeeper,全程人手,最大問題是除了要 import 我的 record 還要 import 太太的…

忍受不了重複的動作,於是動手找自動化方法,原來也不是十分複雜。

Nike Plus

以前,我會用這個 website 把 Garmin 的 record import 到 Ni

Continue Reading

2015年二月日本跑遊
Water
|
02/26/2015
|

今個旅行終於完成好多個願望,你估下成兩個星期我去過邊到做過乜?

去左住 capsule hotel

img1

去左美山野睇茅屋加雪景

img2

Continue Reading

香港渣打馬拉松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*

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 fil

Continue Reading