码迷,mamicode.com
首页 >  
搜索关键字:add binary    ( 48151个结果
cacti批量添加研究
利用cacti提供的api接口可以进行添加查询监控这些api脚本放在cacti的cli目录下面:/web/cacti02/cli编写脚本循环调用下面这些api脚本,就可以达到批量添加的效果,省去大量的人力和时间add_data_query.phpadd_device.phpadd_graphs.php add_graph_template.phpadd_perms.phpadd..
分类:其他好文   时间:2014-05-27 03:52:37    阅读次数:286
leetcode -day18 Balanced Binary Tree
1、 ?? Balanced Binary Tree Given a binary tree, determine if it is height-balanced. For this problem, a height-balanced binary tree is defined as a binary tree in which the depth of the two subt...
分类:其他好文   时间:2014-05-23 08:19:19    阅读次数:282
Linux下git基本使用总结<1>
1.安装 Linux下直接apt-get install git 或者 apt-get install git-core 即可   2.创建版本库 进入目录 git init 此时会生成一个.git的目录,用来管理你的这个目录下的版本,一般不要动.git目录。   3.添加文件,并提交 git add  filename                          可以看作将文...
分类:系统相关   时间:2014-05-23 08:14:08    阅读次数:374
【LeetCode】Add Two Numbers
You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and return it as a link...
分类:其他好文   时间:2014-05-23 07:43:23    阅读次数:246
Java学习笔记_21_Collection接口
21.Collection接口:  1>容器类的添加、删除:   · add(Object o) :将对象添加到集合。   · Remove(Object o) :删除集合中与o相匹配的对象。  2>容器中类的查询:   · Size(): 返回集合中元素的个数。   · isEmpty(): 判断集合中是否包含元素。   · contains(Object o): 判断集合中是否包...
分类:编程语言   时间:2014-05-22 13:03:23    阅读次数:271
leetcode -day19 Convert Sorted List to Binary Search Tree
1、 ?? Convert Sorted List to Binary Search Tree  Given a singly linked list where elements are sorted in ascending order, convert it to a height balanced BST. 分析:将一个升序排列的链表转换为平衡二叉搜索树,采用递归的方式,先找到链表...
分类:其他好文   时间:2014-05-22 12:33:30    阅读次数:270
JDK源码分析—— ArrayBlockingQueue 和 LinkedBlockingQueue
目的:本文通过分析JDK源码来对比ArrayBlockingQueue 和LinkedBlockingQueue,以便日后灵活使用。 1. 在Java的Concurrent包中,添加了阻塞队列BlockingQueue,用于多线程编程。BlockingQueue的核心方法有: * boolean add(E e) ,把 e 添加到BlockingQueue里。如果BlockingQueue可以容纳,则返回true,否则抛出异常。 * boolean offer(E e),表示如果可能的话,将 e 加...
分类:数据库   时间:2014-05-22 12:19:23    阅读次数:442
Tomcat手工搭建Jsp和Servlet程序
要运行J2EE的程序,就必须安装相关的容器,而如何选择JSP+Servlet模式。Tomcat是很重要的选择之一,是世界上最为广泛的Servlet和JSP容器。 下载: 1. URL: http://tomcat.apache.org/  Tomcat 7.0.52 2. 单击左面”Tomcat 7.0”,进入Tomcat 7.0.52页面 3. 单击Binary Distri...
分类:Web程序   时间:2014-05-22 06:47:15    阅读次数:295
Leetcode:Same Tree
戳我去解题Given two binary trees, write a function to check if they are equal or not.Two binary trees are considered equal if they are structurally identic...
分类:其他好文   时间:2014-05-20 10:09:37    阅读次数:201
用 Python 替代 Bash 脚本(转)
add by zhj: 其实作者是想说用Python来做那些Bash实现起来比较麻烦的部分,即将Bash与Python结合使用。英文原文:http://www.linuxjournal.com/content/python-scripts-replacement-bash-utility-scrip...
分类:编程语言   时间:2014-05-20 08:53:25    阅读次数:735
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!