背景:实验室的数据需要将搭建的UCSC Genome Browser进行备份,gbdb文件夹和mysql数据库文件夹总数据量将近10T,使用普通的tar和gzip进行压缩的话非常耗时。解决方法:使用pigz软件进行压缩。A parallel implementation of gzip for mo...
分类:
其他好文 时间:
2015-06-06 19:31:55
阅读次数:
1129
1:添加LocalAuthentication.framework框架2:实现过程#import "ViewController.h"#import @interface ViewController ()@end@implementation ViewController- (void)viewD...
分类:
移动开发 时间:
2015-06-06 10:29:50
阅读次数:
155
大家都熟悉文件系统,在对HDFS进行分析前,我们并没有花很多的时间去介绍HDFS的背景,毕竟大家对文件系统的还是有一定的理解的,而且也有很好的文档。在分析Hadoop的MapReduce部分前,我们还是先了解系统是如何工作的,然后再进入我们的分析部分。下面的图来自http://horicky.blogspot.com/2008/11/hadoop-mapreduce-implementation....
分类:
其他好文 时间:
2015-06-05 17:40:20
阅读次数:
118
The __super keyword allows you to explicitly state that you are calling a base-class implementation for a function that you are overriding. All accessible base-class methods are considered during the...
分类:
其他好文 时间:
2015-06-05 15:43:54
阅读次数:
131
#import "Dog.h"
@implementation Dog
- (id)copyWithZone:(NSZone *)zone
{
Dog *dog = [[Dog
allocWithZone:zone]
init];
dog.name =
self.name;
return dog;
}...
分类:
其他好文 时间:
2015-06-05 12:20:27
阅读次数:
129
#import "AppDelegate.h"#import "GexinSdk.h"#import "ViewController.h"@interface AppDelegate (){ GexinSdk *_gexinSdk;}@end@implementation AppDelegate/....
分类:
移动开发 时间:
2015-06-05 09:59:16
阅读次数:
177
多线程中的单例 1 #import "DemoObj.h" 2 3 @implementation DemoObj 4 5 static DemoObj *instance; 6 7 8 9 // 在iOS中,所有对象的内存空间的分配,最终都会调用allocWithZone方法10 // ...
分类:
移动开发 时间:
2015-06-05 00:24:36
阅读次数:
136
This problem is somewhat tricky at first glance. However, the final implementation is fairly straight-forward.The basic idea is, visiting every possib...
分类:
其他好文 时间:
2015-06-04 11:20:25
阅读次数:
166
本节条款相对简单,通俗的意思就是说 “有一个”和“是一个”的区别,以及在应用域(application domain)和实现域之间的区别(implementation domain)。
如下代码:1.class Bird//鸟
{
public:
//............
};class ostrich:public Bird//鸵鸟
{
public:
//............
分类:
编程语言 时间:
2015-06-02 11:19:21
阅读次数:
169
Xposed出现 java.lang.IllegalAccessError: Class ref in pre-verified class resolved to unexpected implementation的解决方法第一次在Xposed的框架下编写模块,在官方给的tutorial上就出现了...
分类:
数据库 时间:
2015-06-01 20:10:32
阅读次数:
316