参考http://www.zation.me/2013/05/28/build_offline_mobile_web_app.html他的事件总结的比较好checking:客户端正在检查manifest文件的更新,或者尝试下载manifest文件时触发。注意:这个事件总是首先触发的。noupdate...
分类:
移动开发 时间:
2014-07-10 11:46:15
阅读次数:
200
今天在还原数据库的时候,在ssms用以下代码还原数据库:RESTORE DATABASE [TEST] FROM DISK = N'D:\TEST.BAK' WITH FILE = 1, MOVE N'TEST' TO N'C:\Program Files\Microsoft SQL Serv...
分类:
数据库 时间:
2014-07-10 11:36:13
阅读次数:
298
Given amxnmatrix, if an element is 0, set its entire row and column to 0. Do it in place.click to show follow up.Follow up:Did you use extra space?A s...
分类:
其他好文 时间:
2014-06-28 09:55:50
阅读次数:
205
【问题】
Sort a linked list in O(n log n)
time using constant space complexity.
【代码】
# Definition for singly-linked list.
# class ListNode:
# def __init__(self, x):
# self.val = x
# ...
分类:
编程语言 时间:
2014-06-28 08:29:23
阅读次数:
222
Determine whether an integer is a palindrome. Do this without extra space.
分类:
其他好文 时间:
2014-06-27 12:28:06
阅读次数:
228
$$\bex q>3\ra \sen{\n f}_{L^\infty} \leq C(q)\sez{ 1+\sen{\n f}_{BMO} \ln^\frac{1}{2}\sex{e+\sen{\n f}_{W^{1,q}}+\sen{f}_{L^\infty}} }. \eex$$ $$\bex ...
分类:
其他好文 时间:
2014-06-27 11:12:18
阅读次数:
132
(1) $$\bex \sen{D^k f}_{\dot B^s_{p,q}}\sim \sen{f}_{\dot B^{s+k}_{p,q}}. \eex$$ (2) $$\beex \bea &\quad s>0,\ q\in [1,\infty],\quad p_1,r_1\in [1,\in...
分类:
其他好文 时间:
2014-06-27 11:03:38
阅读次数:
229
Given a string s consists of upper/lower-case alphabets and empty space characters ' ', return the length of last word in the string.
If the last word does not exist, return 0.
Note: A word is d...
分类:
其他好文 时间:
2014-06-27 10:18:32
阅读次数:
151
1、检查net-snmp是否支持IO监控snmpwalk-v1-c
public监控机的IPUCD|more执行如上命令,如果返回类似如下数据,则表示支持disk
io的监控,否则需要重新编译增加diskio-module模块。1.UCD-DISKIO-MIB::diskIOIndex.1=INTEGER:
12.UCD-DISKIO-MIB::diskIOIndex.2=INTEGER:23.UCD-D..
分类:
其他好文 时间:
2014-06-27 06:42:20
阅读次数:
396
某个功能不能使用,从内网访问这个API出现memorygatescheckingfailed。如下图所示,正如上图所说,激活wcf最小内存不够,加minFreeMemoryPercentageToActivateService="0"。恢复正常访问如下图所示,为了以后预防这种问题再次发生,暂时有两种解决方法可选:1、服务器增加内存..
分类:
Web程序 时间:
2014-06-27 06:16:28
阅读次数:
449