function NewDate(dateTime) { var fulldate = dateTime.split('-'); var day = fulldate[2].split(" "); var time = day[1]....
分类:
编程语言 时间:
2014-07-07 12:43:39
阅读次数:
701
关于Http 的method:GETAsks to get the thing (resource / file) at the requested URL.POSTAsks the server to accept the body info attached to the request, an...
分类:
其他好文 时间:
2014-07-02 23:42:07
阅读次数:
215
最近发现myeclipse10中有几处bug 比如: Cannot return from outside a function or methodonClick="return check();"出现错误等等 本人略总结了一点小方法,供参考: 方法一:window -->preferences ....
分类:
系统相关 时间:
2014-07-02 19:47:38
阅读次数:
307
string有个成员函数,assign()可以这样:1 string str;2 str.assign(temp, sizeof(temp));
分类:
其他好文 时间:
2014-07-02 17:23:54
阅读次数:
229
Given a string containing only digits, restore it by returning all possible valid IP address combinations.
分类:
其他好文 时间:
2014-07-02 14:45:41
阅读次数:
220
1、断言
let age = -3
assert(age >= 0, "A person's age cannot be less than zero")
// 因为 age
2、Swift赋值符(=)不返回值,以防止把想要判断相等运算符(==)的地方写成赋值符导致的错误。数值运算符(+,-,*,/,%等)会检测并不允许值溢出。
3、在对负数b求余时,b的符号会被忽略。这意味着 a %...
分类:
其他好文 时间:
2014-07-02 11:46:51
阅读次数:
286
@interface FirstViewController ()
@property (nonatomic,assign)BOOL isplay;
@end
@implementation FirstViewController
@synthesize isplay;
- (void)viewDidLoad
{
[super
viewDid...
分类:
其他好文 时间:
2014-07-02 10:47:22
阅读次数:
191
疯狂的暑假学习之 汇编入门学习笔记 (二)
参考:《汇编语言》 王爽 第三章
一、寄存器(内存访问)
1.DS和[address]
DS 数据段寄存器,用来存放数据段地址
[address] 用来表示数据段的偏移地址
同样跟CS一样,不可以通过 mov ds, 1000 给ds赋值
要通过通用寄存...
分类:
其他好文 时间:
2014-07-02 09:26:22
阅读次数:
196
错误信息:
Error
Cannot display data
The data cannot be displayed: there is no viewpoint application for the data
错误出现情景:
在对程序做Hardware Event-based Sampling Analysis 0分析时,出现上述错误。
错误解决方法:
删...
分类:
其他好文 时间:
2014-07-02 09:02:56
阅读次数:
337
ERROR 1665 (HY000): Cannot executestatement: impossible to write to binary log since BINLOG_FORMAT = STATEMENTand at least one table uses a storage engine limited to row-based logging.InnoDB is limited to row-logging when transaction isolation level is REA...
分类:
数据库 时间:
2014-07-02 07:46:46
阅读次数:
322