正则表达式修饰符 i : 忽略大小写 g : 执行全局匹配(查找所有匹配而非在找到第一个匹配后停止 元字符 \d 查找数字 \s 查找空白字符 \n 查找换行符 \r 查找回车符 test() 它通过模式来搜索字符串,然后根据结果返回 true 或 false exec() 通过指定的模式(patt ...
分类:
其他好文 时间:
2020-07-17 22:18:59
阅读次数:
57
HttpRuntime的认识与加深理解 下面最先介绍HttpRuntime的Web.config里的配置 <httpRuntime executionTimeout = "number" maxRequestLength = "number" requestLengthDiskThreshold = ...
分类:
Web程序 时间:
2020-07-17 22:15:09
阅读次数:
83
EXEC sys.sp_addextendedproperty @name=N'MS_Description',@level1name=N'a_jcgl_data',@level2name=N'id', @value=N'自增id' , @level0type=N'SCHEMA',@level0na ...
分类:
数据库 时间:
2020-07-17 16:00:48
阅读次数:
159
public <E> List<E> selectList(Mapper mapper, Connection conn){ PreparedStatement pstm = null; ResultSet rs = null; try{ String queryString = mapper.ge ...
分类:
数据库 时间:
2020-07-17 11:34:51
阅读次数:
97
一:背景 在重启tomcat后,直接访问登陆接口,服务响应特别的慢,查看日志发现: WARN http-nio-9977-exec-2 SessionIdGeneratorBase - Creation of SecureRandom instance for session ID generati ...
分类:
其他好文 时间:
2020-07-17 11:34:06
阅读次数:
67
find 默认在当前 即 . 目录下查找 du 文件名 / 目录 # 查看文件占用内存大小 1. 按照文件名查找 find / -name qwe # qwe为文件名 find / -name *qwe* # * 为模糊匹配 2. 按照文件类型查找 find / -type d # 查找目录文件 f ...
分类:
系统相关 时间:
2020-07-17 09:38:41
阅读次数:
133
需要根据时间删除这个目录下的文件,/home/lifeccp/dicom/studies,清理掉20天之前的无效数据。 可以使用下面一条命令去完成: 1 find /home/lifeccp/dicom/studies -mtime +21 -name "*.*" -exec rm -Rf {} \ ...
分类:
系统相关 时间:
2020-07-16 12:20:52
阅读次数:
125
关于延迟加载 在 Spring 中,默认情况下所有定的 bean 及其依赖项目都是在应用启动时创建容器上下文是被初始化的。测试代码如下: @Slf4j @Configuration public class DemoConfig { public DemoConfig() { log.warn(" ...
分类:
编程语言 时间:
2020-07-16 12:05:31
阅读次数:
77
exec sp_addlinkedserver '--别名(自定义)--', ' ', 'SQLOLEDB ', '服务器ip' --连接 exec sp_addlinkedsrvlogin '--别名--', 'false ',null, '--用户名--', '--密码--' --登录 别名:自 ...
分类:
数据库 时间:
2020-07-16 10:10:19
阅读次数:
81
let = /\d{4}-\d{1,2}-\d{1,2}/g.exec( 输入需要去除时分秒的值 ) 在 input 中 填写 onkeyup="this.value=this.value.replace(/\D/g,'')" <input onkeyup="this.value=this.valu ...
分类:
其他好文 时间:
2020-07-15 23:33:23
阅读次数:
85