转载请注明出处 http://blog.csdn.net/pony_maggie/article/details/27845257 作者:小马 五 代码演示样例 上面讲到的知识点在这个演示样例都有涉及。另外我这里也仅仅是分析部分重要的代码,很多其它的知识了解请自行下载代码(文章最以下有地址)并结合公 ...
分类:
移动开发 时间:
2017-08-13 20:13:38
阅读次数:
227
An EventLoop is bound to a single Thread for its lifetime A Channel is registered for its lifetime with a single EventLoop. A single EventLoop may be ...
分类:
Web程序 时间:
2017-08-13 15:22:20
阅读次数:
196
实现环境: Master 主:192.168.100.165 (Mysql 5.6.36) Slave 从 :192.168.100.156 (Mysql 5.6.36) 步骤1.在主DB服务器上建立复制账号 (在Master上执行) # mysql mysql> CREATE USER 'rpl' ...
分类:
数据库 时间:
2017-08-13 01:07:39
阅读次数:
240
original article:http://zookeeper.praveendeshmane.co.in/zookeeper/zookeeper-3-4-6-single-server-setup-on-ubuntu-14-04.jsp Apache ZooKeeper is a softwa ...
分类:
Web程序 时间:
2017-08-12 18:53:48
阅读次数:
240
Given an array of integers, every element appears twice except for one. Find that single one. Note:Your algorithm should have a linear runtime complex ...
分类:
编程语言 时间:
2017-08-12 17:07:31
阅读次数:
170
命令:runlevel 解释:check current runlevel 命令:init 解释:进入不同的模式 0: halt 关机 1: Single user mode 2: Without NFS,多用户模式 3:完整多用户模式 4:保留unused 5:桌面 6:重启reboot ...
分类:
系统相关 时间:
2017-08-12 00:36:32
阅读次数:
256
It's well known that the best way to distract from something is to do one's favourite thing. Job is such a thing for Leha. So the hacker began to work ...
分类:
其他好文 时间:
2017-08-11 23:09:43
阅读次数:
213
主要是重写pprint()函数 参考:https://stackoverflow.com/questions/37864526/append-spark-dstream-to-a-single-file-in-python ...
分类:
编程语言 时间:
2017-08-11 19:56:40
阅读次数:
503
参考:http://www.cnblogs.com/andywithu/p/7344507.html lambda表达式,即带有参数的表达式,为更清晰地理解lambda表达式,先看如下例子: (1) class Student{ private String name; private Double ...
分类:
编程语言 时间:
2017-08-11 13:23:54
阅读次数:
163
This can refer to hadoop main page below for setuping passphaseless ssh: http://hadoop.apache.org/docs/r2.6.5/hadoop-project-dist/hadoop-common/Single ...
分类:
系统相关 时间:
2017-08-10 14:39:54
阅读次数:
214