favicon 在HTML页面的最完整的写法:
<link rel="icon" href="/favicon.ico" /><!-- 48×48 -->
<link rel="icon" href="/icon.svg" type="image/svg+xml" sizes="any" />...
最近把树莓派3b重新折腾起来了,安装了一个ubuntu,装上docker 和docker compose,我测试了一下读写系统盘的SD卡,写入大概15M/s,读取20M/s。读写usb2.0接口上的sd卡速度更慢,写入只有6~7M/s,用来存放生产数据不太乐观,比较合理的是用来做备份,数据放在系统盘的SD卡上。
安装Docker:
当前只能使用snap的...
以SQL命令的方式获取SQLSERVER的存储过程,以MMS » dbo 数据库为例
USE MMS.dbo
列出当前DB所有存储过程
select * from sys.objects where type = 'P';
查找单条存储过程名称 如:usp_WebGetSubscrib...
实际启动命令为:
/usr/local/opt/mysql/bin/mysqld_safe --bind-address=0.0.0.0 --datadir=/usr/local/var/mysql
加入 --user=root 无效:
/usr/local/opt/mysql/bin/mysqld_sa...
nginx.conf 增加一个配置 , 可以放在 include 配置文件之后
server {
listen 80 default_server;
listen [::]:80 default_server;
server_name _;
return 404;
}
阻止所有非你设定的 server_name ,都是 404
windows版本的讨论:https://github.com/beanstalkd/beanstalkd/issues/267
不依赖 cygwin,vs 2008 编译的 beanstalkd.exe: https://github.com/LomoX-Offical/beanstalkd-win/blob/iocp/beans...
You can get this error if docker doesn't shut down cleanly. The following answer is for the docker snap package.
Run snap logs docker and look for the following:
Error...
Key Takeways
File permission is the pain in docker development, better to change default user in php-fpm
Be careful with $document_root in nginx configuration, maybe...