Very Important !!
use subscribe
constructor(public af: AngularFire) {
af.auth.subscribe((authstate) => {
console.log(authstate);
authstate == null ? logout() : login(authstate.auth.displayName);
});
}
And Think change to Callback mode ………….
==========
First :
everyone use af.auth.getauth() , then check, have value is login, null is not login.
But it’s mistack. Reload page, Change page AngularFire miss…… af.auth be free.
Only login page can get af.auth
Second:
af.auth.subscribe ( ……. ) When auth check finish, run subscribe ( ….
ionic run android gives Property … does not exist on type ‘{ [key: string]: AbstractControl; }’
https://forum.ionicframework.com/t/property-does-not-exist-on-type-key-string-abstractcontrol/65783
http://stackoverflow.com/questions/39881367/property-does-not-exist-on-type-key-string-abstractcontrol/39886710
I Test Finish:
1、In ts files, still use loginForm: FormGroup;
2、loginForm.controls.password.valid -> loginForm.get(‘password’).valid
http://www.heidisql.com/
https://forums.freenas.org/index.php?threads/replication-dataset-set-a-read-only.46889/
https://forums.freenas.org/index.php?threads/replication-target-datasets-mounted-ro-in-freenas-9-3-stable-201602020212-and-newer.41246/
https://forums.freenas.org/index.php?threads/zfs-replication-and-making-the-destination-read-write.10551/
https://bugs.freenas.org/issues/15011
zfs list -o name,mountpoint,mounted,readonly volrep/common
zfs set readonly=off tank/root
http://www.mobile01.com/topicdetail.php?f=18&t=5004796
官方
https://mariadb.com/kb/en/mariadb/installing-mariadb-deb-files/
New Key Add MariaDB to your sources.list sudo apt-get install software-properties-common sudo apt-key adv –recv-keys –keyserver hkp://keyserver.ubuntu.com:80 0xF1656F24C74CD1D8
sudo add-apt-repository ‘deb http://ftp.osuosl.org/pub/mariadb/repo/10.0/ubuntu trusty main’
sudo apt-get update
sudo apt-get install mariadb-server
.begin install maybe have question about other mariadb toolkit install
If Y -> have one question for root password
If N -> use mysql_secure_installtion for secure
Finish install mariadb.
modify my.cnf /etc/mysql ( find / -name my.