为什么需要LocalDate、LocalTime、LocalDateTime Date如果不格式化,打印出的日期可读性差 Tue Sep 10 09:34:04 CST 2019 使用SimpleDateFormat对时间进行格式化,但SimpleDateFormat是线程不安全的SimpleDat ...
分类:
其他好文 时间:
2021-03-02 11:49:22
阅读次数:
0
参考链接:https://blog.csdn.net/wust_lh/article/details/86095924 本篇介绍的是在Windows下安装Jmeter。 一、下载Jmeter 官网下载地址:https://jmeter.apache.org/download_jmeter.cgi 可 ...
分类:
其他好文 时间:
2021-02-27 13:28:31
阅读次数:
0
例如 _sopen_s 在磁盘空间不够的时候, 宏 errno 就会返回 ENOSPC(28) MSDN 文档时只提到以下错误码 errno valueCondition EACCES The given path is a directory, or the file is read-only, ...
JAVA安全编码规范 1、安全编码基本原则 1.1 所有输入数据都是有害的 直接输入数据: 对于用户通过 GET, POST, COOKIE, REQUEST等输入的数据以及框架提供的数据来源,即通信协议中从客户端传过来的一切变量,无论是用户手动填写的数据或是客户端浏览器或操作系统自动填写的数据,都 ...
分类:
编程语言 时间:
2021-02-25 12:22:03
阅读次数:
0
一、下载JDK 下载地址 https://www.oracle.com/cn/java/technologies/javase-jdk15-downloads.html,选择windows版本进行下载,以jdk-15.0.2_windows-x64_bin.exe为例。 二、安装 1、双击jdk-1 ...
检查文件是否存在、可读等等 File file = new File("out.txt") println file.exists() println file.canRead() 向文件写入文本 File file = new File("out.txt") file.write "First l ...
分类:
其他好文 时间:
2021-02-24 13:10:56
阅读次数:
0
import matplotlib.pyplot as plt # 定义一个画图函数 def sinplot(flip = 1): x = np.linspace(0,10,100) for i in range(1,4): y = np.sin(x + i * 0.5) * (4 - i) * f ...
分类:
其他好文 时间:
2021-02-24 13:05:31
阅读次数:
0
1095 解码PAT准考证 (25 point(s)) PAT 准考证号由 4 部分组成: 第 1 位是级别,即 T 代表顶级;A 代表甲级;B 代表乙级; 第 2~4 位是考场编号,范围从 101 到 999; 第 5~10 位是考试日期,格式为年、月、日顺次各占 2 位; 最后 11~13 位是 ...
分类:
其他好文 时间:
2021-02-23 14:02:54
阅读次数:
0
每一位程序员不想让自己的代码写的特别冗余,能用一行解决的事情坚决不写两行。今天给大家分享几个常见的简写方式 1、变量的声明 //Longhand let x; let y = 20; //Shorthand let x, y = 20; 2、给多个变量赋值 //Longhand let a, b, ...
分类:
Web程序 时间:
2021-02-20 12:09:36
阅读次数:
0
Sexy primes are pairs of primes of the form (p, p+6), so-named since "sex" is the Latin word for "six". (Quoted from http://mathworld.wolfram.com/Sexy ...
分类:
其他好文 时间:
2021-02-20 11:45:24
阅读次数:
0