安装google-perftools:#tar zxvf google-perftools-1.6.tar.gz#cd google-perftools-1.6#./configure#make#make install3.运行以下二行命令echo "/usr/local/lib" >/etc/ld...
分类:
其他好文 时间:
2014-09-26 22:54:38
阅读次数:
170
汉澳sinox高速下载工具axel
一直用wget、浏览器单线程下载等啊等,没完没了,必须使出刹手锏。
汉澳sinox高速下载工具axel,不是exel,读作 阿克啸
安装
cd /usr/ports/ftp/axel;make install clean
然后运行axel -n 10 网址,其中-n 后面指定多线程数量。
然后就以10倍速度download,不需要安装旋风...
分类:
其他好文 时间:
2014-09-26 22:34:08
阅读次数:
263
1、安装编译环境yum install -y gcc gcc-c++ make libtool bison ncurses-devel zlib-devel automake autoconf cmake2、编译MariaDBtar zxvf mariadb-***.tar.gzcd mariadb...
分类:
数据库 时间:
2014-09-26 18:23:38
阅读次数:
244
这里主要是遇到两个问题:第一个是,自己编写的hal层源码怎么添加进Android的默认编译中去,也就是说在根目录执行make时,自己编写hal源码也会被编译。第二个问题是,编译完成后还要自动安装在指定的系统目录lib/hw下。
刚开始时不太了解,总是需要使用mmm来进行编译安装,但是打包之后再编译这是不现实的。为此需要添加到默认中去。
一般来说hal层所在的位置在hardware/libhar...
分类:
移动开发 时间:
2014-09-26 11:25:58
阅读次数:
185
#前言#>____ 5 6 void make_window8(unsigned char *buf, int xsize, int ysize, char *title); 7 void putfonts8_asc_sht(struct SHEET *sht, int x, int y, ...
分类:
其他好文 时间:
2014-09-26 02:17:18
阅读次数:
232
在安装nginx之前我们需要安装一些必要的软件包yum install gcc make pcre* zlib* -y1:下载nginx[root@centos6_64 ~]#wgethttp://nginx.org/download/nginx-1.6.2.tar.gz[root@centos6_...
分类:
其他好文 时间:
2014-09-26 01:46:08
阅读次数:
178
最简单的后缀数组求最长不可重叠的重复字串长度的问题。。具体见论文《后缀数组——处理字符串的有力工具#include #include #include #include #include #include #include using namespace std; #define MP make_....
分类:
其他好文 时间:
2014-09-25 23:49:07
阅读次数:
197
面向内容的优化规则目前有 10 条。1. 尽量减少HTTP请求 (Make FewerHTTPRequests)作为第一条,可能也是最重要的一条。根据 Yahoo! 研究团队的数据分析,有很大一部分用户访问会因为这一条而取得最大受益。有几种常见的方法能切实减少HTTP请求:1)合并文件,比如把多个C...
分类:
Web程序 时间:
2014-09-25 21:40:17
阅读次数:
229
正确地保存编译内核产生的.config文件-使用make savedefconfig,一直以来保存编译内核生成的.config文件都是cp .config arch/arm/configs/xxx_defconfig来保存的。但是这其实是一个错误的方法。原因听我细细道来。...
分类:
其他好文 时间:
2014-09-25 20:26:27
阅读次数:
411
Sometimes it is obvious what the attributes of an object should be, but other times you have to make decisions. For examples, imagine you are designin...
分类:
其他好文 时间:
2014-09-25 17:09:17
阅读次数:
290