declare @a intselect @a=20--COUNT(*) from
SEC_SecureUser while(@a>0)beginselect top 1 suUserID,SUID from SEC_SecureUser
where SUID not in(select top (...
分类:
其他好文 时间:
2014-05-09 09:58:20
阅读次数:
261
CSS里面background-repeat:no-repeat就不重复了<tdvalign="top"style="background-p_w_picpath:url(‘/user/mypage/live_1.jpg‘);height:29px;width:164px;background-repeat:no-repeat">
分类:
其他好文 时间:
2014-05-09 06:57:26
阅读次数:
252
出错的原因是adb的端口被其他程序的进程占领了,所以要做的就是找到并kill该进程。步骤:、
1、在cmd中执行adb nodaemon server,查看adb的端口号是多少,一般情况下是5037(why?我也太懂)
2、再执行netstat -ano | findstr "5037" ,会看到如下类似的情形:
这里稍微解释一下,显示的从左到右的意思分别是,连接类型(TCP)、本地...
分类:
数据库 时间:
2014-05-09 06:11:12
阅读次数:
370
Given a triangle, find the minimum path sum
from top to bottom. Each step you may move to adjacent numbers on the row
below.For example, given the fol...
分类:
编程语言 时间:
2014-05-08 18:31:51
阅读次数:
399
转自
:http://hi.baidu.com/taomin15201212/item/7b7d0f140d61af0f8ebde433网页可见区域宽:document.body.clientWidth;网页可见区域高:document.body.clientHeight;网页可见区域宽:docum...
分类:
Web程序 时间:
2014-05-08 17:50:42
阅读次数:
430
转自:http://www.cocoachina.com/appstore/top/2012/1105/5031.html像我一样记不住iOS应用图标像素尺寸的开发者不在少数,我经常需要查询不同设备上的应用尺寸,为了方便自己、方便大家,我制作了下面的图表供大家参考。iPhone、iPodTouch以...
分类:
移动开发 时间:
2014-05-08 13:38:06
阅读次数:
450
发生折叠需要是相邻的非浮动元素;折叠发生在垂直外边距上,即margin-top/margin-bottom;折叠后取其中最大的那个margin值作为最终值;浮动元素不折叠。在水平书写模式下,发生margin折叠的是垂直方向,即margin-top/margin-bottom,在垂直书写模式下,mar...
分类:
其他好文 时间:
2014-05-08 12:28:04
阅读次数:
302
hive 中的union all是不能在sql语句的第一层使用的,否则会报Top level
UNION is not supported currently 错误;例如如下的方式:select id,name from user where type
= 1union allselect id,n...
分类:
其他好文 时间:
2014-05-08 07:17:42
阅读次数:
420
N的范围很大,但Q的范围比较小.可以把TOP,QUERY操作用到的点分离出来,没用到的段缩成点
对于TOP 把x转到根,删除后加到开头位置
对于QUERY 旋转到根直接输出
对于RANK,递归
Queue-jumpers
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Othe...
分类:
其他好文 时间:
2014-05-07 22:36:28
阅读次数:
559
defgetResult(cmd,timeout=2):#命令超时时间
deadline=time.time()+timeout
r=subprocess.Popen(cmd,shell=True,stdout=subprocess.PIPE)
whiletime.time()<deadlineandr.poll()isNone:
time.sleep(0.1)
ifr.poll()isNone:#检查子进程
r.kill()
r.wait()
return‘‘
r.wait()
..
分类:
编程语言 时间:
2014-05-07 22:30:17
阅读次数:
504