摘要: 自动生成项目的Makefile文件理论基础跟我一起写 Makefile: http://bbs.chinaunix.net/forum.php?mod=viewthread&tid=408225例解 autoconf 和 automake 生成 Makefile 文件: http://www.ibm... 阅读全文
posted @ 2015-11-21 11:25 yejinru 阅读(3092) 评论(0) 推荐(0) 编辑
摘要: 教程:http://www.cnblogs.com/dcba1112/archive/2011/05/01/2033805.html安装到下载maven: http://maven.apache.org/download.cgi$wget http://mirrors.hust.edu.cn/apa... 阅读全文
posted @ 2015-05-15 18:17 yejinru 阅读(1488) 评论(0) 推荐(0) 编辑
摘要: sudo tcpdump -i eth0 port 80 -s 1024 -l -A![](http://images.cnitblog.com/blog2015/377842/201505/041838087046251.png) 阅读全文
posted @ 2015-01-23 12:01 yejinru 阅读(3256) 评论(0) 推荐(0) 编辑
摘要: 项目地址:https://code.google.com/p/snappy/下载后,解压。$./configure$make建立一个简单的测试文件a.cpp:#include "snappy.h"#include #include int main() { std::string s = "d... 阅读全文
posted @ 2014-12-16 17:56 yejinru 阅读(590) 评论(0) 推荐(0) 编辑
摘要: Fastbit (WAH)的代码可在链接中下载安装以及运行命令如下:解压命令:$ tar -zxvf fastbit-ibis1.3.8.tar.gz 安装命令:$ cd fastbit-ibis1.3.8$ ./configure$ make 由于安装时Makefile使用了GNU Libtool... 阅读全文
posted @ 2014-12-16 17:47 yejinru 阅读(327) 评论(0) 推荐(0) 编辑
摘要: zlib:zlib.hhttp://www.zlib.net/manual.html编译时加 -lzZEXTERN int ZEXPORT compress OF((Bytef *dest, uLongf *destLen, const... 阅读全文
posted @ 2014-12-15 19:44 yejinru 阅读(1385) 评论(0) 推荐(0) 编辑
摘要: 当数据量非常大,在同一个query中计算多个不相关列的distinct时,往往很容易出现数据倾斜现象,导致运行半天都不能得到结果。比如以下的SQL语句(a, b, c没有相关性):select distinct(a), distinct(b), distinct(c) from tableName;... 阅读全文
posted @ 2014-12-14 10:10 yejinru 阅读(1169) 评论(0) 推荐(0) 编辑
摘要: 首先安装setuptools:windows:========1.下载 ez_setup.py,安装setuptoolshttps://bitbucket.org/pypa/setuptools/raw/bootstrap-py24/ez_setup.pycmd: python ez_setup.p... 阅读全文
posted @ 2014-11-20 15:57 yejinru 阅读(809) 评论(0) 推荐(0) 编辑
摘要: 在可视化模式下,可以对一个文本块的整体进行操作。例如,首先高亮选中一部分文本,然后用d命令删除这个文本块。可视化模式的好处在于,你可以在做改动之前,就看到操作将影响的文本。可视化模式可以分为以下三种:用v命令进入的字符可视化模式(Characterwise visual mode)。文本选择是以字符... 阅读全文
posted @ 2014-11-19 17:43 yejinru 阅读(48325) 评论(0) 推荐(0) 编辑
摘要: import sys egg_path='egg.egg'sys.path.append(egg_path)import egg_s... 阅读全文
posted @ 2014-11-19 11:23 yejinru 阅读(1203) 评论(0) 推荐(0) 编辑