##Python标准库: time, re, math , sys , os ,copy,json,urllib, unittest,request ##Python中 lambda,匿名函数的使用. 在使用map函数的时候, 配合lambda匿名函数, 可以让代码更加简洁. 完成很多操作. ### ...
分类:
编程语言 时间:
2021-02-01 12:20:47
阅读次数:
0
// 获取验证码 getCodes(){ const TIME_COUNT = 60; if (!this.timer) { this.count = TIME_COUNT; this.show = false; this.getcode() this.timer = setInterval(() ...
分类:
其他好文 时间:
2021-02-01 11:53:09
阅读次数:
0
1. 使用java8 的Instant //获取秒long unixTime = Instant.now().getEpochSecond();//161189992 将时间戳转为日期 long unixTime = 1611901474; Instant instant = Instant.ofE ...
分类:
编程语言 时间:
2021-01-30 11:46:37
阅读次数:
0
string str = DateTime.Now.ToString("yyyyMMdd"); string[] format = {"yyyyMMdd"}; DateTime date; if (DateTime.TryParseExact(str, format, System.Globaliz ...
1.触发器定义:顾名思义,触发就是满足一定条件下产生什么动作,完整的定义是触发器是与表有关的数据库对象,在满足定义条件时触发,并执行触发器中定义的语句集合。 2.语法: CREATE TRIGGER trigger_name trigger_time trigger_event ON tb_name ...
分类:
数据库 时间:
2021-01-28 12:27:47
阅读次数:
0
第一节 数据库简介 1.1 简介 ? 数据库(DataBase,DB):指长期保存在计算机的存储设备上,按照一定规则组织起来,可以被各种用户或应用共享的数据集合。简单理解数据的仓库。 ? 数据库管理系统(DataBase Management System,DBMS):指一种操作和管理数据库的大型软 ...
分类:
数据库 时间:
2021-01-28 12:24:51
阅读次数:
0
from selenium import webdriverfrom time import sleepdriver=webdriver.Firefox()adddress="地址"driver.get(adddress)#进入嵌套的frame中寻找元素driver.switch_to_frame( ...
分类:
编程语言 时间:
2021-01-28 12:10:48
阅读次数:
0
# -*- coding: utf-8 -*-# @Time : 2021/1/25 22:01# @Author : Mr.Heiimport xlsxwriterworkbook=xlsxwriter.Workbook('chart.xlsx')worksheet=workbook.add_wo ...
分类:
其他好文 时间:
2021-01-28 12:08:52
阅读次数:
0
很容易让一个 StatefulSet 中的 Pod 拥有 DNS 记录。如果一个 StatefulSet 的名字是 memcached, 而它指定了关联的 serviceName 叫 memcached-cluster,那 kube-dns 就会为它的每个 pod 解析如下的 DNS A 记录: m ...
分类:
Web程序 时间:
2021-01-28 11:59:44
阅读次数:
0
问题 向MinIO上传文件时,抛出异常:The difference between the request time and the server's time is too large. 使用date命令修改CentOS时间后,异常依然存在。 相关Linux命令 查看系统时间:date 查看硬件 ...
分类:
Web程序 时间:
2021-01-28 11:51:35
阅读次数:
0