1,configure 命令行参数处理2,初始化各种文件路径3,分析源码结构4,生成编译过程中所需路径5,准备 .h,.err等编译所需文件6,写入命令行参数7,检测环境(系统,编译器,第三方库...)8,处理nginx,conf文件等的路径9,创建makefile文件10,加入第三方库,头文件等1...
分类:
其他好文 时间:
2015-07-01 15:28:24
阅读次数:
126
//写入文件var data = "hello world";fs.writeFile('c:\\a.txt', data, 'ascii', function(err) { if (err) { console.log('写入文件失败'); } else { ...
分类:
Web程序 时间:
2015-06-30 20:00:38
阅读次数:
407
httpd配置文件说明3、虚拟主机配置项(1)虚拟主机使用前提:注释主服务器DocumentRoot段(2)虚拟主机三种形式基于端口的虚拟主机,例:#设置监听端口
Listen80
Listen8080
<VirtualHost192.168.100.1:80>
ServerNamenew.parparxy.com
DocumentRoot"/var/www/news"
Err..
分类:
Web程序 时间:
2015-06-25 17:40:36
阅读次数:
177
1 错误描述
[Err] 1172 - Result consisted of more than one row
Procedure execution failed
1172 - Result consisted of more than one row
2 错误原因
3 解决办法...
分类:
其他好文 时间:
2015-06-25 17:26:50
阅读次数:
181
1 错误描述
[Err] 1136 - Column count doesn't match value count at row 1
Procedure execution failed
1136 - Column count doesn't match value count at row 1
2 错误原因
3 解决办法...
分类:
其他好文 时间:
2015-06-25 12:22:46
阅读次数:
112
Kc.find({bjid:req.params.bjid}).sort({'_id':1}).exec(function(err,kcs){ if(err){ res.json({no:0,msg:err}); }else{ var result = {no:1};...
分类:
编程语言 时间:
2015-06-25 08:53:30
阅读次数:
147
现象:启动MySQL服务时报1067错误,服务无法启动。 查看xxx.err错误日志发现有数据页损坏信息: InnoDB:Databasepagecorruptionondiskorafailed InnoDB:filereadofpage200. 出现上述现象是由于突然断电、强...
分类:
数据库 时间:
2015-06-24 00:30:23
阅读次数:
248
php 的json_encode它可以转换为一个数组json格字符串类型。字符串不是缩进。中国将被转换unicode编码,例如\u975a\u4ed4。阅读更多困难。今天,这一方法json_encode美化处理。使人能方便阅读内容。1. 使用 json_encode 输出 true, 'err...
分类:
Web程序 时间:
2015-06-19 14:52:59
阅读次数:
185
[Err] 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near at line 3MySQL 5.6,Navicat For MySQL 10.0.10 中执行SQL语句时...
分类:
数据库 时间:
2015-06-18 19:45:16
阅读次数:
255
>> node>>fs.readFile('finnish.txt', function(err,data){ console.log(data);});// Output string is not what we want>>fs.readFile('finnish.txt', funct...
分类:
Web程序 时间:
2015-06-18 01:51:22
阅读次数:
164