Given a binary tree struct TreeLinkNode {
TreeLinkNode *left; TreeLinkNode *right; TreeLinkNode *next; }Populate each next
pointe...
分类:
其他好文 时间:
2014-07-22 23:16:35
阅读次数:
373
Given a string s and a dictionary of words
dict, determine if s can be segmented into a space-separated sequence of one or
more dictionary words.For e...
分类:
其他好文 时间:
2014-07-22 23:08:32
阅读次数:
383
/** * Definition for binary tree * struct
TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) :
val(x), left(...
分类:
其他好文 时间:
2014-07-22 23:07:34
阅读次数:
312
1 background: -webkit-gradient(linear,left
bottom,left top,color-stop(0,white),color-stop(0.5,#eee));2 background:
-webkit-linear-gradient(center bott...
分类:
其他好文 时间:
2014-07-22 23:06:13
阅读次数:
364
只需要样式控制即可!.bg {background: #000;position:
absolute;top: 0;left: 0;width: 100%;height: 100%;filter:
alpha(opacity=35);-moz-opacity: 0.35;opacity: 0.35;...
分类:
Web程序 时间:
2014-05-01 16:27:52
阅读次数:
980
1 .opacity{2 position: absolute;3 top: 0px;left:
0px;4 background: #000;5 filter:alpha(opacity=50); /* IE */6 -moz-opacity:0...
分类:
其他好文 时间:
2014-04-30 18:05:10
阅读次数:
900
fixed真的是一个很好的属性。特别是做弹层的时候。可惜的是“国内主流浏览器”IE6大大不支持。一般的我们都会通过CSS中的表达式来解决这个问题。.fixed
{position:absolute;left:expression(eval(document.documentElement.scrol...
分类:
其他好文 时间:
2014-04-30 13:43:11
阅读次数:
341
常用的系统变量如下:1. SY-PAGNO当前页号2. SY-DATUM当前时间3.
SY-LINSZ当前报表宽度4. SY-LINCT当前报表长度5. SPACE空字符6. SY-SUBRC执行状态为0,表示成功.7. SY-UNAME
用户名8. SY-UZEIT当前时间9. SY-TCODE当...
分类:
其他好文 时间:
2014-04-30 13:13:25
阅读次数:
495
由于目前openerp的时区,读取的是UTC时间,而我国本地时间比UTC快8小时问题就导致,写入数据库的时候时间相差8小时,以及Openerp日志输出时间格式也相差8小时和前端显示问题1、更改openerp日志输出时间,如:修改文件:oe_dev/openerp/__init__.pyos.envi...
分类:
其他好文 时间:
2014-04-29 16:36:46
阅读次数:
362
windows下Code::Blocks建立GNU编译的工程:1、需要添加如下头文件:D:\E\programing\levent-libevent\includeD:\E\programing\levent-libevent\gnu\includeC:\Program
Files\Dev-Cpp\...
分类:
其他好文 时间:
2014-04-29 10:47:47
阅读次数:
284