background picture of the home page

Think in Code

Windows通过代码调用wmi

Windows通过代码调用wmi c++ - How to get system serial number? - Stack Overflow Example: Getting WMI Data from the Local Computer - Win32 apps | Microsoft Le

thumbnail of the cover of the post

Windows下强制激活窗口

Windows下强制激活Qt窗口 #ifdef _WIN32 #include <QtPlatformHeaders/QWindowsWindowFunctions> #endif int main(int argc, char *argv[]) { QApplication a(argc, a

thumbnail of the cover of the post

Windows映射webdav路径

Windows映射webdav路径 修改注册表 Win+R regedit 修改 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WebClient\Parameters 将 BasicAuthLevel 设置为 2 (允许http和htt

thumbnail of the cover of the post

go访问私有函数或变量

go访问私有函数或变量 [TOC] 参考文档 compile command - cmd/compile - Go Packages 访问私有函数 代码 package main import ( "fmt" "time" _ "unsafe"

thumbnail of the cover of the post

Linux终端切换输出屏幕

使用 curses.h需要安装额外的库 // 开始 initscr(); curs_set(0); // 隐藏光标 // 结束 curs_set(1); // 显示光标 endwin(); 使用 printf ANSI Escape Codes (github.com) printf("\e[?

thumbnail of the cover of the post