1.新建xx.pch 2.在Build Settings 中 Prefix Header 中添加xx.pch 3.在xx.pch添加需要的.h文件或者其他声明 例如; #import <ReactiveCocoa/RACEXTKeyPathCoding.h> #import <ReactiveCocoa/RACEXTScope.h> #imp...
分类:
移动开发 时间:
2014-10-21 01:09:17
阅读次数:
524
注意:1.赋值要用 :=2.或的关系用 or 表示declare prefix VARCHAR2(2); --前缀 res_value VARCHAR2(20);begin prefix := 'QZ'; for i in (select col1,col2 from table_name ...
分类:
数据库 时间:
2014-10-21 00:43:29
阅读次数:
554
Info.plist与Prefix.pch修改文件位置遇到的问题及解决方法 如果要更改Info.plist与Prefix.pch文件实际路径,也就是实际文件的位置(不是在工程中的组织路径),需要到Build Settings中修改对应的配置,不然工程就找不到对应的Info.plist与Pref...
分类:
其他好文 时间:
2014-10-20 21:13:45
阅读次数:
143
1.下载ffmpeg-0.9.2.tar.gz http://ffmpeg.org/releases/下载需要的版本2.编译linux (centos5.5) 64位版本./configure --prefix=/home/chulk/ffmpeg-x64 --arch=x86_64 --host-...
分类:
其他好文 时间:
2014-10-20 20:48:36
阅读次数:
379
当我们新建一个工程的时候,在Supporting FIles文件下会看到一个以 -Prefix.pch结尾文件的文件,pch全称是“precompiled header”,也就是预编译头文件,该文件里存放的工程中一些不常被修改的代码,比如常用的框架头文件,这样做的目的提高编译器编译速度。我们知道当我们修改一个工程中某个文件代码时候,编译器并不是重新编译所有所有文件,而是编译改动过文件的,假如pc...
分类:
移动开发 时间:
2014-10-20 19:34:50
阅读次数:
265
5.21DB-015.22DB-025.24虚拟ip(不能是实际的ip)++选取vipkeepalived安装及配置安装keepalived在5.21上:wgethttp://www.keepalived.org/software/keepalived-1.2.13.tar.gztar-xvzfkeepalived-1.2.13.tar.gzcdkeepalived-1.2.13./configure--prefix=/usr/local/keepadlived--..
分类:
数据库 时间:
2014-10-20 17:34:26
阅读次数:
342
一,phpize的好处什么时候我们要用phpize呢?我们在安装php时:'./configure' '--prefix=/usr/local/php' '--with-mysql=/usr/local/mysql' '--with-zlib-dir' '--with-freetype-dir=/u...
分类:
Web程序 时间:
2014-10-20 14:41:34
阅读次数:
142
Period
Time Limit: 3000MS
Memory Limit: 30000K
Total Submissions: 13511
Accepted: 6368
Description
For each prefix of a given string S with N characters (each character...
分类:
其他好文 时间:
2014-10-19 21:30:13
阅读次数:
233
1、当strs为空,直接输出“”2、当strs中含有“”,直接输出“”3、strs[0]的最长长度由最短公共长度l决定(code line:15) 1 class Solution: 2 # @return a string 3 def longestCommonPrefix(sel...
分类:
编程语言 时间:
2014-10-18 23:47:06
阅读次数:
270
Write a function to find the longest common prefix string amongst an array of strings. 分析: 对一组字符串找到最长公共前缀。 因为只是找前缀所以可以以第一个字符串为基础,按个字符与其它字符串比较,直到有字符串已经...
分类:
其他好文 时间:
2014-10-18 22:17:24
阅读次数:
186