1 # redis 配置文件示例 2 3 # 当你需要为某个配置项指定内存大小的时候,必须要带上单位, 4 # 通常的格式就是 1k 5gb 4m 等酱紫: 5 # 6 # 1k => 1000 bytes 7 # 1kb => 1024 bytes 8 # 1m => 1000000 bytes ... ...
分类:
其他好文 时间:
2018-07-14 23:04:10
阅读次数:
232
Two neighboring kingdoms decided to build a wall between them with some gates to enable the citizens to go from one kingdom to another. Each time a ci ...
分类:
其他好文 时间:
2018-07-14 20:39:19
阅读次数:
166
利用alias命令别名对常用运维命令的调用 在~目录下,修改.bashrc,对进入ezsonar、对应log目录的命令进行别名[root@localhost ~]# vi .bashrc # .bashrc# User specific aliases and functionsalias rm=' ...
分类:
其他好文 时间:
2018-07-10 14:45:07
阅读次数:
147
"1. Two Sum" Description Given an array of integers, return indices of the two numbers such that they add up to a specific target.You may assume that ...
分类:
其他好文 时间:
2018-07-07 22:14:55
阅读次数:
158
引用出处:https://www.cse.wustl.edu/~schmidt/PDF/TSS-pattern.pdf 摘要: 理论上多线程会提高程序性能,但实际上,由于在获取和释放锁的开销,多线程经常会比单线程表现得更糟。除此之外,为了避免竞争和死锁需要复杂的并发控制协议,多线程编程很难。 这里介 ...
分类:
编程语言 时间:
2018-07-05 15:59:22
阅读次数:
173
Example: Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input woul ...
分类:
其他好文 时间:
2018-07-05 15:51:29
阅读次数:
162
1. Java序列化工具技术原理比较 Binary Formats & language specific ones JavaBuiltIn (java原生)、JavaManual(根据成员变量类型,手工写)、 FstSerliazation 、 Kryo Binary formats generi ...
分类:
编程语言 时间:
2018-07-04 10:33:25
阅读次数:
174
https://blog.csdn.net/jxcr1984/article/details/52766524 本文转自: http://blog.csdn.net/leixiaohua1020/article/details/14214577 /* /* *雷霄骅 *雷霄骅 *leixiaohua ...
分类:
其他好文 时间:
2018-07-03 16:56:21
阅读次数:
205
1. The behavior of objects in the real world is more complex than simply being in one state at a time. the conditions of an Object being in more than ...
分类:
其他好文 时间:
2018-07-02 14:18:37
阅读次数:
163