上一页 1 ··· 262 263 264 265 266 267 268 269 270 ··· 274 下一页
摘要: Given a string array words, find the maximum value of length(word[i]) * length(word[j]) where the two words do not share common letters. You may assum 阅读全文
posted @ 2016-12-17 23:59 bonelee 阅读(356) 评论(0) 推荐(0)
摘要: 转自:http://cek.io/blog/2015/12/03/event-loop/ What is JavaScript What is JavaScript anyway? Some words: It’s a single-threaded, non-blocking, asynchron 阅读全文
posted @ 2016-12-16 12:14 bonelee 阅读(406) 评论(0) 推荐(0)
摘要: 什么是事件循环 什么是事件循环 Node只运行在一个单一线程上,至少从Node.js开发者的角度是这样的。在底层, Node是通过libuv来实现多线程的。 Libuv库负责Node API的执行。它将不同的任务分配给不同的线程,形成一个事件循环, 以异步的方式将任务的执行结果返回给V8引擎。可以简 阅读全文
posted @ 2016-12-16 10:57 bonelee 阅读(274) 评论(0) 推荐(0)
摘要: 第3章 The Bourne-Again Shell Bash的主要组件:输入处理,解析,单词展开(word expansion)和其他命令处理,管道(pipeline)中的命令执行。这些组件构成一个流水线(pipeline),从键盘或脚本中获取字符,然后逐步转化为命令。 图3.1 Bash组件结构 阅读全文
posted @ 2016-12-15 20:28 bonelee 阅读(886) 评论(0) 推荐(0)
摘要: Input History readline tracks the input history automatically. There are two different sets of functions for working with the history. The history for 阅读全文
posted @ 2016-12-15 20:23 bonelee 阅读(2696) 评论(0) 推荐(0)
摘要: CSDN:AngularJS的设计理念是什么?灵感来自于什么? Misko:AngularJS遵循的设计理念是——构建UI应该是声明式的。这也是AngularJS中标识符(directives)想法的灵感来源。 因此有了下文的摘录: 声明式编程和命令式编程的比较 先统一一下概念,我们有两种编程方式: 阅读全文
posted @ 2016-12-15 16:49 bonelee 阅读(878) 评论(0) 推荐(0)
摘要: 如下: 更智能点: python实现: 参考:http://docs.splunk.com/Documentation/Splunk/6.5.1/RESTTUT/RESTsearches 阅读全文
posted @ 2016-12-14 11:43 bonelee 阅读(2158) 评论(0) 推荐(0)
摘要: 单机下多实例配置: discovery.zen.ping.multicast.enabled: falsediscovery.zen.ping.unicast.hosts: ["127.0.0.1:9300", "127.0.0.1:9301", "127.0.0.1:9302"]network.h 阅读全文
posted @ 2016-12-13 19:23 bonelee 阅读(2135) 评论(0) 推荐(0)
摘要: 使用 HTTP Event Collector go to Settings > Data inputs > HTTP Event Collector. Then click the Global Settings button in the upper-right corner. 然后enable 阅读全文
posted @ 2016-12-12 17:07 bonelee 阅读(2981) 评论(0) 推荐(0)
摘要: edit~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xmlfind the line <property name="&lt;Super&gt;Tab" type="string" value="switch 阅读全文
posted @ 2016-12-12 14:28 bonelee 阅读(1779) 评论(0) 推荐(0)
上一页 1 ··· 262 263 264 265 266 267 268 269 270 ··· 274 下一页