02 2013 档案
摘要:1、腾出二驱动 2、将DMG文件写入7GB分区内 替换7G安装文件OSInstall,OSInstall.mpkg OSInstall文件放到目录: /System/Library/PrivateFrameworks/Install.framework/Frameworks/OSInstall.framework/Versions/A/ OSInstall.mpkg 文件放目...
阅读全文
摘要:create or replace function FUN_GET_CUSTOMER_NAME_PERCENT(customerName varchar2,key varchar2) return NUMBER IS percent number;--返回百分数 like_num number;--相似度基数个数 str varchar2(500); len...
阅读全文
摘要:开发环境使用Mac OSX Mountain Lion 10.8 + Xcode 4.5.1,iOS设备需要越狱并从Cydia安装AppSync。Xcode4.5.1的安装破解详细步骤如下: 第一步,创建假证书 打开Finder,左侧边栏里找到Applications,从中找到Utilities工具夹,如图1所示。打开该Utilities工具夹并找到Keychain Access(...
阅读全文
摘要:直接执行下面的SQL语句,: --1.清空日志dump tran dbname with no_log --2.截断事务日志:backup log dbname with no_log --3.收缩数据库文件(如果不压缩,数据库的文件不会减小)dbcc shrinkdatabase(dbname) 执行过后看看日志文件是不是很小了,我一般都只有1M了。
阅读全文
摘要:NSString * constr=[NSString stringWithFormat:@"<p id='p_ImgView'><img width='300' src='file:%@' /></p>%@",[[NSBundle mainBundle] pathForResource:@"icon" ofType:@"png"],self.contentStr];[self.webVie...
阅读全文
摘要:-(NSString *) getHtmlToText:(NSString*) inputString{ NSString *result=[[NSString alloc] init]; result=inputString; NSRegularExpression *reg=[[[NSRegularExpression alloc] init] autorelease]...
阅读全文
摘要://合并字符串数组 NSString *str = [array componentsJoinedByString:@"|"]; //字符串切割成数组 NSArray *array=[str componentsSeparatedByString:@"|"]; ...
阅读全文