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

2020年3月26日

notepad正则删除关键词所在行

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

posted @ 2020-03-26 15:17 liujx2019 阅读(532) 评论(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 阅读(243) 评论(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 阅读(722) 评论(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 阅读(197) 评论(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 阅读(1042) 评论(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 阅读(1872) 评论(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 阅读(557) 评论(0) 推荐(0)

2020年1月8日

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

摘要: setsebool allow_ftpd_full_access 1 阅读全文

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

2019年12月27日

RedHat 的 crontab

摘要: Chapter 39. Automated Tasks In Linux, tasks can be configured to run automatically within a specified period of time, on a specified date, or when the 阅读全文

posted @ 2019-12-27 10:30 liujx2019 阅读(364) 评论(0) 推荐(0)

VIM 批量缩进4个空格

摘要: vim /etc/vimrc 或 vim ~/.vimrc set smartindent set shiftwidth=4 按v选中多行,回车 然后shifit + 》 阅读全文

posted @ 2019-12-27 09:57 liujx2019 阅读(2310) 评论(0) 推荐(0)

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

导航