摘要:
源码目录: ${CMAKE_SOURCE_DIR} This is the full path to the top level of the current CMake source tree. For an in-source build, this would be the same as C 阅读全文
摘要:
1 启动时间服务 net start w32time 2 立即与服务器时间同步 net time \\192.168.11.22 /set /yes 3 查看时间同步源 w32tm /query /source 4 设置同步源 w32tm /config /manualpeerlist:"time. 阅读全文
摘要:
sc config <service name> start=<mode> For example, sc config tlntsvr start=auto automatically starts the tlntsvr service when you boot the system. The 阅读全文
摘要:
注意二进制流需要调用write 此处用拷贝 //添加gzip支持 SimpleWeb::CaseInsensitiveMultimap header; header.emplace("Cache-Control", "max-age=86400"); header.emplace("Content- 阅读全文
摘要:
查询列 SELECT `COLUMN_NAME` FROM `INFORMATION_SCHEMA`.`COLUMNS` WHERE `TABLE_SCHEMA`='agvlaser' AND `TABLE_NAME`='driver'; 查询毫秒时间戳 select ROUND(UNIX_TIME 阅读全文
摘要:
nginx起不起来 发现4号进程占用80端口 查看4号进程是system 结束不掉 google发现是w3svc 服务 关掉这个服务 sc stop w3svc 禁用这个服务 sc config w3svc start= disabled 阅读全文
摘要:
获取cpu负载时 使用pdhaddenglishcounter 返回-1073738824 C000 0BB8 PDH_CSTATUS_NO_OBJECT auto state = PdhOpenQuery(NULL, NULL, &cpuQuery); if (state != ERROR_SUC 阅读全文
摘要:
连接状态检测原理 复制从:https://superuser.com/questions/277923/how-does-windows-know-whether-it-has-internet-access-or-if-a-wi-fi-connection-re Here are the deta 阅读全文
摘要:
1替换安装源 帮助 http://mirrors.ustc.edu.cn/help/ 使用配置生成器 https://mirrors.ustc.edu.cn/repogen/ 2 设置默认编辑器 sudo update-alternatives --config editor 3 修改用户不输入密码 阅读全文
摘要:
https://www.thewindowsclub.com/windows-store-app-missing-windows-10 powershell 执行 1 Set-ExecutionPolicy Unrestricted2 保存reinstall-preinstalledApps.ps1 阅读全文