- 博客(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
13742
原创 创建表
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
550
转载 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
1804
转载 Object2 7、对象归档
1、概念:对象归档是指将对象写入文件保存到硬盘上,当再次重新打开程序时,可以还原这些对象。也可称为对象序列化、对象持久化 2、对象持久化方式 1)数据持久性的方式 NSKeyedArchiver ----对象归档 NSUserDefaults 属性列表化 (NSArray, NSDictionary保存文件) SQlite数据库、Core Data
2013-11-25 20:40:05
663
转载 Ojbect-C2 6、NSFileHandle 和NSFileManager 的使用
Tasks Getting a File Handle + fileHandleForReadingAtPath:+ fileHandleForReadingFromURL:error:+ fileHandleForWritingAtPath:+ fileHandleForWritingToURL:error:+ fileHandleForUpdatingAtPath:+ file
2013-11-24 13:58:44
2015
转载 Ojbect-C2 5、NSSet和NSMutableSet集合的使用
Adopted Protocols NSCoding encodeWithCoder: initWithCoder: NSCopying copyWithZone: NSMutableCopying mutableCopyWithZone: NSFastEnumeration countByEnume
2013-11-07 22:11:28
890
转载 Ojbect-C2 4、NSDictionary和NSMutableDictionary字典的使用
Adopted Protocols NSCoding encodeWithCoder: initWithCoder: NSCopying copyWithZone: NSMutableCopying mutableCopyWithZone: NSFastEnumeration countByEnume
2013-11-07 21:33:29
1650
转载 Ojbect-C2 3、NSArray和NSMutableArray数组的使用
Adopted Protocols NSCoding encodeWithCoder: initWithCoder: NSCopying copyWithZone: NSMutableCopying mutableCopyWithZone: NSFastEnumeration countByEnume
2013-11-07 20:49:29
3218
转载 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
700
转载 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
2326
转载 Ojbect-C2 1、NSNumber数字的使用
1、 Creating an NSNumber Object + numberWithBool:+ numberWithChar:+ numberWithDouble:+ numberWithFloat:+ numberWithInt:+ numberWithInteger:+ numberWithLong:+ numberWithLongLong:+ numberWithSh
2013-11-06 22:24:35
730
原创 多态、动态绑定和动态类型
多态、动态绑定和动态类型 - (BOOL)isKindOfClass: (Class) aClass: 对象是不是aClass或者其子类的成员 - (BOOL)isMemberOfClass: (Class) aClass: 对象是不是aClass成员 - (BOOL)isSubclassOfClass: (Class) aClass; 对象是不是aClass的子类
2013-11-06 22:06:19
813
转载 UNIX管道和重定向功能在系统备份中的妙用
UNIX命令有三个有效的数据流:标准输入,标准输出,标准错误。 管道是从一个程序进程向另一个程序进程单向传送信息的技术。与其它形式的进程间通讯,如IPC、MESSAGE PASSING、SOCKET等不同,管道特点是单向的。通常,管道把一个进程的输出传给另一进程作为输入。在接受进程接收信息前,系统临时保留管道信息。 UNIX shell中,管道在命令行中由一个竖杠(|)表示。管道左边的
2013-10-24 12:01:25
573
原创 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
476
原创 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
698
原创 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
1469
原创 va_start(ap,fmt)
int printf(const char *fmt, ...); // 逗号,后面,即第二个参数是三个点 vsprintf 的函数原型: int vsprintf(char *s, const char *fmt, va_list arg); 你见过va_list类型了吗?好吧,我给个简单例子 #include #include int add(int n, ...); int mai
2011-12-26 15:32:30
2611
转载 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
589
原创 重新建控制文件 ORA-00205
1、在非归档中,联机重做日志文件没丢失, SQL> startup; ORACLE instance started. Total System Global Area 243269632 bytes Fixed Size 1218748 bytes Variable Size 79693636 bytes
2011-12-15 11:38:54
11715
原创 oracle 管理
1、oracle安装 录制安装脚本:runInstaller -record -destinationFile /home/oracle/myenterprise.rsp 生成这个脚本主要改路径、oracle名字、数据文件路径、库名、实例名等。 看帮助:runInstaller -help 静默方式安装数据库: runInstaller -silent -responseFile /ho
2011-12-08 20:31:49
520
原创 关于在sqlplus命令环境中执行ed命令的问题
在/u1/oracle/sqlplus/admin/glogin.sql 添加DEFINE _EDITOR=vi
2011-12-05 16:26:32
748
原创 SecureCRT远程连接Linux下的sqlplus中退格键不能使用之解决方法
在运行 sqlplus 之前运行一下这个: stty erase ^H
2011-12-05 16:21:29
911
原创 Linux测量工具
1、顶部资源消费者:top 2、System Acitity Report:sar 3、虚拟内存统计表:vmstat 4、I/O统计表:iostat 5、系统记录文件:/var/log/messages 6、监控和优化cpu工具 --top --pstree --vmstat --mpstat -p All --sar -u --xosview --xload
2011-11-22 17:26:42
813
原创 进程间通信
1、查询IPC对象 ipcs -q 只查询IPC对象中的消息队列 -s 只查询IPC对象中的信号量 -m 只查询IPC对象中的共享内存 -a 查询IPC对象的全部属性 默认 -qsm 2、删除IPC对象 ipcrm -q id 删除标识号为id的消息队列 -Q key 删除关键字为key的消息队列 -s id 删除标识号为id的信号量 -
2011-11-16 21:34:50
318
原创 tuxedo笔记1
1、work Distribution Load 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
413
转载 Oracle UTL_RAW
General Information Source {ORACLE_HOME}/rdbms/admin/utlraw.sql First Available 7.3.4 Constants Name
2011-10-09 16:46:31
1588
原创 oracle 9i 性能调优5
14、 Using Oracle Data Storage Structure Efficiently ---有效使用Oracle数据存储结构 1、创建cluster SQL> create cluster mycluster (
2011-09-06 11:29:32
477
原创 oracle建立dblink
当用户要跨本地数据库,访问另外一个数据库表中的数据时,本地数据库中必须创建了远程数据库的dblink,通过dblink本地数据库可以像访问本地数据库一样访问远程数据库表中的数据。下面讲介绍如何在本地数据库中创建dblink. 创建dblink一般有两种方式,不过在创建d
2011-08-31 00:04:00
709
原创 oracle 9i 性能调优4
十三、Using Oracle Blocks Efficiently --有效使用oracle块 1、Avoiding Dynamic Allocation SQL> exec dbms_stats.gather_table_stats('U1
2011-08-29 12:46:03
458
原创 oracle 9i、10g、11g在线文档地址
oracle 9i: http://download.oracle.com/docs/cd/B10501_01/nav/docindex.htm oracle 10g: http://www.oracle.com/pls/db102/portal.all_books
2011-08-27 20:34:45
771
原创 oracle 9i 性能调优3
九、Optimizing Sort Operations 优化排序操作 1、PGA show parameter pga_aggregate_target; show parameter workarea_size_policy; setting I
2011-08-26 23:05:11
692
原创 重新配置OEM
-bash-3.00$ emca -config dbcontrol db STARTED EMCA at Apr 24, 2008 12:01:09 PM EM Configuration Assistant, Version 10.2.0.1.0 Production
2011-08-21 23:00:45
1038
原创 oracle 9i 性能调优2
五、Tuning the Buffer Cache 1、Oracle Architecture 2、Default buffer cache db_cache_advice v$db_cache_advice select name
2011-08-21 16:53:59
648
原创 oracle 9i 性能调优1
二、Diagnostic and Tuning Tools 1、Tuning Components SQL> show parameter log_ch NAME TYPE
2011-08-20 10:45:56
719
原创 oracle pl/sql笔记
oracle pl/sql笔记 I 、Instoduction 1、Instoduction to pl/sql 1)pl/sql block Structure declare begin --statements exce
2011-08-17 16:50:31
399
原创 oracle 笔记8(Fundamentals II)
十五、RMAN Incomplete Recovery 1、The Procedure (1) Mount the database (2) Allocate multiple channels for parallelization (3) Restore all
2011-08-16 14:35:26
418
原创 oracle 笔记7(Fundamentals II)
Logminer 1、Backup database 2、Modify spfile SQL>alter system set utl_file_dir='/u01/lin' scope =spfile; 3、Restart database 4、Manipulat
2011-08-16 01:02:25
359
原创 oracle 笔记6(Fundamentals II)
十三、RMAN Complete Recovery 1、RMAN RECOVERY RMAN> list backup; RMAN> backup database format '/u01/backup/wb_%U'; 启动 backup
2011-08-15 12:56:34
395
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人