摘要:
一、传统文件系统可以理解成两部分:1、真正的storage区,被分割成n个扇区;2、文件系统,其实就是一个FAT表。二、Dropbox的文件系统例如,一个modeo.mov的文件,大小为15M。它的做法是,将其切割,每块的大小<=4M。则切割成b1,b2,b3,b4这四块,然后用SHA-256分别对... 阅读全文
摘要:
Classic Bluetooth Profile for iPhone from the functional perspectives BTLE (Bluetooth Low Energy) Profile for iPhone from the functional perspectives 阅读全文
摘要:
一、查看歌词http://baike.baidu.com/view/7925491.htm二、考量歌词1、我告诉自己你就是我的挚爱但你的陪伴却让我倍感孤单但那就是爱 让我刻骨铭心难以忘怀既然是挚爱,为什么对TA的陪伴会倍感孤单呢?站在我的角度理解挚爱,应该TA能够让我畅所欲言,彼此能够进行深层次的对... 阅读全文
摘要:
1.将运行目标选为iOS Device;2.xcode->product->Edit Scheme->Run xxx.app->Build Configuration设置为Release;3.xcode->product->archive,此时project->Build Settings->code sign需要为有效的profile,才能成功;4.Orgnizer->Archives->Distribute->Export as Xcode Archive,选择存储路径,保持此归档文件(假如此归档文件的名字是AAA);5.将 阅读全文
摘要:
一、obj-c--->JS通信NSString *path = [[NSBundlemainBundle] pathForResource:@"xxxx" ofType:@"html" inDirectory:@"xxx"]; NSURL *url = [NSURL fileURLWithPath:path]; NSString *theAbsoluteURLString = [url absoluteString]; NSString *queryString = @"需要传进html中的参数"; ... 阅读全文
摘要:
1:InstallSIMBL(plugin enabler):http://www.culater.net/software/SIMBL/SIMBL.php2:Install theTerminalTabSwitching.bundlegit clone https://github.com/dabeeeenster/terminaltabswitchingcp -r terminaltabswitching/TerminalTabSwitching.bundle "/Library/Application Support/SIMBL/Plugins"3:Restart t 阅读全文
摘要:
http://blog.csdn.net/hustpzb/article/details/7287948 阅读全文
摘要:
a.ARC中不要retain,release,autorelease,dealloc method.创建自动释放池@ autoreleasepool{}。其本质为:本该你去release某个对象的代码,交由编译器去写。b.__weak __strong指明重写修饰对象的getter和setter方法.c.ARC对Core Foundation对象不做处理,想将其与ARC结合,用CFBridgingRetain、CFBridgingRelease、__bridge(transfers a pointer between Objective-C and Core Foundation with n 阅读全文
摘要:
http://www.idownloadblog.com/2012/01/23/install-mobile-terminal/ 阅读全文