上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 41 下一页

2020年12月3日

Python 获取文件夹里所有 log 的起止时间戳

摘要: import sys, os def get_timestamp(file_name): cnt = 0; with open(file_name,"r") as f: for line in f.readlines(): line = line.strip() #print (line) if(c 阅读全文

posted @ 2020-12-03 13:22 liujx2019 阅读(579) 评论(0) 推荐(0)

Python 脚本,计算相邻两条带 token 的 log 的时间差

摘要: import sys, os def get_interval(file_name, key_word): cnt = 0; prev = 0; interval_list = []; with open(file_name,"r") as f: for line in f.readlines(): 阅读全文

posted @ 2020-12-03 13:21 liujx2019 阅读(193) 评论(0) 推荐(0)

Python3 脚本 解压缩文件夹中的所有gz文件

摘要: import gzip import shutil def gunzip_shutil(source_filepath, dest_filepath, block_size=65536): with gzip.open(source_filepath, 'rb') as s_file, \ open 阅读全文

posted @ 2020-12-03 09:35 liujx2019 阅读(1274) 评论(0) 推荐(0)

2020年12月2日

NTP报文格式

摘要: 出处:https://blog.csdn.net/dosthing/article/details/81588219?utm_medium=distribute.pc_relevant.none-task-blog-searchFromBaidu-1.control&depth_1-utm_sour 阅读全文

posted @ 2020-12-02 18:13 liujx2019 阅读(1821) 评论(0) 推荐(0)

Bug 63687 - High Memory usage after upgrade to 2.4.41

摘要: https://bz.apache.org/bugzilla/show_bug.cgi?id=63687 阅读全文

posted @ 2020-12-02 16:07 liujx2019 阅读(56) 评论(0) 推荐(0)

error MSB4018: The “VCMessage” task failed unexpectedly

摘要: 红框的地方没选 阅读全文

posted @ 2020-12-02 10:52 liujx2019 阅读(259) 评论(0) 推荐(0)

#pragma execution_character_set("utf-8") 的替代方法

摘要: This compiler directive is obsolete starting in Visual Studio 2015 Update 2. We recommend that you use the /execution-charset:utf-8 or /utf-8 compiler 阅读全文

posted @ 2020-12-02 10:34 liujx2019 阅读(3060) 评论(0) 推荐(0)

2020年11月30日

[QT] Visual Studio2015 + QT5.7 遇到的 moc 失败的问题

摘要: 报错是类似这样的 Error 4 fatal error C1083: Cannot open source file: '..\src\GeneratedFiles\Win32\Debug\moc_Qt_About.cpp': No such file or directory c1xx Erro 阅读全文

posted @ 2020-11-30 17:54 liujx2019 阅读(1131) 评论(0) 推荐(0)

2020年11月19日

windows 下查看运行进程的命令行参数

摘要: 出处:https://blog.csdn.net/wwq921220/article/details/106661245/ tasklist 使用 tasklist :tasklist /v 很多进程还是没显示命令行参数 wmic wmic process get caption,commandli 阅读全文

posted @ 2020-11-19 16:16 liujx2019 阅读(1362) 评论(0) 推荐(0)

2020年11月16日

如何用英语打开 Visual Studio 安装包

摘要: 用命令行运行,加上参数 --locale “en-US” 阅读全文

posted @ 2020-11-16 14:02 liujx2019 阅读(116) 评论(0) 推荐(0)

上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 41 下一页

导航