spring.jackson.timeZone=GMT+08:00spring.jackson.date-format=yyyy-MM-dd HH:mm:ssspring.jackson.serialization.write_dates_as_timestamps=falsespring.mvc. ...
                            
                            
                                分类:
编程语言   时间:
2020-07-17 22:14:24   
                                阅读次数:
381
                             
                    
                        
                            
                            
                                    老规矩: 一个锁,一个队列。 不带参数的构造器,初始化一个长度为0?的对象数组。 collection参数的构造方法,直接array=c.toArray(); 数组入参array=arrays.copy。 进入正题: 可以看到它是先加了锁,然后新copy一个length+1的数组,设值之后再将新数组 ...
                            
                            
                                分类:
其他好文   时间:
2020-07-17 22:06:44   
                                阅读次数:
66
                             
                    
                        
                            
                            
                                文件同步助手(本地) 文件 sync.js const fs=require('fs'); const crypto=require('crypto'); let config,to_config,from_config; function test_ignore(path){ if(config. ...
                            
                            
                                分类:
其他好文   时间:
2020-07-17 13:35:31   
                                阅读次数:
62
                             
                    
                        
                            
                            
                                    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
                             
                    
                        
                            
                            
                                    package _interview_question /** * Check if a given array contains duplicate elements within k distance from each other. * Given an unsorted array that ...
                            
                            
                                分类:
其他好文   时间:
2020-07-17 01:23:35   
                                阅读次数:
107
                             
                    
                        
                            
                            
                                创建一个至少有两个PV组成的大小为20G的名为testvg的VG;要求PE大小为16MB,而后在卷组中创建大小为5G的逻辑卷testlv;挂载至/users目录实验准备:增加一块20G的硬盘,其中划分一个10G的分区;增加一块10G的硬盘10G的分区和10G的硬盘组成pv[root@Centos7~]#echo"---">/sys/class/scsi_host/host0/scan[roo
                            
                            
                                分类:
其他好文   时间:
2020-07-17 01:19:21   
                                阅读次数:
99
                             
                    
                        
                            
                            
                                    更新语句也会走一遍查询语句的那一套流程,不同的是更新流程涉及两个重要的日志模块,redo log(重做日志)和binlog(归档日志)。 更新的时候,会把被更新的表上的缓存结果都清空。 redo log 先介绍一下MySQL的WAL技术,WAL的全称是Write-Ahead Logging,它的关键 ...
                            
                            
                                分类:
数据库   时间:
2020-07-16 18:10:17   
                                阅读次数:
67
                             
                    
                        
                            
                            
                                只要是更改.laya/compile.js文件①,将glsl中的sourceMap的参数改为true,如图:②,将bundle.write中的sourceMap的参数改为true,如图:
                            
                            
                                分类:
其他好文   时间:
2020-07-16 12:17:21   
                                阅读次数:
69
                             
                    
                        
                            
                            
                                    javascript代码必须放在script标签中script标签可以放在html的任何地方,一般建议放在head标签里 示例 1 : script标签 javascript都是放在script标签中的,一旦加载,就会执行 <html> <head> <script> document.write( ...
                            
                            
                                分类:
编程语言   时间:
2020-07-16 12:07:34   
                                阅读次数:
59
                             
                    
                        
                            
                            
                                    在代码中提供有效的注释,可以让代码更加易读和便于维护。javascript有两种注释方式 示例 1 : 单行注释 <script type="text/javascript"> // 单行注释 document.write("hello java"); </script> 示例 2 : 多行注释 < ...
                            
                            
                                分类:
编程语言   时间:
2020-07-16 11:51:53   
                                阅读次数:
61