上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 42 下一页

2019年7月15日

Windows 计划任务 如果选择未登录就运行 则看不到GUI

摘要: You can specify that a task should run even if the account under which the task is scheduled to run is not logged on when the task is triggered. To do 阅读全文

posted @ 2019-07-15 14:02 liujx2019 阅读(625) 评论(0) 推荐(0) 编辑

Windows 查看进程启动时间

摘要: Run --> msinfo32 阅读全文

posted @ 2019-07-15 10:50 liujx2019 阅读(2129) 评论(0) 推荐(0) 编辑

2019年7月12日

Python 输出 log 到文件的方法

摘要: import loggingfrom logging.handlers import RotatingFileHandler module_name = "test_module" Rthandler = RotatingFileHandler("/var/lib/test_log/%s.log" % (module_name), maxBytes=10 * 1024 * 1024, ba... 阅读全文

posted @ 2019-07-12 16:26 liujx2019 阅读(1789) 评论(0) 推荐(0) 编辑

Python logging 模块打印异常 exception

摘要: logger.exception(sys.exc_info()) 阅读全文

posted @ 2019-07-12 16:24 liujx2019 阅读(2777) 评论(0) 推荐(0) 编辑

Linux 文件常用权限

摘要: -rw (600) 只有所有者才有读和写的权限 -rw-r--r-- (644) 只有所有者才有读和写的权限,组群和其他人只有读的权限 -rwx (700) 只有所有者才有读,写,执行的权限 -rwxr-xr-x (755) 只有所有者才有读,写,执行的权限,组群和其他人只有读和执行的权限 -rwx 阅读全文

posted @ 2019-07-12 16:21 liujx2019 阅读(1034) 评论(0) 推荐(0) 编辑

2019年7月11日

通过 FTP 从 Windows 向 Linux 拷贝文件之后,文件的权限很可能会变化,要检查

摘要: Windows7 到 Ubuntu 16.04 LTS 阅读全文

posted @ 2019-07-11 17:58 liujx2019 阅读(1059) 评论(0) 推荐(0) 编辑

Ubuntu 查看本机版本

摘要: cat /etc/issue 阅读全文

posted @ 2019-07-11 10:17 liujx2019 阅读(482) 评论(0) 推荐(0) 编辑

2019年7月8日

取 token 并查看 container 信息

摘要: curl -i -k \ -H "Content-Type: application/json" \ -d ' { "auth": { "identity": { "methods": ["password"], "password": { "user": { "name": "radmin", ... 阅读全文

posted @ 2019-07-08 17:00 liujx2019 阅读(219) 评论(0) 推荐(0) 编辑

2019年7月4日

Qt 用户通过对话框选择文件

摘要: void class::on_pushButton_clicked() { fileFullPath = QFileDialog::getOpenFileName(this, tr("Select a File"), ".", tr("Images (*.png *.xpm *.jpg)")); } 阅读全文

posted @ 2019-07-04 16:25 liujx2019 阅读(284) 评论(0) 推荐(0) 编辑

Qt 的日期 时间

摘要: QDateTime 的构造函数,有参数是QDate的。这样就可以把日期转化成 QDateTime。 QDateTime.toTime_t() 可以转化成 Unix 时间。 阅读全文

posted @ 2019-07-04 16:09 liujx2019 阅读(880) 评论(0) 推荐(0) 编辑

上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 42 下一页

导航