Two SumGiven an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the...
分类:
其他好文 时间:
2014-07-15 08:45:17
阅读次数:
236
最近公司这边在做Zabbix服务器的升级,从OpenSuse11.2 升级到OpenSuse11.4,然后Zabbix就出现了兼容性问题(OpenSuse11.4 无法兼容zabbix1.8.3),而在OpenSuse的网站上也没有Zabbix的更新包,所以只能按照官网的升级思路去升级Zabbix了...
分类:
其他好文 时间:
2014-07-15 00:10:32
阅读次数:
442
url: 要求为String类型的参数,(默认为当前页地址)发送请求的地址。type: 要求为String类型的参数,请求方式(post或get)默认为get。注意其他http请求方法,例如put和delete也可以使用,但仅部分浏览器支持。timeout: 要求为Number类型的参数,设置请求超...
分类:
Web程序 时间:
2014-07-14 22:57:44
阅读次数:
276
1. Request和Response消息结构Request结构: METHOD path-to-resource HTTP-version-number HEAD requestbody(Optional)Response结构: HTTP-version...
分类:
其他好文 时间:
2014-07-14 22:16:13
阅读次数:
291
为什么叫数字版的版本,因为Eclipse软件里显示的是文字版的版本,比如我现在的就是Version:IndigoRelease。这在下载插件的时候很不方便。如何查看文字版的版本信息:打开Eclipse,和很多软件一样,点击Help,最后有个About Eclipse,然后点击出现一个信息框,上面就会...
分类:
系统相关 时间:
2014-07-14 19:55:03
阅读次数:
353
3Sum ClosestGiven an arraySofnintegers, find three integers inSsuch that the sum is closest to a given number, target. Return the sum of the three int...
分类:
其他好文 时间:
2014-07-14 15:23:22
阅读次数:
171
无书面许可请勿转载
由于第三章内容较长,我将分做几个部分来翻译。
Advanced Playbooks
So far the playbooks that we have looked at are simple and just run a number of
modules in order. Ansible allows much more control over the execut...
分类:
其他好文 时间:
2014-07-14 14:01:01
阅读次数:
271
这个在做系统母盘的时候用,2个方法,一是用注册表,二是手动删除注册表里的,我是习惯用第二个方法。Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manag...
分类:
其他好文 时间:
2014-07-14 10:49:55
阅读次数:
297
Combination SumGiven a set of candidate numbers (C) and a target number (T), find all unique combinations inCwhere the candidate numbers sums toT.Thes...
分类:
其他好文 时间:
2014-07-14 10:43:07
阅读次数:
222
Combination Sum IIGiven a collection of candidate numbers (C) and a target number (T), find all unique combinations inCwhere the candidate numbers sum...
分类:
其他好文 时间:
2014-07-14 10:42:22
阅读次数:
192