码迷,mamicode.com
首页 >  
搜索关键字:top    ( 21129个结果
Oracle 语法
Top条数Select * FROM Table Where ROWNUM<=2 order by AgeUnitNo descROWNUM<=2 代表查询两条数据。Date日期to_date() 代表转换位Oracle能够识别的Update talbe set A1 = to_date('" + ...
分类:数据库   时间:2014-07-22 22:55:16    阅读次数:246
原生计算浏览器高度
EventUtil.addHandler(window,'scroll',function(){ var dafid = document.getElementById('dafid'), eletop = dafid.getBoundingClientRect().top; if(eletop.....
分类:其他好文   时间:2014-07-18 20:15:23    阅读次数:213
万能的top命令
TOP是一个动态显示过程,即可以通过用户按键来不断刷新当前状态.如果在前台执行该命令,它将独占前台,直到用户终止该程序为止.比较准确的说,top 命令提供了实时的对系统处理器的状态监视.它将显示系统中CPU最“敏感”的任务列表.该命令可以按CPU使用.内存使用和执行时间对任务进..
分类:其他好文   时间:2014-07-17 17:09:19    阅读次数:200
[LeetCode] Triangle
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-07-17 14:03:41    阅读次数:293
文章页获得顶级栏目名称列表以及其内部文章数量
分类目录 {dede:channel type='top' row='8' currentstyle="~typename~ "} [field:typename/] ([field:id runphp='yes']global $dsql;$sql='SE...
分类:其他好文   时间:2014-07-16 18:42:47    阅读次数:206
js 事件小结
1,事件对象 e || window.event //ie 2, 取鼠标点击坐标 带有滚动条的 var top = document.documentElement.scrollTop || document.body.scrollTop;//chorme var x = top + e.clien...
分类:Web程序   时间:2014-07-16 17:05:32    阅读次数:279
sql数据库中查询第几条到第几条的数据
通用方法: select top 500 * from (select top 1000 * from UserSearchDatas order by ID) a order by ID desc
分类:数据库   时间:2014-07-16 16:56:44    阅读次数:199
nohup会用到的命令,一点点`~
nohup java -classpath ../ classifyMblog.Bayes > output.txt 2>&1 &表示在后台运行程序,输出打印在output.txt上。top查看当前的后台程序,可以照到自己程序对应的PIDkill -9 PID关闭程序
分类:其他好文   时间:2014-07-16 15:09:00    阅读次数:233
location.href的用户总结
*.location.href 用法:   top.location.href=”url”          在顶层页面打开url(跳出框架)   self.location.href=”url”         仅在本页面打开url地址   parent.location.href=”url”      在父窗口打开Url地址   this.location.href=”url”   ...
分类:其他好文   时间:2014-07-16 14:30:03    阅读次数:171
iOS 图片拉伸 resizableImageWithCapInsets
UIImage *image = [[UIImage imageNamed:@"test.png"] resizableImageWithCapInsets:UIEdgeInsetsMake(0, 10, 0, 10)];其中Insets这个参数的格式是(top,left,bottom,right)...
分类:移动开发   时间:2014-07-16 14:00:47    阅读次数:216
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!