介绍CSS 选择器是一种应用于 DOM 节点查找场景的特定微型语法, 本质上和正则表达式一样都是一种模式匹配语言,灵活使用可以方便得获取指定位置的节点集合。目前 W3C 推荐标准为Selectors Level 3, 在 ie9+ 以及 firefox,chrome,mobile 等浏览器上原生有基...
分类:
Web程序 时间:
2014-08-19 09:19:03
阅读次数:
295
Problem Description
Astronomers often examine star maps where stars are represented by points on a plane and each star has Cartesian coordinates. Let the level of a star be an amount of the stars tha...
分类:
其他好文 时间:
2014-08-18 23:37:23
阅读次数:
306
最近SDK出问题了,然后在google下载了一个android-sdk-windows.rar,然后点击SDK Manager,结果一直不能刷新API Level,然后就开始在网上找了好多资料,解决这个问题,修改 HOSTS, HTTP 和 HTTPS 都不能解决,这给我带来了很大的困惑! 加载不出...
分类:
移动开发 时间:
2014-08-18 21:48:32
阅读次数:
292
1. 元素的SecurityBits属性OptionalText. Defines the item-level permissions in the list for users with sufficient permission to read or edit list items. TheS...
分类:
其他好文 时间:
2014-08-18 18:21:42
阅读次数:
202
Oracle的锁表与解锁 Oracle的锁表与解锁?? SELECT /*+ rule */ s.username, decode(l.type,‘TM‘,‘TABLE LOCK‘, ‘TX‘,‘ROW LOCK‘, NULL) LOCK_LEVEL, o.owner,o.object_name,o.object_type, s.sid,s.serial#,s....
分类:
数据库 时间:
2014-08-18 14:39:22
阅读次数:
280
大家可能都用过Log4net插件来记录日志,该插件默认提供了这几个字段@log_date,@exception, @thread, @log_level, @logger, @message, 但是这并不能完全满足我们日常记录日志的需求,我们可能需要扩展自己所需的其他字段,来记录到数据库。例如,对....
分类:
数据库 时间:
2014-08-18 14:26:02
阅读次数:
263
Kafka提供了两套API给Consumer
The high-level Consumer APIThe SimpleConsumer API
第一种高度抽象的Consumer API,它使用起来简单、方便,但是对于某些特殊的需求我们可能要用到第二种更底层的API,那么先介绍下第二种API能够帮助我们做哪些事情
一个消息读取多次在一个处理过程中只消费Partiti...
Given a binary tree, return the zigzag level order traversal of its nodes' values. (ie, from left to right, then right to left for the next level and ...
分类:
其他好文 时间:
2014-08-17 18:25:02
阅读次数:
233
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,...
分类:
其他好文 时间:
2014-08-17 15:32:12
阅读次数:
131
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 e...
分类:
其他好文 时间:
2014-08-17 15:31:52
阅读次数:
221