//取当前时间 Date nowdate=new Date(); //转换时间格式 SimpleDateFormat simpleDate = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); order.setCreateTime(Timestamp.val ...
分类:
其他好文 时间:
2021-06-03 18:06:12
阅读次数:
0
#-*-coding:utf-8-*- # @Time :2021/4/22 7:08 # @Author:shuaichao # @File :.py # @Software: PyCharm from bs4 import BeautifulSoup #网页解析,获悉数据.231 import ...
分类:
其他好文 时间:
2021-06-03 17:56:50
阅读次数:
0
问题1:harbor服务不能正常提供? Error response from daemon: Get http://hub.atguigu.com/v2/: dial tcp 192.168.66.100:80: connect: connection refused 原因分析:harbor服务器 ...
分类:
其他好文 时间:
2021-06-03 17:53:13
阅读次数:
0
很多中年朋友大概率学过 socket 通信相关 api, send, recv, listen, connect, accept 等等, 变幻无穷 ... 相关的介绍书籍不乏经典, 有趣例子没完没了. 面对真实的自己, 更多时候是学了等于没学, 一直在门外彷徨 , 买珠还椟于面试. 本文想带门外的程 ...
分类:
其他好文 时间:
2021-06-02 20:42:10
阅读次数:
0
在c++新标准之前通常使用c的函数rand来生成随机数。 现在可以使用下面这种方式: #include <random> #include <ctime> //生成0到9之前的随机整数 static std::default_random_engine e(time(0));//time(0)返回特 ...
分类:
编程语言 时间:
2021-06-02 20:13:41
阅读次数:
0
1 #include <time.h> 2 #include <stdio.h> 3 #include <errno.h> 4 #include <string.h> 5 #include <stdlib.h> 6 7 #include <winsock2.h> 8 #include <iphlpa ...
1.Prometheus简介 Prometheus受启发于Google的Brogmon监控系统(相似的Kubernetes是从Google的Brog系统演变而来),从2012年开始由前Google工程师在Soundcloud以开源软件的形式进行研发,并且于2015年早期对外发布早期版本。2016年5 ...
分类:
其他好文 时间:
2021-06-02 19:52:46
阅读次数:
0
定义logger方法: import loggingimport osimport timeimport utilsdata=time.strftime("%Y-%m-%d-%H:%M:%S")logging.basicConfig(filename=utils.get_project_path() ...
分类:
编程语言 时间:
2021-06-02 19:50:48
阅读次数:
0
在了解了Python函数装饰器基础知识和闭包之后,开始正式学习函数装饰器。 典型的函数装饰器 以下示例定义了一个装饰器,输出函数的运行时间: 函数装饰器和闭包紧密结合,入参func代表被装饰函数,通过自由变量绑定后,调用函数并返回结果。 使用clock装饰器: import time from cl ...
分类:
编程语言 时间:
2021-06-02 19:37:36
阅读次数:
0
问题描述: pymssql模块连接sqlserver出现如下错误: pymssql._pymssql.OperationalError) (20009, b'DB-Lib error message 20009, severity 9:\nUnable to connect: Adaptive Se ...
分类:
数据库 时间:
2021-06-02 19:05:11
阅读次数:
0