摘要: netsh interface ipv4 show excludedportrange protocol=tcp Restart-Service hns -Force netsh int ipv4 add excludedportrange protocol=tcp startport=1433 n 阅读全文
posted @ 2022-01-09 19:57 ChasingDreams 阅读(143) 评论(0) 推荐(1)
摘要: 不要在父容器添加控件时,指定控件width等属性,要等控件添加到父容器后,在进行调整,属性就不会自动变换 阅读全文
posted @ 2022-01-06 16:12 ChasingDreams 阅读(102) 评论(1) 推荐(0)
摘要: 取消richtextbox只读即可解决 参考链接:https://stackoverflow.com/questions/42278823/richtextbox-not-displaying-image 阅读全文
posted @ 2022-01-06 16:08 ChasingDreams 阅读(141) 评论(0) 推荐(0)
摘要: echo net.core.default_qdisc=fq >> /etc/sysctl.conf echo net.ipv4.tcp_congestion_control=bbr >> /etc/sysctl.conf sysctl -p sysctl net.ipv4.tcp_availabl 阅读全文
posted @ 2022-01-02 15:31 ChasingDreams 阅读(999) 评论(0) 推荐(0)
摘要: -- 每分钟访问量统计 LogParser.exe -i:IISW3C "SELECT QUANTIZE(TO_LOCALTIME(TO_TIMESTAMP(date, time)), 60) AS Minute, COUNT(*) AS Total FROM *.log GROUP BY Minu 阅读全文
posted @ 2021-12-27 10:44 ChasingDreams 阅读(125) 评论(0) 推荐(0)
摘要: 前期准备 有虚机,有快照,有需要定期恢复快照的需求 获取虚机名称 Powershell命令: Get-VM 获取检查点名称 Powershell命令: Get-VMCheckpoint -VMName "虚机名称" 操作流程(关键步骤) 打开任务计划,创建计划,关键点如下: 执行权限账户,建议为"H 阅读全文
posted @ 2021-11-17 21:27 ChasingDreams 阅读(190) 评论(0) 推荐(0)
摘要: 本文基于Serilog.AspNetCore 4.1.0 版本。 对于之后的版本,Serilog.AspNetCore可能会有针对.NET6更新更加方便读者调用,请读者悉知 疑问 Serilog 在 ASP.NET Core 5 中用的好好的,原项目升级到6也没有问题,可是为什么新建ASP.NET 阅读全文
posted @ 2021-11-17 21:27 ChasingDreams 阅读(3680) 评论(1) 推荐(3)
摘要: 启动sshd服务。 service sshd start 检查sshd服务是否已经启动 ps -e | grep sshd systemctl enable sshd.service systemctl list-unit-files | grep sshd sudo sed -e 's|^mirr 阅读全文
posted @ 2021-01-09 19:09 ChasingDreams 阅读(326) 评论(0) 推荐(0)
摘要: 在【启动或关闭Windows功能(Turn Windows features on or off)】中打开【应用程序初始化(Internet Information Services->World Wode Web Services->Application Development Features 阅读全文
posted @ 2020-11-14 11:15 ChasingDreams 阅读(1714) 评论(0) 推荐(0)
摘要: class Program { static void Main(string[] args) { List<People> peoples = new List<People> { new People{ ID=1,Name="xxx" }, //new People{ ID=1,Name="xx 阅读全文
posted @ 2020-11-14 10:15 ChasingDreams 阅读(165) 评论(0) 推荐(0)