摘要: import time, datetime from datetime import date date1 = "2021-10-1" date2 = "2020-9-15" date1 = time.strptime(date1, "%Y-%m-%d") date2 = time.strptime 阅读全文
posted @ 2021-11-19 18:28 LeoShi2020 阅读(119) 评论(0) 推荐(0)
摘要: 1. 时间判断 while true do sec=`date +%S` sec=$((10#${sec}+0)) if [[ ${sec} -ge 00 ]] && [[ ${sec} -le 30 ]] then echo "00s <= ${sec} <= 30s" sleep 2 else 阅读全文
posted @ 2021-11-19 13:41 LeoShi2020 阅读(1169) 评论(0) 推荐(0)
摘要: 华为:screen-length 0 temporary 华三:screen-length disable 阅读全文
posted @ 2021-11-19 08:37 LeoShi2020 阅读(231) 评论(0) 推荐(0)