I can feel that I am making great progress now.. if inspected closely, it is obvious that what I'm getting through is, a newbie phase:coding details m...
分类:
其他好文 时间:
2014-06-25 18:23:24
阅读次数:
206
今天select * from 表名 where to_days(时间字段名) = to_days(now());昨天SELECT * FROM 表名 WHERETO_DAYS( NOW( ) ) - TO_DAYS( 时间字段名) <= 17天SELECT * FROM 表名 where DATE...
分类:
数据库 时间:
2014-06-25 18:16:52
阅读次数:
286
Follow up for "Unique Paths":Now consider if some obstacles are added to the grids. How many unique paths would there be?An obstacle and empty space i...
分类:
其他好文 时间:
2014-06-25 09:17:03
阅读次数:
159
#计算两个时间的间隔
#计算间隔天数
select TIMESTAMPDIFF(day,'2014-06-01',date(now()))
#计算间隔月数
select TIMESTAMPDIFF(month,'2014-01-01',date(now()))
#计算间隔年数
select TIMESTAMPDIFF(year,'2010-01-01',date(now()))...
分类:
数据库 时间:
2014-06-24 17:07:53
阅读次数:
276
JS正则表达式获取分组内容。支持多次匹配的方式:var testStr = "now test001 test002"; var re = /test(\d+)/ig; var r = ""; while(r = re.exec(testStr)) { alert(r[0] + " " + r[1]...
分类:
Web程序 时间:
2014-06-24 11:27:32
阅读次数:
220
iOS Dev (55) 获取当前年、月、日等信息
作者:大锐哥博客:http://prevention.iteye.com
-
NSDate *now = [NSDate date];
NSCalendar *calendar = [NSCalendar currentCalendar];
NSUInteger unitFlags =
NSYearCalendarUnit...
分类:
移动开发 时间:
2014-06-22 22:39:27
阅读次数:
291
1. 登录服务器查看后,发现router的日志很大,有超过100G,导致无法打开, 决定,先重启router服务,删除日志。
2. 重启完毕router后,日志又出现了猛刷的情况,进入查看,显示
2014-06-19T20:08:25.170+0800[conn8956] end connection 10.4.1.101:7389(100 connections now...
分类:
数据库 时间:
2014-06-22 20:35:45
阅读次数:
243
Strange fuction
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 2982 Accepted Submission(s): 2202
Problem Description
Now, here ...
分类:
其他好文 时间:
2014-06-22 17:53:42
阅读次数:
221
Last night it took me about two hours to learn arrays. For the sake of less time, I did not put emphaises on the practice question, just now when reading the book, I found that some methods
referred...
分类:
其他好文 时间:
2014-06-22 17:14:10
阅读次数:
152
????用hibernate访问sybase时遇见的异常。
Could not obtain connection metadata : ASE is now using a multi-byte character set, and the TEXT character counts have not been re-calculated using this character set ...
分类:
系统相关 时间:
2014-06-22 06:19:49
阅读次数:
1188