摘要: 打开想要的开发者prompt,把环境变量导出 powershell Get-ChildItem env: | Export-CliXml D:/env-vars.clixml 打开或创建 C:\Users\用户名\Documents\WindowsPowerShell\Microsoft.Power 阅读全文
posted @ 2024-04-18 19:01 BinarySong 阅读(1) 评论(0) 推荐(0) 编辑
摘要: -j多线程输出会乱 阅读全文
posted @ 2023-10-20 12:00 BinarySong 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 会寄 阅读全文
posted @ 2023-08-24 17:26 BinarySong 阅读(4) 评论(0) 推荐(0) 编辑
摘要: std::initializer_list这玩意是个巨坑。它有点像string_view,看似拥有内存,实则是引用?总之按值捕获不会形成有效的参数拷贝,形成野std::initializer_list的奇观。 阅读全文
posted @ 2023-08-18 09:36 BinarySong 阅读(6) 评论(0) 推荐(0) 编辑
摘要: qt的出生喜欢把他的开源版藏起来 ``` https://www.qt.io/download-open-source ``` 下载官方下崽器,执行: ``` ./qt-unified-windows-....-online.exe --mirror https://mirrors.ustc.edu 阅读全文
posted @ 2023-07-18 22:17 BinarySong 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 1. 启动ssh-agent Windows:用管理员模式在powershell中: ```powershell Set-Service -Name ssh-agent -StartupType automatic ssh-agent ``` Linux: ``` eval `ssh-agent - 阅读全文
posted @ 2023-06-06 19:17 BinarySong 阅读(25) 评论(0) 推荐(0) 编辑
摘要: class 类名 { public: 类名() { // 在此实现默认构造函数(初始化资源,例如 new XXX) } ~类名() { // 在此实现析构函数(释放资源,例如 delete XXX) } 类名(类名 const &other) { // 在此实现拷贝构造函数,确保实现深拷贝 } vo 阅读全文
posted @ 2022-07-14 16:41 BinarySong 阅读(37) 评论(0) 推荐(0) 编辑
摘要: 检查StyleSheet,是否指定了padding。 检查Layout是否有margin和spacing。 阅读全文
posted @ 2022-07-12 16:23 BinarySong 阅读(269) 评论(0) 推荐(0) 编辑
摘要: 问题:ui_xxx.h 找不到“提升为”引用的头文件 解决:尝试将“全局包含”取消 阅读全文
posted @ 2022-07-07 10:14 BinarySong 阅读(323) 评论(0) 推荐(0) 编辑
摘要: 本方法适合NAT模式,其他模式没测试。 第一步:打开VM,执行 ip address(或ifconfig)记住虚拟机的Mac地址。 第二步:在宿主机打开 C:\ProgramData\VMware\vmnetdhcp.conf 在文件最后加上 host MyVM { hardware etherne 阅读全文
posted @ 2022-06-24 10:25 BinarySong 阅读(63) 评论(0) 推荐(0) 编辑