/** global的函数和方法*1、setTimeout、clearTimeout 多长时间后执行函数(只执行一次)*2、setInterval、clearInterval 每隔多少秒执行一次的计时器*3、unref,ref 停止和启动计时器(针对setInterval)*///1、set...
分类:
Web程序 时间:
2015-04-23 19:24:18
阅读次数:
187
在 阅读https://github.com/vitonzhang/objc_dep 中的 objc_dep.py 时遇到:1 objc_files = (f for f in files if f.endswith(ext))在Ref[1] PEP中,这种语法称为Generator Express...
分类:
编程语言 时间:
2015-04-23 12:58:58
阅读次数:
240
1、定义一个程序包create or replace package pag_q is type cur_result is ref cursor;end pag_q;2、存储过程里面这样写create or replace procedure prc_q(res out pag_q.cur_res...
分类:
数据库 时间:
2015-04-23 01:47:35
阅读次数:
205
1. 继承TextBox,然后重写父类的部分方法,核心代码如下public class MyTextBox : TextBox { protected override void WndProc(ref Message m) { switch ...
在用【select * from psx_element where ele_id like '%ref_%'】查询是,表中出现了很多不包含【ref_】的结果。经过一番度娘,终于了解。因为下划线是通配符,需要用escape转义函数,写成下面的语句就可以了。select * from psx_elem...
分类:
数据库 时间:
2015-04-21 20:03:07
阅读次数:
149
经典问题,可以把周边都做了,详见ref http://blog.csdn.net/linhuanmars/article/details/19949159public class Solution { public int lengthOfLongestSubstring(String s) ...
分类:
其他好文 时间:
2015-04-20 13:07:35
阅读次数:
115
Windows上的整合PHP开发环境有很多,如:Windows独占的Wampserver,跨平台的Xampp……但是和MAMP PRO相比,它们立刻黯然失色。最大的差距体现在易用性上——用过MAMP PRO的朋友往往再也不会回头去用Windows上那些难用的PHP开发环境了。Ref:https://...
很有趣的一个算法,不过好像除此之外用处不大ref http://www.geeksforgeeks.org/majority-element/public int majorityElement(int[] num) { if(num.length<3) return num[0]; ...
分类:
其他好文 时间:
2015-04-19 14:36:54
阅读次数:
117
基本使用1. 编译内核ref:http://www.omappedia.org/wiki/Installing_and_Using_Ftrace===================================================Kernel configuration & Re-b...
分类:
其他好文 时间:
2015-04-19 14:33:08
阅读次数:
187
中国放宽做空限制重挫全球股市http://finance.qq.com/a/20150418/011292.htm?pgv_ref=aio2015&ptlang=2052
分类:
其他好文 时间:
2015-04-18 09:56:58
阅读次数:
103