扯淡上一篇出了之后,有园友说,100篇出来之后黄瓜菜都凉了,想想确实是哦,100篇确实是个大量,而且目前来说写东西也就是业余时间的一个小总结,白天还要工作,晚上在做一个web系统,最近因为世界杯时间更是少的可怜。所以这一系列就当是对于移动开发的分享经验,吐槽总结吧。废话不扯了,开始今天的Demo。L...
分类:
其他好文 时间:
2014-07-16 23:05:58
阅读次数:
225
// custom selector `:findday` used to match on specified day in ms. // // The selector is passed a date in ms and elements are added to...
分类:
编程语言 时间:
2014-07-16 21:26:27
阅读次数:
177
Date.prototype.format = function(format){ var o = { "M+" : this.getMonth()+1, //month "d+" : this.getDate(), //day "h+" : t...
分类:
编程语言 时间:
2014-07-16 21:21:43
阅读次数:
251
$(document).ready(function () { var date = new Date(); var sb = ""; for (var i = 0; i '; } $("#day").innerText(sb); alert($("#day").innerText()) }) f....
分类:
Web程序 时间:
2014-07-16 21:17:52
阅读次数:
266
DATEDIFF 函数 [日期和时间]功能返回两个日期之间的间隔。语法DATEDIFF ( date-part, date-expression-1, date-expression-2 )date-part :year | quarter | month | week | day | hour |...
分类:
数据库 时间:
2014-07-13 21:54:54
阅读次数:
216
Gold Coins
Time Limit: 1000MS
Memory Limit: 30000K
Total Submissions: 20913
Accepted: 13098
Description
The king pays his loyal knight in gold coins. On the first day o...
分类:
其他好文 时间:
2014-07-13 20:45:45
阅读次数:
205
Say you have an array for which the ith element is the price of a given stock on day i.
Design an algorithm to find the maximum profit. You may complete at most two transactions.
Note:
You ma...
分类:
其他好文 时间:
2014-07-13 13:55:14
阅读次数:
305
查询本月信息:Select * FROM T_Users Where datediff(month,RegisterTime,getdate())=0 昨天的信息:SELECT * FROM T_Users where LastLoginTime>DATEADD(DAY,-2,GETDATE())....
分类:
数据库 时间:
2014-07-13 10:46:32
阅读次数:
272
Say you have an array for which the ith element is the price of a given stock on day i.
If you were only permitted to complete at most one transaction (ie, buy one and sell one share of the stock),...
分类:
其他好文 时间:
2014-07-12 17:34:34
阅读次数:
170
Say you have an array for which the ith element is the price of a given stock on day i.
Design an algorithm to find the maximum profit. You may complete as many transactions as you like (ie, buy on...
分类:
其他好文 时间:
2014-07-12 16:31:50
阅读次数:
192