09 2021 档案
摘要:# 查看最近30分钟的日志docker logs --since 30m CONTAINER_ID# 查看某时间之后的日志docker logs -t --since="2021-09-08T00:00:00" CONTAINER_ID# 查看某时间段的日志docker logs -t --si
阅读全文
摘要:展示: import timeimport datetime# 1、将时间戳转换为格式化时间timestamp = 1381419600timearray = time.localtime(timestamp)stru_time = time.strftime("%Y-%m-%d %H:%M:%S
阅读全文
摘要:1、手机USB连接电脑,打开adb调试 2、打开要看包名的app 3、windows中cmd执行命令 adb shell dumpsys window w | findstr \/ | findstr name= 或者 adb shell dumpsys window |findstr mCurre
阅读全文
摘要:举例说明: import hashlib # 导入hashlibh_md5 = hashlib.md5() # 创建hash对象h_md5.update(string.encode('utf-8')) # 导入字符串hash_code = h_md5.hexdigest # 取出hash值
阅读全文
摘要:https://www.jianshu.com/p/c8adc6491020 ——简书笔记 # 其他证书也是一样的操作。
阅读全文