VykeZone 打台灣市話,一小時只有us 15C....
rebtel
twlilo
airtime
line2
bababoo
plogur
firebase auth SimpleLogin when offline auth check
>> firebase response
Great question. We are actually putting the finishing touches on login v2 and I think you will be happy with the offline improvements it brings. Ultimately, you are running into issues with what you are trying to do because it cannot be done with the current API. However, with our upcoming login refresh, we will persist session tokens on the client, allowing you to authenticate via custom or simple login without any internet connection. We are still a couple weeks out from finishing this project and making it production-ready, but keep an eye out on this group for announcements.
=================
https://www.firebase.com/docs/web/guide/user-auth.html
Storing User Data
Great question. We are actually putting the finishing touches on login v2 and I think you will be happy with the offline improvements it brings. Ultimately, you are running into issues with what you are trying to do because it cannot be done with the current API. However, with our upcoming login refresh, we will persist session tokens on the client, allowing you to authenticate via custom or simple login without any internet connection. We are still a couple weeks out from finishing this project and making it production-ready, but keep an eye out on this group for announcements.
=================
https://www.firebase.com/docs/web/guide/user-auth.html
Internally, Simple Login generates JWT auth tokens after authenticating against the appropriate provider. It then calls Firebase.auth() with those tokens. It does not store profile or state information in Firebase. In order to persist user data we'll have to save it to our Firebase.
=================
Firebase.auth() in firebase-client-jvm-1.0.18.jar/com/firebase/client/Firebase.class
can not decomplier, for understand how to save data. ....
Firebase.auth() in firebase-client-jvm-1.0.18.jar/com/firebase/client/Firebase.class
can not decomplier, for understand how to save data. ....
mikrotik qos connection timeout (Established)and limit connection
Now P2P is too good, so use QOS can't stop. So
1、 setup limit connection:in Firewall, Filter Rule add
Action: drop Protocol: TCP UDP Extra-Connection Limit: xx
2、set connection timeout: in Firewall, Connections, Tracking-TCP Established Timeout: 00:05:00 (5mins by your want)
then......p2p......can use, but.....you know
1、 setup limit connection:in Firewall, Filter Rule add
Action: drop Protocol: TCP UDP Extra-Connection Limit: xx
2、set connection timeout: in Firewall, Connections, Tracking-TCP Established Timeout: 00:05:00 (5mins by your want)
then......p2p......can use, but.....you know
github 刪除
http://www.douban.com/group/topic/32935166/
>>芽衣
git rm --cached filename
git commit -m "hehe"
git push origin branch
>>cloudaice
上面的一些解法只是保持以后不会跟踪了,要想彻底删除的方法如下:
git filter-branch --index-filter 'git rm -r --cached --ignore-unmatch path/to/your/file' HEAD
git push origin master --force
rm -rf .git/refs/original/
git reflog expire --expire=now --all
git gc --prune=now
git gc --aggressive --prune=now
>>芽衣
git rm --cached filename
git commit -m "hehe"
git push origin branch
>>cloudaice
上面的一些解法只是保持以后不会跟踪了,要想彻底删除的方法如下:
git filter-branch --index-filter 'git rm -r --cached --ignore-unmatch path/to/your/file' HEAD
git push origin master --force
rm -rf .git/refs/original/
git reflog expire --expire=now --all
git gc --prune=now
git gc --aggressive --prune=now
android crosswalk intel XDK codova
剛用intel XDK 做crosswalk,用codova,做純網頁 app,非常慢.....慢到極點了
crosswalk是把最新的chorme的核心,包在apk中,只有4.4才是內建chorme新的核心,所以crosswalk就是把apk包了chorme,讓apk走html5架構暴快
如果單純crosswalk比cocoonjs還快,目前看有人測試,所以是慢在codova.....
codova太慢了,如果用android studio 做原生的webview,連網頁超快,但我現在手機,雖然是4.2,但底層已換chorme,所以我測很快,所以現在兩種情況:
一、以後走4.4後,chorme為底層broswer時,html5暴快,
二、等android studio可以包crosswalk時,就算4.x的都暴快,4.0以下不能用crosswalk,但包了crosswalk會胖20 MB
但,很妙的是,如果走codova crosswalk XDK,放到手機中,吃的記憶體不多,5x~8x MB,但會自動掛掉 .......
crosswalk是把最新的chorme的核心,包在apk中,只有4.4才是內建chorme新的核心,所以crosswalk就是把apk包了chorme,讓apk走html5架構暴快
如果單純crosswalk比cocoonjs還快,目前看有人測試,所以是慢在codova.....
codova太慢了,如果用android studio 做原生的webview,連網頁超快,但我現在手機,雖然是4.2,但底層已換chorme,所以我測很快,所以現在兩種情況:
一、以後走4.4後,chorme為底層broswer時,html5暴快,
二、等android studio可以包crosswalk時,就算4.x的都暴快,4.0以下不能用crosswalk,但包了crosswalk會胖20 MB
但,很妙的是,如果走codova crosswalk XDK,放到手機中,吃的記憶體不多,5x~8x MB,但會自動掛掉 .......
android webview performance crosswalk
Now HAHA!!
https://diego.org/2015/01/07/embedding-crosswalk-in-android-studio/
https://crosswalk-project.org/documentation/embedding_crosswalk/crosswalk_aar.html
=====================================
https://www.timroes.de/2013/11/23/old-webview-vs-chromium-webview/
Have you looked at crosswalk? https://crosswalk-project.org/ It’s a chromium web runtime that can be packaged with the app, so you get a benefit on 4.x devices, not just kitkat. It has more features (like webrtc) and sometimes outperforms chromium webview.
https://crosswalk-project.org/
==============
https://gist.github.com/butelo/9365587
1:R.layout.activity_xwalk_embed_lib -> R.layout.xxxxx
2: R.menu.xwalk_embed_lib -> R.menu.xxxx
3: AndroidManifest.xml
<uses-permission android:name="android.permission.INTERNET">
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE">
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE">
==============
use this
https://groups.google.com/forum/#!msg/adt-dev/nQobKd2Gl_8/Z5yWAvCh4h4J
problem:libxwalkcore.so can be soft.
just do armeabi-v7a.jar is have lib/armeabi-v7a/libxwalkcore.so and jar put in libs
==============
test for this, use android studio, have big problem:libxwalkcore.so
can't load libxwalkcore.so
http://comments.gmane.org/gmane.comp.web.crosswalk.help/250
find this and follow, then can understand....: There are different between android studio and ADT in so library. We must edit build.gradle file to copy libs into build/native-libs dir. for example,
use ver 7.xxxxx
libs already put xwalk_core_library_java.jar and armeabi-v7a/libxwalkcore.so
and
AndroidManifest.xml need to put
<uses-permission android:name="android.permission.INTERNET">
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE">
this is for load libxwalkcore.so success, need to put
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE">
=====================================
Finialy, I can't use this.
If really want to use , please use verion for Cordova + Crosswalk backend. it's easy success.
or use Intel XDK
https://diego.org/2015/01/07/embedding-crosswalk-in-android-studio/
https://crosswalk-project.org/documentation/embedding_crosswalk/crosswalk_aar.html
=====================================
https://www.timroes.de/2013/11/23/old-webview-vs-chromium-webview/
Have you looked at crosswalk? https://crosswalk-project.org/ It’s a chromium web runtime that can be packaged with the app, so you get a benefit on 4.x devices, not just kitkat. It has more features (like webrtc) and sometimes outperforms chromium webview.
https://crosswalk-project.org/
==============
https://gist.github.com/butelo/9365587
1:R.layout.activity_xwalk_embed_lib -> R.layout.xxxxx
2: R.menu.xwalk_embed_lib -> R.menu.xxxx
3: AndroidManifest.xml
<uses-permission android:name="android.permission.INTERNET">
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE">
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE">
==============
use this
https://groups.google.com/forum/#!msg/adt-dev/nQobKd2Gl_8/Z5yWAvCh4h4J
problem:libxwalkcore.so can be soft.
just do armeabi-v7a.jar is have lib/armeabi-v7a/libxwalkcore.so and jar put in libs
==============
test for this, use android studio, have big problem:libxwalkcore.so
can't load libxwalkcore.so
http://comments.gmane.org/gmane.comp.web.crosswalk.help/250
find this and follow, then can understand....: There are different between android studio and ADT in so library. We must edit build.gradle file to copy libs into build/native-libs dir. for example,
use ver 7.xxxxx
libs already put xwalk_core_library_java.jar and armeabi-v7a/libxwalkcore.so
and
AndroidManifest.xml need to put
<uses-permission android:name="android.permission.INTERNET">
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE">
this is for load libxwalkcore.so success, need to put
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE">
=====================================
Finialy, I can't use this.
If really want to use , please use verion for Cordova + Crosswalk backend. it's easy success.
or use Intel XDK
訂閱:
文章 (Atom)