SwifUI onAppear 被调用两次 2021-09-03 枫叶 For everyone still having this issue and using a NavigationView. Add this line to the root NavigationView() and it should fix the problem..navigati...
Mac下制作CentOS7启动盘 2021-08-22 枫叶 Mac上制作linux系统U盘安装盘Mac下将ISO写入U盘可使用命令行工具dd,操作如下:找出U盘挂载的路径,使用如下命令:diskutil list将U盘unmount(将N替换为挂载路径):diskutil unmountDisk /dev/disk[N]写入U盘:sudo dd if=...
在 RHEL/CentOS 中设定永久静态路由 2021-08-20 枫叶 太长不看版在 /etc/sysconfig/network-scripts/ 目录中新建 route-ethN 配置文件,直接按照规则写静态路由。10.10.10.0/24 via 192.168.0.10 dev eth0CONFIGURING STATIC ROUTES IN IFCFG ...
变更 Confluence 导入 doc 文件大小 20M 限制 2021-08-11 枫叶 当 Confluence 使用 “DOC 文件导入” 功能导入体积较大的 word 文档时,会报下面的错误:发生如下错误:文件的未压缩大小太大,无法导入。...
Why MySQL connection is blocked of many connection errors? 2021-07-20 枫叶 40MySQL blocks clients which error made while connecting to protect MySQL from malformed client.So first, you need to find what sort of error is......
ZABBIX 启动报错:error while loading shared libraries: libmariadb.so.3 2021-06-18 枫叶 启动 zabbix-server 时报找不到动态链接库文件的错误:/usr/sbin/zabbix_server: error while loading...
一个 Springboot 启动脚本 2021-06-15 枫叶 将脚本保存为 app.sh,执行 sh app.sh a.jar 命令即可启动 a.jar 程序。!/bin/bash# App Info# 应用存放地址APP_HOME=/opt/02-etax/8003/code# 应用名称APP_NAME=$1# Shell Info# 使用说明,用来提...
如何在 Nginx 中为 Cookie 设置 HTTPOnly 和 Secure 属性 2021-06-15 枫叶 在安全风险总结中,要求为 Cookie 设置 Httponly 和 secure 属性。使用 add_headerAn easy way to set c...