上一页 1 ··· 6 7 8 9 10 11 12 下一页
  2014年9月23日
摘要: /* 发送消息队列 */ #include <stdio.h>#include <stdlib.h>#include <string.h>#include <sys/types.h>#include <sys/stat.h>#include <fcntl.h>#include <sys/ipc.h> 阅读全文
posted @ 2014-09-23 20:04 欢跳的心 阅读(175) 评论(0) 推荐(0) 编辑
  2014年9月18日
摘要: 如果想要修改crontab,一般做以下的几步就可以了 将crontab 推到一个自定义的文件上 crontab -l>;tmp 编辑这个文件,做需要的修改 vi tmp 推回crontab crontab tmp #!/bin/sh DELDIR="/root/crontab_test/test" 阅读全文
posted @ 2014-09-18 08:59 欢跳的心 阅读(1222) 评论(0) 推荐(0) 编辑
  2014年8月26日
摘要: 安装gmime库所需要的依赖库: 1 libffi库安装 简介:glib安装时依赖的库 解压: tar xf libffi-3.0.0.tar.gz 进入目录: cd libffi-3.0.0 安装: ./configure make make install 检查是否安装正确: echo $? 如 阅读全文
posted @ 2014-08-26 23:43 欢跳的心 阅读(788) 评论(0) 推荐(0) 编辑
  2014年7月23日
摘要: 下载filezilla https://filezilla-project.org/download.php?show_all=1 tar jxf _FileZilla_3.9.0.1_x86_64-linux-gnu.tar.bz2 cp FileZilla3 /usr/local/ -rf ln 阅读全文
posted @ 2014-07-23 16:57 欢跳的心 阅读(1446) 评论(0) 推荐(0) 编辑
  2014年5月29日
摘要: 使用的是posix 正则库,参考: http://see.xidian.edu.cn/cpp/html/1428.html 执行匹配的时: gcc myreg.c ip.pat 内容: ip.*[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+ ip.txt 内容: 192.168.1.1 阅读全文
posted @ 2014-05-29 17:01 欢跳的心 阅读(362) 评论(0) 推荐(0) 编辑
  2014年5月26日
摘要: 1.安装 doxygen 有两种获得 doxygen 的方法。可以下载预编译的可执行文件,也可以从 SVN 存储库下载源代码并自己编译。清单 1 演示的是后一种方法。 清单 1. 安装和构建 doxygen 源代码 bash-2.05$ git clone https://github.com/do 阅读全文
posted @ 2014-05-26 21:04 欢跳的心 阅读(2239) 评论(0) 推荐(0) 编辑
摘要: iconv是linux下的编码转换的工具,它提供命令行和函数接口支持 1.命令行 man手册iconv命令用法如下: iconv -f encoding -t encoding inputfile 有如下选项可用: 输入/输出格式规范: -f, --from-code=名称 原始文本编码 -t, - 阅读全文
posted @ 2014-05-26 20:43 欢跳的心 阅读(43296) 评论(1) 推荐(0) 编辑
  2014年5月14日
摘要: #include <stdio.h>#include <stdlib.h>#include <string.h>#include <unistd.h> int main(int argc, char **argv){ /* 这个是给str分配存储字符串地址的空间 */ char **str = (c 阅读全文
posted @ 2014-05-14 21:55 欢跳的心 阅读(1396) 评论(0) 推荐(0) 编辑
  2014年5月13日
摘要: 先说一下我的环境:windows7-x64位机器下安装的vmware虚拟机,里面安装的是centos6.5-x64位的系统。 系统崩溃的原因:从cenos拖拽一个文件到win7下,结果就卡死了。整个系统都动不了,重启虚拟机后出现整个问题: RAMDISK: incomplete write writ 阅读全文
posted @ 2014-05-13 20:59 欢跳的心 阅读(868) 评论(0) 推荐(0) 编辑
  2014年5月12日
摘要: 1.安装jansson ./configure make make install 2.生成帮助文档 cd doc make html 编译安装doc时提示 spinx-build not a command 执行下面语句安装sphinx easy_install -U Sphinx 生成_buil 阅读全文
posted @ 2014-05-12 19:37 欢跳的心 阅读(12966) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 下一页