一、简介 Dispatch Sources常用于处理跟系统有关的事件,协调处理指定的低级别的系统事件。在配置Dispatch Source时,需指定监控的事件类型、Dispatch Queues、Event Handle(blocks/functions)。当被监控的事件发生时,Dispatch S ...
分类:
其他好文 时间:
2017-06-13 12:36:45
阅读次数:
282
一个比ack速度快n倍的代码搜索工具: ag 银搜索者(The Silver Searcher) 一个类似于代码搜索工具ack,着重于速度。 Github: https://github.com/ggreer/the_silver_searcher Ag有什么好处? 它比一个数量级快ack。 它忽略 ...
分类:
其他好文 时间:
2017-06-13 11:30:11
阅读次数:
356
使用步骤 1、在pom.xml中引入thymeleaf 2、关闭thymeleaf缓存 创建application.properties资源文件 #spring.thymeleaf.prefix=classpath:/templates/ #spring.thymeleaf.suffix=.html ...
分类:
编程语言 时间:
2017-06-13 00:02:54
阅读次数:
222
[20170612]FOR ALL COLUMNS SIZE repeat(11g).txt--//昨天看了https://jonathanlewis.wordpress.com/2017/06/01/histogram-upgrade-2/,提到了直方图的问题,--//特别是FOR ALL COL ...
分类:
其他好文 时间:
2017-06-12 22:14:44
阅读次数:
270
来源:http://www.cnblogs.com/puresoul/p/3854963.html【转】 一、 robot framework环境搭建: 官网:http://robotframework.org/ 1、cmd进入ez_setup.py文件目录 2、用setuptools安装:easy ...
分类:
其他好文 时间:
2017-06-12 18:46:45
阅读次数:
135
一. 为什么要引入锁 多个用户同时对数据库的并发操作时会带来以下数据不一致的问题: 丢失更新 A,B两个用户读同一数据并进行修改,其中一个用户的修改结果破坏了另一个修改的结果,比如订票系统 脏读 A用户修改了数据,随后B用户又读出该数据,但A用户因为某些原因取消了对数据的修改,数据恢复原值,此时B得 ...
分类:
数据库 时间:
2017-06-12 17:07:16
阅读次数:
168
https://stackoverflow.com/questions/33922937/why-does-tensorflow-return-nan-nan-instead-of-probabilities-from-a-csv-file Try throwing in a few of thes ...
分类:
其他好文 时间:
2017-06-12 16:20:30
阅读次数:
273
参见:https://en.wikipedia.org/wiki/OpenStack#Release_history ...
分类:
其他好文 时间:
2017-06-12 15:30:11
阅读次数:
346
ui树及运行时游戏对象 node类是所有ui元素的基类,我们看看它有啥属性 1.位置和变换 position:位置,决定元素显示位置 anchorPoint:锚点,决定元素哪个部分处于这个位置上,这点范围(0-1, 0-1) 锚点示意图,假设元素在100,100,锚点为0.5,0.5,则图内中间的点 ...
分类:
其他好文 时间:
2017-06-12 14:36:38
阅读次数:
246
转载请注明原文链接,http://www.cnblogs.com/flyingcloude/p/6992048.html ...
分类:
其他好文 时间:
2017-06-12 13:11:37
阅读次数:
108