一:准备 1.概述 为分布式应用提供协调服务的项目 类似于文件系统那样的树形数据结构 目的:将分布式服务不再由于协作冲突而另外实现协作服务 2.数据结构 树形数据结构 zookeeper的每个节点都是被路径唯一标识 3.要点 2n+1台机器,出现容错性 在启动zookeeper时会出现一个选举操作 ...
分类:
其他好文 时间:
2016-10-22 07:09:23
阅读次数:
268
But when I walked into the cafeteria with Jessica — 但是当我和Jessica 一起走进自助餐厅的时候 trying to keep my eyes from sweeping the place for him, and failing entir ...
分类:
其他好文 时间:
2016-10-19 03:03:01
阅读次数:
179
1.krpano注册2拆分360全景图片工具.3.生成krpano文件,在index.xml修改参数,图片放在panos4.打点的坐标显示<controlkeycodesin=""keycodesout=""/><pluginname="hotspotinfo"keep="true"url="%SWFPATH%/plugins/textfield.swf"html="dragthehotspots..."css="font-fam..
分类:
其他好文 时间:
2016-10-18 23:33:02
阅读次数:
173
引用: 官翻备份文档 SD CARD IMAGE It may be sensible for you to keep a copy of the entire SD card image, so you can restore the card if you lose it or it becom ...
分类:
其他好文 时间:
2016-10-17 13:30:06
阅读次数:
147
The trick is to add environment variables to sudoers file via sudo visudo command and add these lines: ...
分类:
其他好文 时间:
2016-10-10 23:08:45
阅读次数:
140
在第一次的词频统计中,对JProfile 款软件不是很熟悉,感觉数据不是很准确,在程序启动时JProfile总是提示Java虚拟机已退出,后来经过查阅知道解决方案:截图如下 要将 keep vm alive 勾选上。 程序总体总体情况如下: 当程序运行之后,cpu和内存的使用几乎在同一时间有一个明显 ...
分类:
其他好文 时间:
2016-09-28 22:32:16
阅读次数:
153
Given a string, we can "shift" each of its letter to its successive letter, for example: "abc" -> "bcd". We can keep "shifting" which forms the sequen ...
分类:
其他好文 时间:
2016-09-28 07:40:34
阅读次数:
95
The case is like this, I just want to keep a record, for today, for recently, for this whole year of 2015.9.27-2016.9.25. Now I am sitting in front of ...
分类:
其他好文 时间:
2016-09-25 23:32:12
阅读次数:
206
链接:http://bak.vjudge.net/problem/UVA-1153 分析:将n个工作按截止时间d从小到大排序。用优先队列维护在当前截止时间di下,实现完成工作数的最大化时,选取的各个工作的需要时间。每次取一个工作i,先把它扔进队列中(这样保证n个工作都进过队列,在后面我们只需记录下从 ...
分类:
其他好文 时间:
2016-09-23 06:34:53
阅读次数:
189
产品讲了他对于产品的理解。 1.think different 差异化竞争 2.Open Mind 用开放的态度对待新事物 3.KISS keep it simple,stupid 简洁的力量 沉没成本:代指已经付出且不可收回的成本。不该在做决策时考虑沉没成本 马太效应:反映的社会现象是两极分化,富 ...
分类:
其他好文 时间:
2016-09-14 19:11:02
阅读次数:
144