openattic linux web管理介面工具

http://openattic.org/home.html

2016-12-26 · 1 min · word · Me

angular2 ionic2 angularfire2 json <-> object

authstat json <-> object import { Storage } from ‘@ionic/storage’; import { FirebaseAuthState } from ‘angularfire2’; // authstate object -> json this._auth.signInWithEmailAndPassword(this.loginForm.value.email, this.loginForm.value.password) .then((authData: FirebaseAuthState ) => { this.storage.set(‘alluserinfo’, JSON.stringify(authData)); }); //json -> authstate object this.storage.get(‘alluserinfo’).then((t_value) => { let value: FirebaseAuthState; value = JSON.parse(t_value); });

2016-12-22 · 1 min · 45 words · Me

Angular2 View Not Changing After Data Is Updated

[轉]Understanding Zones and Change Detection in Ionic 2 & Angular 2 http://www.joshmorony.com/understanding-zones-and-change-detection-in-ionic-2-angular-2/ Angular2 View Not Changing After Data Is Updated Finish Use setTimeout(() => { this.msgerror = error.message; }, 10);

2016-12-22 · 1 min · 30 words · Me

查現在連線load balance (haproxy)連到那台db

mysql -h xxx.xxx.xxx.xxx -u root -pxxxooo -e “set GLBAL server_id=xxxooo " mysql -h xxx.xxx.xxx.xxx -u root -pxxxooo -e “show variables like ‘server_id’”

2016-12-21 · 1 min · 22 words · Me

[轉]比较全面的MySQL优化参考(上下篇)

http://imysql.com/2015/05/24/mysql-optimization-reference-1.shtml http://imysql.com/2015/05/29/mysql-optimization-reference-2.shtml

2016-12-21 · 1 min · 2 words · Me