首页 > 其他
Difference between val() and text()
.val()works on input elements (or any element with a value attribute?) and.text()will not work on input elements..val()gets the value of the input ele...
分类:其他   时间:2015-10-14 17:45:40    收藏:0  评论:0  赞:0  阅读:221
PropertyChangedCallback 只触发了一次?
PropertyChangedCallback 只触发了一次?
分类:其他   时间:2015-10-14 17:45:20    收藏:0  评论:0  赞:0  阅读:301
UIDatePikcer的基本用法
- (void)viewDidLoad{ [super viewDidLoad]; _datePicker = [[UIDatePicker alloc] initWithFrame:CGRectMake(0, 100, 320, 400)];// 设置picker显示的样式 _dateP...
分类:其他   时间:2015-10-14 17:45:10    收藏:0  评论:0  赞:0  阅读:215
hdu3480二维斜率优化DP
DivisionTime Limit: 10000/5000 MS (Java/Others)Memory Limit: 999999/400000 K (Java/Others)Total Submission(s): 2664Accepted Submission(s): 1050Problem...
分类:其他   时间:2015-10-14 17:45:00    收藏:0  评论:0  赞:0  阅读:101
radio和label关联问题,点击label改变颜色
$(function () { $("#fangan :radio[name='price']").bind('click', function (event) { //$(this).next().attr("class", "on"); $("input[nam...
分类:其他   时间:2015-10-14 17:44:50    收藏:0  评论:0  赞:0  阅读:211
alpha,hidden,opaque的一些认识
如果opaque设置为YES,那么视图会被当做全视图来对待,系统会重绘整个视图如果opaque设置为NO,那么系统会减少开销,以其中的内容来判定重绘的视图如果把视图的背景色设置为透明那个,那么opaque最好设置为NO,减少开销self.backgroundColor = [UIColor clea...
分类:其他   时间:2015-10-14 17:44:40    收藏:0  评论:0  赞:0  阅读:217
正则表达式验证集合
例子://验证是否是手机号+(BOOL) validateMobile:(NSString *)mobile{ //手机号以13, 15,18开头,八个 \d 数字字符 NSString *phoneRegex = @"^((13[0-9])|(15[^4,\\D])|(17[0-9])|(18[0...
分类:其他   时间:2015-10-14 17:44:20    收藏:0  评论:0  赞:0  阅读:157
重复造轮之权限管理系统
断断续续写了好一阵子,终于有个雏形了,虽然很简陋,但是代码是自己一行行敲出来的,思路也是一丝丝捋出来的,期间参阅了园子里其他大神的想法,在此感谢分享!系统是采用的MVC4+EasyUI,定位于小系统,因此,接口编程、依赖注入等相关技术采用的比较少,怎么灵活怎么来,怎么方便编写代码怎么来,如果后面有需...
分类:其他   时间:2015-10-14 17:44:00    收藏:0  评论:0  赞:0  阅读:179
编译x11版本qt
用buildroot 选择x11相关 在选择qt x11版本 export PATH=~/buildroot/output/host/usr/bin:$PATH 进入~/buildroot/output/build/qt-4.8.7/examples/desktop/screenshot qmake...
分类:其他   时间:2015-10-14 17:43:40    收藏:0  评论:0  赞:0  阅读:246
POJ 2774 Long Long Message
题意:给两个字符串,求公共连续子串的长度。解法:后缀数组。看大白学了一下,讲的还挺详细的……不过还有一些细节没弄懂……赛后再学吧……先把模板用明白再说……sa[i]表示将字符串的后缀排序后排名第i的字符串序号。rank[i]表示第i个后缀在sa中的下标。height[i]表示sa[i]和sa[i -...
分类:其他   时间:2015-10-14 17:43:20    收藏:0  评论:0  赞:0  阅读:220
查看iis错误日志时提示找不到 freb.xsl的解决方法
http://stackoverflow.com/questions/786638/how-can-i-get-gzip-compression-in-iis7-working/787251Look in c:\inetpub\logs\FailedReqLogFiles\w3svcx. You w...
分类:其他   时间:2015-10-14 17:43:10    收藏:0  评论:0  赞:0  阅读:505
prop和attr的区别
园子里很多大牛都介绍,这里我只记录自己做项目遇到的区别:对于自定义的属性,测试发现只能使用attr来获取。例子:$("#myc").attr("cus");//123$("#myc").prop("cus");//undefined
分类:其他   时间:2015-10-14 17:42:40    收藏:0  评论:0  赞:0  阅读:403
对scott中emp表进行各种操作
1,显示每个雇员的年工资select sal*12 年工资 from emp;2,显示每个雇员的年收入select empno,ename,(sal+nvl(comm,0))*12 年收入 from emp;3,显示工资高于3000的员工select empno,ename,sal from emp...
分类:其他   时间:2015-10-14 17:41:40    收藏:0  评论:0  赞:0  阅读:387
request.getRequestDispatcher("").forward()中文乱码
即使jsp页面的编码已设为“UTF-8”,有中文的地方还是会出现乱码,但是用response.sendRedirect不会出现此问题。解决方案一:不使用PrintWriter out=response.getWriter();,把它注释掉。解决方案二:在使用PrintWriter out=respo...
分类:其他   时间:2015-10-14 17:41:30    收藏:0  评论:0  赞:0  阅读:312
saiku - 免登陆进入管理后台
上一篇分析了介绍了如何简化和修改saiku的界面【http://www.cnblogs.com/avivaye/p/4877882.html】这一篇说明下如何去掉免登陆进入saiku 管理台1、修改applicationContext-saiku-webapp.xml 2、在saiku-beans....
分类:其他   时间:2015-10-14 17:41:00    收藏:0  评论:0  赞:0  阅读:214
vijosP1629 八
vijosP1629 八链接:https://vijos.org/p/1629【思路】 暴力容斥(看他们都这么叫=_=)+精度选择。总体思路是先统计LR区间内满足是8倍数的数目ans,再从ans中减去区间里8和一个a 的lcm的倍数的数目,再加上8和2个a的lcm的倍数,再减去…… 因为n最大为15...
分类:其他   时间:2015-10-14 17:40:00    收藏:0  评论:0  赞:0  阅读:190
压缩图片
1 /// 2 /// 压缩图片 3 /// 4 /// 图片字节数组 5 /// 压缩质量0-100之间,数值越大质量越高 6 /// 7 public static byte[] Compre...
分类:其他   时间:2015-10-14 17:39:10    收藏:0  评论:0  赞:0  阅读:312
const char **
foo (const char **p){ }main (int argh,char **argv){ foo(argv);}warning : argument is incompatible with prototype(参数与原型不匹配)赋值合法条件:两个操作数都是指向有限定词或无限定词的.....
分类:其他   时间:2015-10-14 17:38:40    收藏:0  评论:0  赞:0  阅读:204
3Sum Closest
称号Given an arraySofnintegers, find three integers inSsuch that the sum is closest to a given number, target. Return the sum of the three integers. You...
分类:其他   时间:2015-10-14 17:38:30    收藏:0  评论:0  赞:0  阅读:178
最小化安装centos的init初始化脚本
#!/bin/bash#this script is appropriate for minimize installation system centos or linux 6.x(这脚本适合最小化安装6.x版本的系统)#you have already install the osread -....
分类:其他   时间:2015-10-14 17:37:50    收藏:0  评论:0  赞:0  阅读:159
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!