TilingTime Limit: 1000MSMemory Limit:
65536KTotal Submissions: 7264Accepted: 3528DescriptionIn how many ways can you
tile a 2xn rectangle by 2x1 or 2x...
分类:
其他好文 时间:
2014-05-17 15:07:20
阅读次数:
245
response 为HttpResponse对象,request为HttpRequest对象
Cookies 设置Cookies response.set_cookie("cookie_key","value") 获取Cookies value =
request.COOKIES["cookie_k...
分类:
其他好文 时间:
2014-05-16 01:01:02
阅读次数:
299
//在Activity应用元素。
ActivityInfo info = this.getPackageManager()
.getActivityInfo(getComponentName(),PackageManager.GET_META_DATA);
info.metaData.getString("meta_name");
//在appli...
分类:
移动开发 时间:
2014-05-15 23:58:55
阅读次数:
798
案例1:查询表A数据,如果某个列(PARAM_VALUE)值太长,前台不好显示,就只取前20个字符;鼠标悬浮时再用层显示全部值;
sql写法:
select
m.PARAM_VALUE as PARAM_VALUE,
decode(sign(length(m.PARAM_VALUE)-20),1,CONCAT(SUBSTR(m.PARAM_VALUE,0,20),'...'),m.PARAM...
分类:
数据库 时间:
2014-05-15 23:53:08
阅读次数:
625
iOS6 and Later改变UITextField 中占位符
提示文本的文字颜色在新版本中(iOS6以后)iOS提供一种 Key = value 属性的方式,来改变UI的属性内容。以UITextField为例
@property(nonatomic,copy) NSAttributedStri....
分类:
其他好文 时间:
2014-05-15 22:43:48
阅读次数:
436
jquery对select下拉框的操作总结。。。1、通过索引值去设置select中的option的value和textvarindex=1;varval="该改为的值";$("#selectIdoption:eq("+index+")").attr("selected",true);$("#selectIdoption:selected").val(val);$("#selectIdoption:selected").text(val);
分类:
Web程序 时间:
2014-05-15 19:00:51
阅读次数:
314
Document
function validate() {
if(loginform.username.value == ""){
alert("账号不能为空!");
return;
}
if(loginform.password.value == ""){
alert("密码不能为空!");
return;
}
loginform.submit...
分类:
Web程序 时间:
2014-05-15 18:39:01
阅读次数:
501
介绍ViewFlipper
ViewFlipper
Simple ViewAnimator that will animate between two or more views that have been added to it. Only one child is shown at a time. If requested, can automatically flip betwee...
分类:
其他好文 时间:
2014-05-15 18:37:44
阅读次数:
356
opCookie:function(){ var setCookie= function
(name,value) { var Days = 30; var exp = new Date(); exp.setTime(exp.getTime() +
D...
分类:
Web程序 时间:
2014-05-15 17:38:12
阅读次数:
406
一 RAC环境RAC架构,2节点信息节点1SQL> show parameter
instanceNAME TYPE VALUE------------------------------------ -----------
-------------------------------------...
分类:
数据库 时间:
2014-05-15 17:08:21
阅读次数:
521