NSTimer的使用方法1、初始化+ (NSTimer
*)timerWithTimeInterval:(NSTimeInterval)ti target:(id)aTarget
selector:(SEL)aSelector userInfo:(id)userInfo repeats:(BOOL)...
分类:
其他好文 时间:
2014-05-23 07:01:44
阅读次数:
224
<div id="ad"
style="position:absolute"><a href="http://www.cnblog.com/wayne173"
target="_blank"><img src="http://static.cnblogs.com/ima...
分类:
Web程序 时间:
2014-05-23 06:58:38
阅读次数:
330
http://poj.org/problem?id=1008Maya Calendar
Time Limit: 1000MSMemory Limit: 10000KTotal Submissions: 64607Accepted:
19908DescriptionDuring his last s....
分类:
其他好文 时间:
2014-05-23 06:52:43
阅读次数:
288
今天写程序,遇到了crash,在界面初始化时不会有,想切换到别的tab页就报错了。主要内容如下:Cannot
find an outgoing row head for incoming head UIImageView:0x156caec0.Width{id:
103}, which should...
分类:
移动开发 时间:
2014-05-23 06:48:54
阅读次数:
280
题目来源:http://61.187.179.132/JudgeOnline/problem.php?id=2732题意: 对于一个靶子, 得到两个不等式。
裸地半平面交 。分析:用的 一般的 模板,总是TLE 。改成了 刘汝佳 版本 ,依然超时, 所谓的常数太大????后来注意到 : 当 判断.....
分类:
其他好文 时间:
2014-05-23 06:41:09
阅读次数:
347
RelativeLayout1、控件之间对齐底部对齐:android:layout_alignBottom="@+id/img_head"顶部对齐android:layout_alignTop="@+id/img_head"左边对齐android:layout_alignLeft="@id/tv_n...
分类:
其他好文 时间:
2014-05-21 17:50:33
阅读次数:
250
使用意图调用内置应用程序
1、创建一个新的Android项目并命名为Intents,在main.xml文件中添加两个Button:
<Button
android:id="@+id/btn_webbrowser"
android:layout_width="fill_parent"
android:layout_heigh...
分类:
移动开发 时间:
2014-05-21 16:24:12
阅读次数:
298
--将text替换成你要查找的内容
select name
from sysobjects o, syscomments s
where o.id = s.id
and text like '%text%'
and o.xtype = 'P'
--将text替换成你要查找的内容
SELECT ROUTINE_NAME, ROUTINE_DEFINITION
FROM INFO...
分类:
数据库 时间:
2014-05-21 14:50:04
阅读次数:
373
所有的UI控件最终都继承自UIView,UI控件的公共属性都定义在UIView中,UIView的常见属性UIView *superview;
获得自己的父控件对象NSArray *subviews; 获得自己的所有子控件对象NSInteger tag; 控件的ID(标识),父控件可以通过tag...
分类:
移动开发 时间:
2014-05-21 14:20:08
阅读次数:
307
公司的数据库一直是sybase,用起来也挺好的,最新客户现场出现一个问题,数据无法传输了,看日志非常简单,一下就定位到了原因。
很简单,参数超过了2000个,因为这个功能是根据主表的主键查询子表,方法用的是where 主表id in (?,?,?,?……)方式,参数问号最多是是2000个,不过这就奇怪了,直接使用sql查询sybase,5000个参数也没问题,看来是jdbc驱动的问题了。...
分类:
数据库 时间:
2014-05-21 13:39:29
阅读次数:
463