I finally decided to change my VS2015's cordova project CLI from 4.3.0 to 5.3.3, so that I can try to play with windows 10.0 build. But I didn't expect that Cordova CLI changed so much from 4 to 5, that I met a few issues and have to spend hours to solve them.
1. I've to install Android SDK's google repository in order to get it to build
2. I've to add a build.json as specified in http://stackoverflow.com/questions/31791215/visual-studio-2015-cordova-not-signing-apk, so that the release build can be signed.
Also, I've to switch the expired push plugin to phonegap-plugin-push, which I've to change code...
And the funny things about win10 build, the debug build doesn't carry out the push notification. Only release build can successfully register with azure mobile service!
This is a blog about what I see and think, codename XDage. For find pic diff games, please visit http://findpicdiff.blogspot.com
Saturday, October 24, 2015
Thursday, October 22, 2015
Why I left Microsoft and joined Bodhi Meditation
I've read quite a few blogs before about why people left Microsoft, it's mostly because they were attracted with opportunities with better pay or better opportunities to make more money. And finally it's my turn to leave Microsoft early 2015, but not for money, but for compassion,
I decided to volunteer/work for Bodhi Meditation from now on, to make more people knowing it and to make more people going into it to be more happy and healthy. I've learned so much from it since 2008, and have finally made the decision to be part of it, to contribute, and pursue the spiritual part of the life.
There are tons of stories why you can be healthier in it. There are so many miracles that I've used to be surprised. Read yourself, and experience it yourself. It's a life time opportunity.
Bodhi Meditation's official website: puti.org. YouTube: https://www.youtube.com/user/putihome
We have meditation centers in many countries and cities. We welcome everyone from every religion. Be there and enjoy it!
Wish every one the best!
I decided to volunteer/work for Bodhi Meditation from now on, to make more people knowing it and to make more people going into it to be more happy and healthy. I've learned so much from it since 2008, and have finally made the decision to be part of it, to contribute, and pursue the spiritual part of the life.
There are tons of stories why you can be healthier in it. There are so many miracles that I've used to be surprised. Read yourself, and experience it yourself. It's a life time opportunity.
Bodhi Meditation's official website: puti.org. YouTube: https://www.youtube.com/user/putihome
We have meditation centers in many countries and cities. We welcome everyone from every religion. Be there and enjoy it!
Wish every one the best!
Monday, July 21, 2014
Cordova on android is case sensitive for file/directory names!
I was playing on VS cordova development, and everything working on the Ripple plugin with chrome. But deploy the app to the android has some wierd errors.
One of the HTML page doesn't load, claiming something like "Application Error
network error. (file:///android_asset/www/tutorial.html)". It take me a long time to figure out what the problem is. The file I'm referencing has a capital letter, where inside HTML, I'm referecing it as lowercase. This will pass the ripple emulator, but will fail on Android. And I've to make sure I change both VS file name and the file name on the file system to make them match.
Similarily, the directory names, and all other referencing css/js file names are case sensitive.
I wish that VS editor understands it, and can some how warn me..
One of the HTML page doesn't load, claiming something like "Application Error
network error. (file:///android_asset/www/tutorial.html)". It take me a long time to figure out what the problem is. The file I'm referencing has a capital letter, where inside HTML, I'm referecing it as lowercase. This will pass the ripple emulator, but will fail on Android. And I've to make sure I change both VS file name and the file name on the file system to make them match.
Similarily, the directory names, and all other referencing css/js file names are case sensitive.
I wish that VS editor understands it, and can some how warn me..
Sunday, May 4, 2014
我父母对吃秋葵治疗高血糖的一些感受
晚上取少量秋葵,约每人两根像小拇指大小的,或每人一根像中指大小的,洗净,切成片,放入约300ml的杯中。烧一壶开水,倒入杯中。用开水是因为可以给秋葵消毒,用以杀死细菌。将含开始泡制的秋葵的杯子放置一晚。第二天早晨起床后,吃早饭前,将杯中的水全部喝下,特别是要把泡出来的粘液全部喝下去。为了把粘液喝干净,喝完后可以加点水,搅动一下继续喝。剩下的秋葵不要浪费,可以和其它菜一起烹饪。
我们按此方法吃进行试验,大概3周就有很好的效果。空腹血糖一人从120-130
(6.7-7.2)降到105(5.8)左右,一人从105(5.8)左右降到85(4.7)左右。停服一段时间之后,血糖会渐渐回升,可以重新按上述方法服用,保持血糖值正常。
据有的文章介绍,秋葵的粘液可以阻止或减少血糖的吸收,这大概就是秋葵降血糖的原因,所以,在饭前服用效果才好。
Subscribe to:
Posts (Atom)