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. ...

2014-10-03 · 1 min · 164 words · Me

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

2014-10-01 · 1 min · 45 words · Me

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,但會自動掛掉 …….

2014-09-28 · 1 min · 18 words · Me

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 ============== 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 ...

2014-09-28 · 1 min · 170 words · Me

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

2014-09-28 · 1 min · 46 words · Me