摘要:
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 阅读全文
摘要:
1 网络状况模拟 https://github.com/jagt/clumsy 阅读全文
摘要:
#!/bin/bash # project_id, find it here: https://gitlab.com/[organization name]/[repository name]/edit inside the "General project settings" tab projec 阅读全文
摘要:
class A{ }; constexpr size_t sizeOfT = sizeof(A); 鼠标移动到sizeofT上可以看到A的大小 from: https://stackoverflow.com/questions/24775127/how-to-find-the-size-of-a-s 阅读全文
摘要:
设置崩溃处理函数 #if (defined _WIN32)||(defined _WIN64) #include <windows.h> #include <Dbghelp.h> #include <tchar.h> //#pragma execution_character_set( "utf-8 阅读全文
摘要:
生成一个authors.txt文件。这将包含您的SVN用户和Gitlab用户之间的映射: 可以跳过 从现有的svn存储库中: svn log -q | awk -F '|' '/^r/ {sub("^ ", "", $2); sub(" $", "", $2); print $2" = "$2" < 阅读全文