DOM Level 0: document直接访问;可以通过数组形式,id或name(不鼓励)image;formslinks;cookie;常用获取节点的方法:getElementById;getElementByName;getElementByClassName; //element对象也可....
分类:
Web程序 时间:
2014-10-29 10:44:00
阅读次数:
162
本人最近收集了一下23钟设计模式的英文解释,分享如下。
--- Abstract Factory
Provides one level of interface higher than the factory pattern. It is used to return one of several factories.
--- Builder
Construct a comple...
分类:
其他好文 时间:
2014-10-29 00:23:22
阅读次数:
165
如何理解 IE 的文档兼容模式(X-UA-Compatible)? IE 浏览器支持多种文档兼容模式,得以因此改变页面的渲染效果。 IE9 模式支持全范围的既定行业标准,包括 HTML5(草案), W3C CSS Level 3 规范(草案), SVG 1.0 规范等 IE8 模式支持许多既定行业标...
分类:
其他好文 时间:
2014-10-28 19:36:51
阅读次数:
228
1. Log信息级别
2. 过滤:指定标签,指定级别
adb logcat [TAG:LEVEL ] [TAG
3. 采用grep正则表达式过滤
grep 正则表达式参见grep与正则表达式
adb logcat | grep -E '^[VDE]/(TAG1|TAG2)'
4. 在同时输出到屏幕和文件 tee
想要把日志保存到文件,如果采用IO重定向,就无法输出到屏幕, 针对这个问题可以采用 tee命令
adb logcat | grep -E '^[VDE]/(TAG1|TAG2)' | tee...
分类:
数据库 时间:
2014-10-28 18:02:45
阅读次数:
174
拓扑图RT1配置<RT1>sysSystemView:returntoUserViewwithCtrl+Z.[RT1]intg0/0/0[RT1-GigabitEthernet0/0/0]ipadd1.1.1.124[RT1-GigabitEthernet0/0/0]RT2配置<RT2>sysSystemView:returntoUserViewwithCtrl+Z.[RT2]intg0/0/0[RT2-GigabitEthernet0/0/0]ipadd1.1.1.22..
分类:
Web程序 时间:
2014-10-28 02:10:31
阅读次数:
211
If the top-level type is just a type name, you can omit it from the elements of the literal.package main import "fmt"type Vertex struct { Lat, Long...
分类:
其他好文 时间:
2014-10-28 00:33:22
阅读次数:
135
我想对code这一列做分组统计,请问大神sql语句该怎么写? 这是我写的sql语句 SELECT ?t1.id, ?t1.code, ?t1.[count], ?dbo.dictText (t1.dwmc, ‘dwmc‘) AS dwmc, ?dbo.dictText (t1. LEVEL, ‘tar_level0‘) ...
分类:
数据库 时间:
2014-10-27 23:12:17
阅读次数:
450
问题描述:
Given a binary tree, return the bottom-up level order traversal of its nodes' values. (ie, from left to right, level by level from leaf to root).
For example:
Given binary tree {3,9,20,#,#,...
分类:
其他好文 时间:
2014-10-27 21:21:00
阅读次数:
190
问题描述:
Given a binary tree, return the level order traversal of its nodes' values. (ie, from left to right, level by level).
For example:
Given binary tree {3,9,20,#,#,15,7},
3
/ 9 ...
分类:
其他好文 时间:
2014-10-27 21:19:34
阅读次数:
236
当页面结构设置(/admin/cms/page)如下:- Home (level=0) - About Us (level=1) - About Company Services (level=2) - Foo Bar (level=3) - Our Management Team (level=2...
分类:
其他好文 时间:
2014-10-27 16:59:50
阅读次数:
247