function NewDate(dateTime) { var fulldate = dateTime.split('-'); var day = fulldate[2].split(" "); var time = day[1]....
分类:
编程语言 时间:
2014-07-07 12:43:39
阅读次数:
701
$this->assign('jumpUrl',U('Index/index'));$this->success(L('login_ok'));
分类:
Web程序 时间:
2014-07-05 17:34:10
阅读次数:
221
在使用git pull、git push、git clone会报类似如下的错误:
error: The requested URL returned error: 401 Unauthorized while accessing https://git.oschina.net/zemo/demo.git/info/refs
fatal: HTTP request failed
一般...
分类:
系统相关 时间:
2014-07-04 09:27:03
阅读次数:
589
错误信息:
When I ran Hardware Event-based Sampling Analysis 0, it showed the ERROR:
Collection failed
Collection failed. The data cannot be displayed.
PMU resource(s) currently being used by...
分类:
其他好文 时间:
2014-07-03 17:12:20
阅读次数:
338
完整错误信息:Description Resource Path Location TypeType mismatch: cannot convert from Enumeration to Enumeration ResponseHeaderFilter.java /dwz-java/src/dwz/common/util line 46 Java Problem解决办法:...
分类:
其他好文 时间:
2014-07-03 16:22:55
阅读次数:
435
最近发现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
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
错误信息:
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