Flip game is played on a rectangular 4x4 field with two-sided pieces placed on each of its 16 squares. One side of each piece is white and the other o ...
分类:
其他好文 时间:
2020-02-08 22:02:58
阅读次数:
86
测试的时候发现项目中的LoadingCache没有刷新,但是明明调用了refresh方法了。后来发现LoadingCache是不支持缓存null值的,如果load回调方法返回null,则在get的时候会抛出异常。 通过几个例子开看这个问题: 所以如果你需要缓存“空”值,推荐的做法是使用Optiona ...
分类:
系统相关 时间:
2020-02-08 11:56:12
阅读次数:
191
REMOTE FILE INCLUSION Similar to local file inclusion. But allows an attacker to read ANY file from ANY server. Execute PHP files from other servers o ...
分类:
Web程序 时间:
2020-02-07 22:45:28
阅读次数:
143
A binary search tree is uniquely determined by a given ordered insertions of a sequence of positive integers. On the other hand, a given binary search ...
分类:
其他好文 时间:
2020-02-07 10:53:55
阅读次数:
85
int [] two_num(int [] nums,int target){ HashMap<Integer, Integer> num_indx = new HashMap<Integer, Integer>(); int [] ans = new int [2]; for(int i=0;i< ...
分类:
其他好文 时间:
2020-02-05 18:42:01
阅读次数:
60
题目大意: 给定一个机器人的行走方式 你需要取走一段区间 但要保证取走这段区间后机器人最终到达的终点位置是不变的 问这段区间最短时是哪一段 解题思路: 易得,如果重复走到了某些已经走过的点,那么肯定就有一段区间可以被删除 但是行走次数最大有2e5,即用数组记录坐标状态的话起码要开4e5*4e5的空间 ...
分类:
其他好文 时间:
2020-02-05 09:22:06
阅读次数:
104
说明: 根据笔者平时使用情况,并结合参考一些其他资料,精心整理出以下必须掌握的50条Linux基础命令。 命令: 1. ssh 登录到远程主机 $ ssh -l jsmith remotehost.example.com 调试ssh客户端 $ ssh -v -l jsmith remotehost. ...
分类:
系统相关 时间:
2020-02-04 00:10:33
阅读次数:
93
Linux是一个多用户的操作系统 文件类型: l 快捷方式 - 普通文件 d 文件夹 b 驱动程序 /dev c 驱动程序 /dev chmod 1.数字语法 2.+语法 u user g group o other 解压和打包 归档 gzip 压缩gzip -d 解压缩 tar -zxvf xxx ...
分类:
系统相关 时间:
2020-02-04 00:08:05
阅读次数:
98
Problem: the important frequency information is lack of effective modelling. ?? what is frequency information in time series? and why other models don ...
分类:
Web程序 时间:
2020-02-03 22:49:18
阅读次数:
126
1.if else /** * if else */ val age =18 if (age < 18 ){ println("no allow") }else if (18<=age&&age<=20){ println("allow with other") }else{ println("al ...
分类:
其他好文 时间:
2020-02-02 21:19:14
阅读次数:
61