- 博客(63)
- 资源 (1)
- 收藏
- 关注
转载 iOS duplicate symbols for architecture i386
Xcode添加静态库以及编译选项配置常见问题一,Xcode编译出现Link错误,出现"duplicate symbols for architecture i386 clang"提示.问题:链接时,项目有重名文件.解决:根据错误提示,做如下检查:1.Taraget->Build Settings->Link Binary With Libraries检查是否
2014-09-02 00:00:14 13659
原创 创建表
alter table sensitive_items storage (next 1M);drop index i_sensitive_items;alter table sensitive_items add constraint pk_sensitive_items primary key (item_no) using index storage (initial 1M next
2014-08-25 16:51:46 493
转载 oracle sql 批量更新 [转]
update table1 set town=(select town from table2 where table2 .id=table1.id) where exists (select 1 from table2 where table2 .id=table1.id) update table1 set town = (select
2014-07-24 16:49:13 1725
转载 Object2 7、对象归档
1、概念:对象归档是指将对象写入文件保存到硬盘上,当再次重新打开程序时,可以还原这些对象。也可称为对象序列化、对象持久化2、对象持久化方式 1)数据持久性的方式 NSKeyedArchiver ----对象归档 NSUserDefaults 属性列表化 (NSArray, NSDictionary保存文件) SQlite数据库、Core Data
2013-11-25 20:40:05 606
转载 Ojbect-C2 6、NSFileHandle 和NSFileManager 的使用
TasksGetting a File Handle+ fileHandleForReadingAtPath:+ fileHandleForReadingFromURL:error:+ fileHandleForWritingAtPath:+ fileHandleForWritingToURL:error:+ fileHandleForUpdatingAtPath:+ file
2013-11-24 13:58:44 1928
转载 Ojbect-C2 5、NSSet和NSMutableSet集合的使用
Adopted ProtocolsNSCodingencodeWithCoder:initWithCoder:NSCopyingcopyWithZone:NSMutableCopyingmutableCopyWithZone:NSFastEnumerationcountByEnume
2013-11-07 22:11:28 827
转载 Ojbect-C2 4、NSDictionary和NSMutableDictionary字典的使用
Adopted ProtocolsNSCodingencodeWithCoder:initWithCoder:NSCopyingcopyWithZone:NSMutableCopyingmutableCopyWithZone:NSFastEnumerationcountByEnume
2013-11-07 21:33:29 1578
转载 Ojbect-C2 3、NSArray和NSMutableArray数组的使用
Adopted ProtocolsNSCodingencodeWithCoder:initWithCoder:NSCopyingcopyWithZone:NSMutableCopyingmutableCopyWithZone:NSFastEnumerationcountByEnume
2013-11-07 20:49:29 3149
转载 xcode快捷键
以下内容转自互联网:http://www.linuxidc.com/Linux/2012-08/67905.Xcode常用快捷键,网上找的总结一下,特别是格式化代码隐藏xcode command+h退出xcode command+q关闭窗口 command+w关闭所有窗口 command+option+w关闭当前项目 command+control+w关
2013-11-07 19:54:58 660
转载 Ojbect-C2 2、NSString和NSMutableString字符串的使用
Creating and Initializing Strings+ string– init– initWithBytes:length:encoding:– initWithBytesNoCopy:length:encoding:freeWhenDone:– initWithCharacters:length:– initWithCharactersNoCopy:length:free
2013-11-06 22:32:59 2262
转载 Ojbect-C2 1、NSNumber数字的使用
1、Creating an NSNumber Object+ numberWithBool:+ numberWithChar:+ numberWithDouble:+ numberWithFloat:+ numberWithInt:+ numberWithInteger:+ numberWithLong:+ numberWithLongLong:+ numberWithSh
2013-11-06 22:24:35 668
原创 多态、动态绑定和动态类型
多态、动态绑定和动态类型- (BOOL)isKindOfClass: (Class) aClass: 对象是不是aClass或者其子类的成员- (BOOL)isMemberOfClass: (Class) aClass: 对象是不是aClass成员- (BOOL)isSubclassOfClass: (Class) aClass; 对象是不是aClass的子类
2013-11-06 22:06:19 770
转载 UNIX管道和重定向功能在系统备份中的妙用
UNIX命令有三个有效的数据流:标准输入,标准输出,标准错误。管道是从一个程序进程向另一个程序进程单向传送信息的技术。与其它形式的进程间通讯,如IPC、MESSAGE PASSING、SOCKET等不同,管道特点是单向的。通常,管道把一个进程的输出传给另一进程作为输入。在接受进程接收信息前,系统临时保留管道信息。UNIX shell中,管道在命令行中由一个竖杠(|)表示。管道左边的
2013-10-24 12:01:25 524
原创 ubuntu安装windows 字体
1 拷贝微软字体到桌面的windows7fonts文件:2 sudo gnome-open /usr/share/fonts ———————打开fonts文件夹3 拷贝windows7fonts到文件夹内 ———————直接拉进去就可以了 if 自动配置__> ok,stop here.OR_________>>sudo cd /usr/share/fonts———
2012-01-01 00:45:40 426
原创 linux I/O操作 ---流文件
一、打开和关闭流FILE * fopen(const char * pathname, const char * mode);FILE * freopen(const char * pathname, const char * mode, FILE * fp);FILE * fdopen(int fd, const char * mode);int fclose(FILE *fp)
2011-12-30 16:51:24 644
原创 linux下文件编辑
1、基本I\O操作函数int open(const char* pathname, int flags, .../* mode_t mode */);int close(int fd);ssize_tread(int fd, void *buf, size_t count);ssize_t write(int fd, void *buf, size_t count);int
2011-12-30 11:05:22 1419
原创 va_start(ap,fmt)
int printf(const char *fmt, ...); // 逗号,后面,即第二个参数是三个点vsprintf 的函数原型:int vsprintf(char *s, const char *fmt, va_list arg);你见过va_list类型了吗?好吧,我给个简单例子#include#includeint add(int n, ...);int mai
2011-12-26 15:32:30 2524
转载 Linux下的分区工具
原帖及讨论:http://bbs.bccn.net/thread-214078-1-1.html[root@localhost gxlinux]# df -Th#查看已经挂载上的文件分区大小以及格式(当然你的系统必须有空闲的空间不用了)文件系统 类型 容量 已用 可用 已用% 挂载点/dev/sda1 ext3 2.9G 2.2G 505M
2011-12-20 23:12:45 544
原创 重新建控制文件 ORA-00205
1、在非归档中,联机重做日志文件没丢失,SQL> startup;ORACLE instance started.Total System Global Area 243269632 bytesFixed Size 1218748 bytesVariable Size 79693636 bytes
2011-12-15 11:38:54 11609
原创 oracle 管理
1、oracle安装录制安装脚本:runInstaller -record -destinationFile /home/oracle/myenterprise.rsp生成这个脚本主要改路径、oracle名字、数据文件路径、库名、实例名等。看帮助:runInstaller -help静默方式安装数据库: runInstaller -silent -responseFile /ho
2011-12-08 20:31:49 486
原创 关于在sqlplus命令环境中执行ed命令的问题
在/u1/oracle/sqlplus/admin/glogin.sql添加DEFINE _EDITOR=vi
2011-12-05 16:26:32 697
原创 SecureCRT远程连接Linux下的sqlplus中退格键不能使用之解决方法
在运行 sqlplus 之前运行一下这个: stty erase ^H
2011-12-05 16:21:29 862
原创 Linux测量工具
1、顶部资源消费者:top2、System Acitity Report:sar3、虚拟内存统计表:vmstat4、I/O统计表:iostat5、系统记录文件:/var/log/messages6、监控和优化cpu工具 --top--pstree--vmstat--mpstat -p All--sar -u--xosview--xload
2011-11-22 17:26:42 735
原创 进程间通信
1、查询IPC对象ipcs-q 只查询IPC对象中的消息队列-s 只查询IPC对象中的信号量-m 只查询IPC对象中的共享内存-a 查询IPC对象的全部属性默认 -qsm2、删除IPC对象ipcrm-q id 删除标识号为id的消息队列-Q key 删除关键字为key的消息队列-s id 删除标识号为id的信号量-
2011-11-16 21:34:50 282
原创 tuxedo笔记1
1、work DistributionLoad Balancing: Request is queued to least busy server.Multiple Server Single Queue(MSSQ) set: similar to having a single customer line in a bank versus multiple lines.Data De
2011-11-16 11:12:15 371
转载 Oracle UTL_RAW
General InformationSource{ORACLE_HOME}/rdbms/admin/utlraw.sqlFirst Available7.3.4ConstantsName
2011-10-09 16:46:31 1540
原创 oracle 9i 性能调优5
14、 Using Oracle Data Storage Structure Efficiently ---有效使用Oracle数据存储结构1、创建clusterSQL> create cluster mycluster (
2011-09-06 11:29:32 429
原创 oracle建立dblink
当用户要跨本地数据库,访问另外一个数据库表中的数据时,本地数据库中必须创建了远程数据库的dblink,通过dblink本地数据库可以像访问本地数据库一样访问远程数据库表中的数据。下面讲介绍如何在本地数据库中创建dblink. 创建dblink一般有两种方式,不过在创建d
2011-08-31 00:04:00 633
原创 oracle 9i 性能调优4
十三、Using Oracle Blocks Efficiently --有效使用oracle块1、Avoiding Dynamic AllocationSQL> exec dbms_stats.gather_table_stats('U1
2011-08-29 12:46:03 403
原创 oracle 9i、10g、11g在线文档地址
oracle 9i:http://download.oracle.com/docs/cd/B10501_01/nav/docindex.htmoracle 10g:http://www.oracle.com/pls/db102/portal.all_books
2011-08-27 20:34:45 695
原创 oracle 9i 性能调优3
九、Optimizing Sort Operations优化排序操作1、PGAshow parameter pga_aggregate_target;show parameter workarea_size_policy;setting I
2011-08-26 23:05:11 648
原创 重新配置OEM
-bash-3.00$ emca -config dbcontrol dbSTARTED EMCA at Apr 24, 2008 12:01:09 PMEM Configuration Assistant, Version 10.2.0.1.0 Production
2011-08-21 23:00:45 967
原创 oracle 9i 性能调优2
五、Tuning the Buffer Cache1、Oracle Architecture 2、Default buffer cachedb_cache_advicev$db_cache_adviceselect name
2011-08-21 16:53:59 606
原创 oracle 9i 性能调优1
二、Diagnostic and Tuning Tools1、Tuning ComponentsSQL> show parameter log_chNAME TYPE
2011-08-20 10:45:56 664
原创 oracle pl/sql笔记
oracle pl/sql笔记I 、Instoduction1、Instoduction to pl/sql1)pl/sql block Structuredeclarebegin--statementsexce
2011-08-17 16:50:31 364
原创 oracle 笔记8(Fundamentals II)
十五、RMAN Incomplete Recovery1、The Procedure(1) Mount the database(2) Allocate multiple channels for parallelization(3) Restore all
2011-08-16 14:35:26 374
原创 oracle 笔记7(Fundamentals II)
Logminer1、Backup database2、Modify spfileSQL>alter system set utl_file_dir='/u01/lin' scope =spfile;3、Restart database4、Manipulat
2011-08-16 01:02:25 319
原创 oracle 笔记6(Fundamentals II)
十三、RMAN Complete Recovery1、RMAN RECOVERYRMAN> list backup;RMAN> backup database format '/u01/backup/wb_%U';启动 backup
2011-08-15 12:56:34 350
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人