摘要:
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 阅读全文
摘要:
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 阅读全文
摘要:
华为:screen-length 0 temporary 华三:screen-length disable 阅读全文