码迷,mamicode.com
首页 >  
搜索关键字:query end    ( 43100个结果
使用FSO按文件大小浏览文件目录并进行删除操作
function JudgeParaRegular(intID)  if intID JudgeParaRegular=intId  else  Response.Write "输入错误!"  Response.End  end if  end function  intFileSize=JudgeParaRegular(Request.QueryString("intFileSi...
分类:其他好文   时间:2014-05-09 14:39:32    阅读次数:299
iOS 生成随机颜色(UIColor)
#import @interface UIColor (RandomColor) +(UIColor *) randomColor; @end #import "UIColor+RandomColor.h" @implementation UIColor (RandomColor) +(UIColor *) ...
分类:移动开发   时间:2014-05-09 13:57:22    阅读次数:477
Ruby一行代码实现快速排序
1 def quick_sort(a) 2 3 return a if a.size x}) : [] 6 7 end 8 9 array = [72,6,57,88,60,42,83,73,42,48,85] 10 11 p quick_sort(array) #=> [6...
分类:其他好文   时间:2014-05-09 13:43:49    阅读次数:318
两个奇怪的取地址符号
function Fun(x: Integer): Integer;asm mov ecx, &x dec ecx {汇编中的 dec 是减 1 指令, 和 Delphi 是一样的} mov @Result, ecx {在本例中去掉 @ 也可以, 暂时不知怎么回事}end;去掉两个符号,对...
分类:其他好文   时间:2014-05-09 09:20:32    阅读次数:323
Leetcode: Remove Nth Node From End of List
两次通过,考虑漏了一种情况:input: {1}, 1, 这种情况的output是null,应特殊处理; 同时,另外一个问题是:当要被删除的元素是最后一个元素的时候,我的方法又只能从头找起,不够简洁 1 /** 2 * Definition for singly-linked list. 3 *.....
分类:其他好文   时间:2014-05-09 08:57:45    阅读次数:278
property属性
@interface Person : NSObject@property (nonatomic, copy) NSString *name;@end @interface Student : Person@end1.Student类无法使用_name来访问Person中属性name,因为当使用@p...
分类:其他好文   时间:2014-05-09 08:20:33    阅读次数:268
MySQL存储过程
1.1CREATE PROCEDURE (创建)CREATE PROCEDURE存储过程名 (参数列表)BEGIN SQL语句代码块END注意:由括号包围的参数列必须总是存在。如果没有参数,也该使用一个空参数列()。每个参数默认都是一个IN参数。要指定为其它参数,可在参数名之前使用关...
分类:数据库   时间:2014-05-09 07:56:45    阅读次数:547
linux运维故障
dmidecode-tprocessor|grepSocket(物理cpu个数) dmidecode|grepSize|grepMB|awk‘{a+=$2}END{printa}‘(物理内存大小MB) dmidecode|grepSize|grepMB|wc-l(物理内存个数) ps-eopid,lstart,etime|grep26871(进程运行时间) 26871ThuSep2617:08:55201300:19让Linux在终端支持..
分类:系统相关   时间:2014-05-09 07:09:18    阅读次数:442
android Bluetooth(官方翻译)
Bluetooth Using the Bluetooth APIs, an Android application can perform the following: 使用蓝牙APIs,一个Android应用可以进行如下操作: Scan for other Bluetooth devices 扫描其他蓝牙设备 Query the local Bluetooth adapter...
分类:移动开发   时间:2014-05-09 06:15:57    阅读次数:479
ExtJS(1)- ExtJS的选择器
这几个月正式开始运用ExtJS开发项目,接下来会将这几个月的一些经验整理成一个系列博客。今天要讲的是ExtJS中的基础,如何获取component和Dom.element。一、query查询以下的path为查询条件,查询方式类似于JQuery*ComponentQuery返回componentExt.ComponentQuery.query(path)全..
分类:Web程序   时间:2014-05-09 00:44:37    阅读次数:413
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!