https://blog.cavedu.com/2019/03/05/raspberry-pi-face-recognition/
「jeng」的全部文章
Cordova 开发的app,提示net::ERR_CLEARTEXT_NOT_PERMITTED
https://juejin.im/post/5de08d52f265da06061be54f
解决办法一
找到AndroidManifest.xml文件(地址:platforms\android\app\src\main\),找到application标签,添加:
<application android:usesCleartextTraffic="true" >
<!--some code-->
</application>
复制代码
解决方法二
在xml文件夹中新建一个network_security_config.xml 文件
<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
<domain-config cleartextTrafficPermitted="true">
<domain includeSubdomains="true">domain.com (to be adjusted)</domain>
</domain-config>
</network-security-config>
复制代码
在AndroidManifest.xml中添加
<?xml version="1.0" encoding="utf-8"?>
<manifest ...>
<uses-permission android:name="android.permission.INTERNET" />
<application
...
android:networkSecurityConfig="@xml/network_security_config"
...>
...
</application>
</manifest>
作者:Mr张先生
链接:https://juejin.im/post/5de08d52f265da06061be54f
来源:掘金
著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。
Install dlib and face_recognition on a Raspberry Pi 臉部辨識
Python 超神之作:遠程開機和關機!
arduino:帮助解密python中来自arduino rf模組的AES字元串
樹莓派硬體看門狗(Watchdog):當機時自動重新開機
How to setup a Raspberry Pi RFID RC522 Chip
SyncBackFree 檔案、文件、資料夾、硬碟備份與同步免費 Windows 軟體
樹莓派安裝 Apache2+MySQL+PHP7
http://yhhuang1966.blogspot.com/2019/12/apachemysqlphp7.html
安裝 phpmyadmin 後登入的問題
網路上找了一下,這個問題似乎不止出現在 Ubuntu16.04。
舉凡 PHP 5.X 升級 PHP 7.X,或者 MySQL 變更使用 MariaDB 都有人遇到。
解決方法一如 wonton 所提,使用指令如下:
#sudo mysql --user=root mysql
MariaDB [mysql]> CREATE USER 'newaccount'@'localhost' IDENTIFIED BY 'newpassword';
MariaDB [mysql]> GRANT ALL PRIVILEGES ON *.* TO 'newaccount'@'localhost' WITH GRANT OPTION;
MariaDB [mysql]> FLUSH PRIVILEGES;
MariaDB [mysql]> quit
#sudo service mysql restart
然後用新帳號(newaccount)、新密碼(newpassword)即可登入