08 2022 档案
摘要:1. 使用ThreadStatic特性 [ThreadStatic] 2. 数据槽 Thread.AllocateNamedDataSlot("slot"); 3. .NET 4.0 后增加的 ThreadLocal<T> 类型 new ThreadLocal<string>(() => "hehe
阅读全文
摘要:请提前做好服务器系统数据相关备份,有存在失败的概率!如果失败有可能会导致无法正常启动进入系统! 1、请先使用 yum update 命令升级系统所有组件至最新版,确保源可用 或使用以下命令指定阿里云镜像 wget -O /etc/yum.repos.d/CentOS-Base.repo https:
阅读全文
摘要:在 Windows 中启用 NTP 时间同步服务端 1、运行 regedi 打开注册表编辑器 2、进入路径:计算机\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpServer 找到 Enab
阅读全文
摘要:转自:https://www.cnblogs.com/qq511314224/p/15464514.html curl cip.cc curl icanhazip.com curl ifconfig.me
阅读全文