摘要:
最近num lock总是自动关闭 查找相关注册表项 Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Control Panel\Keyboard] "InitialKeyboardIndicators"="2147483650" "Ke 阅读全文
摘要:
c# 根据proto文件自动生成代码配置 选中proto文件 右键属性 设置编译动作 protobuf编译 grpc存根根据实现角色配置 生成时报错: File not found. Import "common.proto" was not found or had errors. 修改cspro 阅读全文
摘要:
<?xml version="1.0" encoding="utf-8" ?> <nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instanc 阅读全文
摘要:
源码目录: ${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 阅读全文