上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 55 下一页
du [-abcDhHklmsSx] [-L <符号连接>][-X <文件>][--block-size][--exclude=<目录或文件>] [--max-depth=<目录层数>][--help][--version][目录或文件] 常用参数: -a或-all 为每个指定文件显示磁盘使用情况, Read More
posted @ 2017-08-04 14:46 等风来。。 Views(943) Comments(0) Diggs(0) Edit
IDEA集成的 Thrift 插件进行 thrift 编译 注意 1.thrift文件要放在source目录,才有compile选项 2.generator list的output path不用加包名,thrift support会按约定生成对应的包 Read More
posted @ 2017-08-04 11:42 等风来。。 Views(5594) Comments(0) Diggs(0) Edit
1.通常语言调用一个函数会出exception的情况,在javascript里面返回的是undefined。等到程序运行不正常的时候,你看到数据结构的有些地方为什么是undefined,只能哭了。 2. []+{}和{}+[]输出不一样不是类型转换的问题,而是语法的问题。你加上括号两个输出就一样了( Read More
posted @ 2017-08-02 15:50 等风来。。 Views(404) Comments(0) Diggs(0) Edit
分布式主键的生成方式分为中心化和去中心化两大类。中心化可以继续采用数据库生成自增主键的方式,为每个不同的分库设置不同的初始值,并将步长设置为分片的个数即可,这种方式对分片个数有依赖,一旦再次水平扩展,原有的分布式主键不易迁移。还有一种中心化生成分布式主键的方式,即采用Redis在内存中生成自增序列, Read More
posted @ 2017-08-02 09:16 等风来。。 Views(556) Comments(0) Diggs(0) Edit
fork 了别人的仓库后,如何将自己的代码和原仓库保持一致 git remote add upstream http://git fetch upstream Read More
posted @ 2017-07-31 18:11 等风来。。 Views(509) Comments(0) Diggs(0) Edit
State management 1.业务状态管理-是否登录 A ChannelHandler often needs to store some stateful information. The simplest and recommended approach is to use member Read More
posted @ 2017-07-31 17:03 等风来。。 Views(671) Comments(0) Diggs(0) Edit
由于Integer是不可变的,每个循环增加key的value时会创建一个新的对象 每次value+1时不需要重新创建Integer对象 Integer, Boolean 等 is immutable, you can only change the reference, but you can't Read More
posted @ 2017-07-29 20:47 等风来。。 Views(635) Comments(0) Diggs(0) Edit
JDK8对并发的新支持 Read More
posted @ 2017-07-28 18:37 等风来。。 Views(273) Comments(0) Diggs(0) Edit
Future and Promise are the two separate sides of an asynchronous operation. promise is used by the "producer/writer" of the asynchronous operation. fu Read More
posted @ 2017-07-28 18:30 等风来。。 Views(267) Comments(0) Diggs(0) Edit
软件设计模式 Read More
posted @ 2017-07-28 16:17 等风来。。 Views(87) Comments(0) Diggs(0) Edit
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 55 下一页
------------------------------------------------------------------------------------------------------------ --------------- 欢迎联系 x.guan.ling@gmail.com--------------- ------------------------------------------------------------------------------------------------------------