DOM(文档对象模型(Document Object Model)) 文档对象模型(Document Object Model,简称DOM),是W3C组织推荐的处理可扩展标志语言的标准编程接口。在网页上,组织页面(或文档)的对象被组织在一个树形结构中,用来表示文档中对象的标准模型就称为DOM。Doc ...
分类:
编程语言 时间:
2016-11-17 10:19:57
阅读次数:
223
Given a 2d grid map of '1's (land) and '0's (water), count the number of islands. An island is surrounded by water and is formed by connecting adjacen ...
分类:
其他好文 时间:
2016-11-17 10:00:25
阅读次数:
161
Web Scriping: 1. We can also use requests.get to get the HTML file form a webpage. 2. If we would like to extract the content from the webpage, we can ...
分类:
其他好文 时间:
2016-11-17 08:05:30
阅读次数:
114
生病了好蓝过啊,哎还是家里好,生病都不能码代码了TAT…… 下面是题目: Write a program to find the topological order in a digraph. Format of functions: where LGraph is defined as the f ...
分类:
其他好文 时间:
2016-11-16 22:18:25
阅读次数:
644
int a, b, c; bool x = false; public int mxNum; public int FinNum; int[] array = new int[10]{ 115,105,205,107,108,215,315,305,312,313 }; void Start() { ...
分类:
其他好文 时间:
2016-11-16 20:13:32
阅读次数:
213
Class.forName(xxx.xx.xx) 返回的是一个类 首先你要明白在java里面任何class都要装载在虚拟机上才能运行。这句话就是装载类用的(和new 不一样,要分清楚)。 至于什么时候用,你可以考虑一下这个问题,给你一个字符串变量,它代表一个类的包名和类名,你怎么实例化它?只有你提到 ...
python中的加减乘除比其他的语言简单,不需要对其赋值变量 (1)加减乘除 (2)判断 判断返回的是True或者False (3)逻辑运算符 AND,OR,NOT ...
分类:
编程语言 时间:
2016-11-16 19:10:13
阅读次数:
229
<?php $arr = array( 'd' => array('id' => 3, 'name' => 1, 'age' => 7), 'b' => array('id' => 6,'name' => 3,'age' => 4), 'a' => array('id' => 8,'name' => ...
分类:
编程语言 时间:
2016-11-16 15:27:18
阅读次数:
221
Saltstack提供了非常丰富的功能模块,设计操作系统的基础功能,常用工具支持等, 官网模块介绍 http://docs.saltstack.com/ref/modules/all/index.html 一 列出当前版本支持的模块 所有主机saltstack支持的模块清单(打印部分) 二 模块及a ...
英文文档: sorted(iterable[, key][, reverse]) Return a new sorted list from the items in iterable. Has two optional arguments which must be specified as ke ...
分类:
编程语言 时间:
2016-11-16 15:08:18
阅读次数:
187