• 2024-02-10ISO8601 week number of the year
      importdatetimedatetime.date(2023,1,1).isoweekday()defleap_year(year:int)->bool:returnyear%4==0andyear%100!=0oryear%400==0foryearinrange(2001,2101):weekday=datetime.date(year,1,1).isoweekday()
  • 2023-11-27docker镜像操作
    docker镜像操作[root@hecs-74102~]#dockerimage--helpUsage:dockerimageCOMMANDManageimagesCommands:buildBuildanimagefromaDockerfilehistoryShowthehistoryofanimageimportImportthecontentsfromatarballtocreatea
  • 2023-11-19无涯教程-Ruby - 模块语句
    Module语法moduleIdentifierstatement1statement2...........end模块常量的命名与类常量一样,并带有大写字母开头。方法定义也看起来相似:模块方法的定义就像类方法一样。与类方法一样,您可以通过在模块名称前加上模块名称和句点来调用模块方法,并使用模块名称和
  • 2023-04-03java vue获取当月第一天和最后一天,当前周一和周日
    1,vue前端,通过moment获取当月第一天和最后一天,当前周一和周日letcurrDate=moment(newDate(),"YYYY-MM-DD");varfirstDay=moment(currDate.startOf("month").valueOf()).format('YYYY-MM-DD');//获取该月份第一天的时间戳varendDay=moment(cur
  • 2022-11-16hc - python
    Grafanaalerts健康检查我们可以在Grafana的panel中设置alert当报警触发,我们有另外的程序会捕捉到它,并通过创建jira工单的方式,通报给相应的Team去处理为了能成功
  • 2022-10-04lotus 1.16.0 延长扇区过期时间 (转)
    原文地址:https://blog.csdn.net/u010953692/article/details/126042280 lotus1.16.0延长扇区过期时间系列文章目录前言扇区续期默认检查60天内即将到期的扇区查看扇区