原文地址:http://antirez.com/news/52Hello! As
promised today I did some SSD testing.The setup: a Linux box with 24 GB of RAM,
with two disks.A) A spinning ...
分类:
其他好文 时间:
2014-05-26 10:24:56
阅读次数:
427
由于android应用安装在手机的rom或sdcard中,当没有sdcard的时候,会出现这种错误AndroidManifest.xml中配置此行是配置让Android系统自行决定应用的安装位置。
分类:
移动开发 时间:
2014-05-26 10:03:56
阅读次数:
260
////html[1]/body[1]/div[9]/div[1]/div[1]/div[1]/ul/li
截取规则Articles/Article[1]:选取属于Articles子元素的第一个Article元素。/Articles/Article[last()]:选取属于Articles子元素的最...
分类:
其他好文 时间:
2014-05-26 09:03:19
阅读次数:
260
1 iOS制做服务器的推送证书 a 请求证书 b 导出密钥 c 制做推送ssl certificate
d
制做服务器用的证书1、Push.certSigningRequest2、Push.p123、aps_developer_identity.cer终端1、将aps_developer_ident...
分类:
其他好文 时间:
2014-05-26 07:48:45
阅读次数:
293
新建个UINavigationController的类别:
#import "UINavigationController+CustomAnimation.h"
@implementation UINavigationController (CustomAnimation)
- (void)customPushViewController:(UIViewContr...
分类:
移动开发 时间:
2014-05-26 05:33:19
阅读次数:
381
Background
Some concepts in Mathematics and Computer Science are simple in one or two dimensions but become more complex when extended to arbitrary dimensions. Consider solving differential equations...
分类:
其他好文 时间:
2014-05-26 04:31:34
阅读次数:
234
获取指定元素的兄弟元素时,可以使用adjacent sibling combinator (+),其中+的两侧内容都是selector expression.
如果要获取下例中所有的 h1的直接兄弟元素h2
Main title
Section title
Some content...
Section title
More content...
...
分类:
Web程序 时间:
2014-05-26 03:17:52
阅读次数:
305
1.//下面写一下关于AFNetworking2.0的GET数据请求问题,刚开始的时候没有写下面标红的代码,所以导致有一个问题,错误显示如下:
Error: Error Domain=AFNetworkingErrorDomain Code=-1016 "Request failed: unacceptable content-type: text/html" UserInfo=0x913a...
分类:
Web程序 时间:
2014-05-24 23:45:53
阅读次数:
365
第6章 使用库算法
本章中主要教我们如何使用几个库算法来解决与处理字符串和学生成绩相关的问题。
1、分析字符串
使用一个循环来连接两幅字符图案
for(vector::const_iterator it = bottom.begin(); it != bottom.end(); ++it)
ret.push_back(*it);
等价于
ret.insert(ret.end(...
分类:
编程语言 时间:
2014-05-24 20:24:10
阅读次数:
365
模板与泛型编程--模板特化[续]三、特化成员而不特化类 除了特化整个模板之外,还可以只特化push和pop成员。我们将特化push成员以复制字符数组,并且特化pop成员以释放该副本使用的内存:template<>
void Queue::push(const char *const &val)
{
char *new_item = new char[sizeof(val) + 1];
...
分类:
编程语言 时间:
2014-05-24 14:16:21
阅读次数:
339