上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 42 下一页

2020年3月31日

Windows环境,获取当前线程的ID,GetCurrentThreadId

摘要: GetCurrentThreadId 打印格式:0x%08lx 头文件:processthreadsapi.h (include Windows Server 2003, Windows Vista, Windows 7, Windows Server 2008 Windows Server 200 阅读全文

posted @ 2020-03-31 10:49 liujx2019 阅读(3939) 评论(0) 推荐(0) 编辑

2020年3月30日

获取 保存 系统信息 [Windows]

摘要: 出处:https://www.technig.com/find-windows-10-system-information/ 在“运行”里,运行 msinfo32. System Information lists categories in the left pane and details ab 阅读全文

posted @ 2020-03-30 11:16 liujx2019 阅读(244) 评论(0) 推荐(0) 编辑

2020年3月26日

notepad正则删除关键词所在行

摘要: 转自:http://www.gangzi.net/article/615.htm 查找:^.*大师兄.*$替换为:(空)如果不留空行:查找:^.*大师兄.*\r?\n替换为:(空)注意:Notepad++的[全部替换]受[方向]约束,所以如果想“向下”全部替换,要把光标放到文首。 阅读全文

posted @ 2020-03-26 15:17 liujx2019 阅读(531) 评论(0) 推荐(0) 编辑

2020年3月20日

文件或文件夹改变后,发信号让系统刷新

摘要: 以下方法都无法刷新 Navigation Pane /*notifychanges.c - Notify win32 subsystem and running programs of globalschanges such as system environment variables.Copyr 阅读全文

posted @ 2020-03-20 12:48 liujx2019 阅读(230) 评论(0) 推荐(0) 编辑

2020年3月16日

ubuntu server 18.04 网络配置

摘要: 从17.10开始放弃在/etc/network/interfaces里固定IP的配置 配置文件是:/etc/netplan/50-cloud-init.yaml 。用缩进来表示层级关系 冒号之后要有个空格。 network: version: 2 renderer: networkd etherne 阅读全文

posted @ 2020-03-16 14:55 liujx2019 阅读(691) 评论(0) 推荐(0) 编辑

2020年3月12日

Winsock select server 与 client 示例代码

摘要: 参考 https://www.winsocketdotnetworkprogramming.com/winsock2programming/winsock2advancediomethod5.html Server // socket_select_server.cpp : Defines the 阅读全文

posted @ 2020-03-12 09:27 liujx2019 阅读(178) 评论(0) 推荐(0) 编辑

2020年3月10日

QMessage自动定时关闭

摘要: QMessageBox *box = new QMessageBox(QMessageBox::Information,tr("test"),tr("testtest")); QTimer::singleShot(1500,box,SLOT(accept())); box->exec(); 阅读全文

posted @ 2020-03-10 14:23 liujx2019 阅读(981) 评论(0) 推荐(0) 编辑

2020年1月15日

apt 安装 版本

摘要: 1. 通过apt-get安装指定版本软件apt-get install package=version2. 查询指定软件有多少个版本 2.1 通过网站搜索https://packages.ubuntu.com/ 2.2 使用apt-cache madison列出软件的所有来源apt-cache ma 阅读全文

posted @ 2020-01-15 11:08 liujx2019 阅读(1740) 评论(0) 推荐(0) 编辑

Windows 自动登录

摘要: https://serverfault.com/questions/840557/auto-login-a-user-at-boot-on-windows-server-2016 Use Sysinternals Autologon. It stores the credentials in the 阅读全文

posted @ 2020-01-15 10:16 liujx2019 阅读(530) 评论(0) 推荐(0) 编辑

2020年1月8日

RedHat FTP Server, 无法从Windows上传文件,下载可以

摘要: setsebool allow_ftpd_full_access 1 阅读全文

posted @ 2020-01-08 16:11 liujx2019 阅读(131) 评论(0) 推荐(0) 编辑

上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 42 下一页

导航