- (void)json2Plist{ NSString *filePath = [self applicationDocumentsDirectoryFileName:@"json"]; NSMutableArray *tempArray = [[NSMutableArray allo...
分类:
Web程序 时间:
2014-08-04 13:38:27
阅读次数:
232
Note:sql> source F:weibo.sql(执行相关sql文件)sql> select * from sina into outfile "/weibo.txt"(导出相应数据到C:的weibo.txt)1. mysql 5.0后其客户端仅支持gbk,故可在sql> set names...
分类:
数据库 时间:
2014-08-03 22:54:46
阅读次数:
2916
总结有两点:1、如需添加jar包等附加库,可在待安装工具箱下,新建一个java文件夹,并将jar包等文件存放在里面,然后执行以下操作:1)Create or open your preferences file: edit(fullfile(prefdir,'javaclasspath.txt'))...
分类:
其他好文 时间:
2014-08-03 17:50:25
阅读次数:
218
目的:将txt中的数据导入到数据库的一个表中
第一步:scott创建一个空表
create table family(id number(10),name varchar(20),sal number(20),total number(30));
第二步:创建txt数据文件:
vi /oracle/input.txt
1,clark,4000,50000
2,saber,4100,40...
分类:
数据库 时间:
2014-08-03 15:16:45
阅读次数:
236
[root@luozhonghua 03]# cat ex03-open-03.c/*文件ex03-open-03.c,O_CREAT和O_EXCL的使用*/#include #include #include #include int main(void){ int fd = -1; char filename[] = "test.txt"; /*打开文件,如果文件不存在,则报错*/ fd = ...
分类:
系统相关 时间:
2014-08-03 12:47:55
阅读次数:
324
在这里插一小节加密的吧,使用openssl库进行加密。 使用MD5加密 我们以一个字符串为例,新建一个文件filename.txt,在文件内写入hello ,然后在Linux下可以使用命令md5sum filename.txt计算md5值 ==>b1946ac92492d2347c6235b...
分类:
编程语言 时间:
2014-08-02 20:39:43
阅读次数:
404
1.文件的打开 1.1 open 和 fopen 。open 返回的是文件描述符,而fopen 返回的是文件指针,二者的第二个参数也不同,一个是宏定义的,一个是字符串。因此在书写的时候要特别注意。 int fd = open("test.txt", O_RDONLY); FILE *fp = ...
分类:
系统相关 时间:
2014-08-02 18:12:13
阅读次数:
402
一、添加固定注释新建一TXT文档,将要添加的注释写在文档中将文档名改为:ActionTemplate.mst将文件放到QTP安装目录的dat文件夹中设置好后,在QTP中每次新建一个测试就会自动添加固定的注释 二、调用外部vbs文件方法 1.将通用函数写在一个vbs文件中,以供其他脚本调用 2.调用....
分类:
其他好文 时间:
2014-08-02 12:24:23
阅读次数:
229
分别用sed awk perl grep 实现:1 sed '/^$/d' input.txt > output.txt #output file: output.txt2 sed -i '/^$/d' input.txt #output file: input.txt3 awk '...
分类:
系统相关 时间:
2014-08-02 12:17:53
阅读次数:
256
一、从resource中的raw文件夹中获取文件并读取数据(资源文件只能读不能写)String res ="";try{InputStream in =getResources().openRawResource(R.raw.bbi);//在\Test\res\raw\bbi.txt,intleng...
分类:
移动开发 时间:
2014-08-02 04:13:06
阅读次数:
307