SET @i=1; SELECT DATE_FORMAT(NOW(),'%Y-%m-%d') AS CUR_DT, DATE_FORMAT(DATE_ADD(DATE('2020-12-01'),INTERVAL @i DAY),'%Y%m%d') ADD_DT; SET @i=@i+1; ...
分类:
数据库 时间:
2020-12-30 11:30:18
阅读次数:
0
问题描述 线上环境中很容易出现一个java应用启动非常耗时的情况,在日志中可以发现是session引起的随机数问题导致的 o.a.c.util.SessionIdGeneratorBase : Creation of SecureRandom instance for session ID gene ...
分类:
编程语言 时间:
2020-12-30 11:19:11
阅读次数:
0
翻译:方法调用:尝试在null上下文对象上调用方法*** 解释:在Thyemleaf上下中不存在所要调用的对象,相当于Java代码中的NullPointerException 解决方案: 1. 需要将期望调用的java实例存入thymeleaf的context域中,代码层面即为:将实例对象存入Req ...
分类:
其他好文 时间:
2020-12-30 10:33:42
阅读次数:
0
var now = new Date(); var hour = now.getHours(); var txt = '你好'; if(hour < 6){ txt = "凌晨好"} else if (hour < 9){txt = "早上好"} else if (hour < 12){txt = ...
分类:
Web程序 时间:
2020-12-29 11:29:37
阅读次数:
0
curl is a a command line tool that allows to transfer data across the network. It supports lots of protocols out of the box, including HTTP, HTTPS, FT ...
分类:
Web程序 时间:
2020-12-29 11:24:49
阅读次数:
0
# __author: "ZXYang"# date: 2020/12/22"""[[async]]async def: 【异步函数】async with: 【异步上下文】 对象必须符合异步上下文管理器: __aenter__ __aexit__async for: 【异步迭代】 被迭代对象必须要实 ...
分类:
Web程序 时间:
2020-12-29 11:03:57
阅读次数:
0
springboot的任务调度(定时任务) 制作人:全心全意 springboot的任务调度(定时任务,不支持分布式) 任务调度实现类 package com.zq.main.tasks; import java.text.SimpleDateFormat; import java.util.Dat ...
分类:
编程语言 时间:
2020-12-29 11:00:26
阅读次数:
0
package com.svcm.util; import java.lang.reflect.Field; import javax.naming.NamingException; import org.springframework.aop.framework.ProxyFactory; imp ...
分类:
其他好文 时间:
2020-12-28 11:43:02
阅读次数:
0
代码位置 nextTick的实现在src/core/util/next-tick.js中。 主要代码块 根据当前环境,选择实现nextTick异步回调的途径。 // 首先是看当前环境支不支持Promise,如果支持Promise就使用Promise,添加了一个微任务 if (typeof Promi ...
分类:
Web程序 时间:
2020-12-28 10:56:57
阅读次数:
0
一、所需源码包:1.httpd-2.4.43.tar.gz2.apr-1.7.tar.gz3.apr-util-1.6.1.tar.gz4.pcre-8.44.tar.gz5.php-7.2.31.tar6.mysql-5.7.30.tar.gz二、准备环境:yuminstall-ymakegccgcc-c++opensslopenssl-develexpat-devel三、将下载的包解压到/us
分类:
其他好文 时间:
2020-12-25 12:35:52
阅读次数:
0