原创 Promise , fetch Api ,blueBird,Q,When

Promise which the solution of async programmer is the original obj presented by ecmaScript 6 , it’s better than t

原创 js callback , ajax call back can observer mvvm

Refer : http://www.jb51.net/article/59447.htm do something other || like android network after the net work dow

原创 nodejs koa framework overview

koa as nodejs server framework more simple than express , you should learn es6 ,javascript rather than know koa fi

原创 macbook howto use usb 2.0 ethernet

use two hour make usb 2.0 ethernet adapter work , the adapter type is qts1081b , no 9700 , my solve way is : You’l

原创 應用欄跳轉,返回首頁,tab 位置顯示錯誤問題

destroed:function(){ //remark the Tab Index } mounted:function(){ //change the Tab 即可 || js 參數爲Int 類型時 可

原创 Android 協調者佈局title 字體大小顏色修改,設置佈局爲最上層

開發中遇到一個問題 佈局事件無效 料想不是最上層佈局 一試果真如此  // put the control to the view top playView.bringToFront();

原创 Docker,compose,kitematic Overview and build Php WordExpress

Docker 通常在服務器環境中使用較多,出於服務器端配置相對繁瑣,前端使用Npm,yarn 等管理工具已經很方便了。下面開始介紹概念以及環境搭建 首先介紹下docker的基本概念照抄一下: Docker is the wor

原创 android 實現 bilili 動畫播放效果

http://www.jianshu.com/p/06c0ae8d9a96 狀態欄透明: //設置狀態欄透明 if(Build.VERSION.SDK_INT >= Build.VERSION_C

原创 web 觀察者模式

介紹一種觀察者模式其實觀察者模式是一個比較簡單的 Publish,Subscribe過程,整個過程概括起來說就是對 對訂閱者這個數組的操作,而消息的發佈其實就是 遍歷訂閱者對象調用訂閱者本身方法的一個過程,在實際中的應用的話,

原创 js source map

Refer http://www.ruanyifeng.com/blog/2013/01/javascript_source_map.html souce map 於jq 中1.9版本開始,目的爲解決js 壓縮等操作過後,調試

原创 three way of waterfall flow

First the simple way , use css3 colum-width: <!doctype html> <html lang="en"> <head> <meta charset="UTF-8">

原创 Vue Lazy Loading Routes

When building apps with a bundler, the JavaScript bundle can become quite large, and thus affect the page load time

原创 flutter methodchannel調用原生方法,實現原生插件

在獲取手機電量,屏幕信息等,都需要flutter 調用原生實現,這部分flutter 官方已經幫我們實現好了,對於部分功能,需要自己實現, 步驟如下 # 創建一個 flutter 應用,使用 as 打開 android 目錄,

原创 123123

213123

原创 Android Jni , 不同 arm 架構 兼容

Jni jni 是一種 java 調用 c 語言的方式 java 反編譯比c容易 參考文獻: https://www.jianshu.com/p/87ce6f565d37 https://blog.csdn.net/carson_