一、rsync服务器安装可以通过rysnc的官方网站:http://rsync.samba.org可以从上面得到最新的版本进行编译安装[root@server~]#tarxvfrsync-3.1.1.tar.gz[root@server~]#cdrsync-3.1.1[root@serverrsync-3.0.9]#./configure--prefix=/usr/local/rsync[root@serverrsync-3.0.9]#ma..
Mysql安 装版本:5.6.20编译参数:cmake -DCMAKE_INSTALL_PREFIX=/xxx/mysql -DMYSQL_UNIX_ADDR=/xxx/mysql/mysql.sock -DDEFAULT_CHARSET=utf8 -DDEFAULT_COLLATION=utf8_...
分类:
数据库 时间:
2014-12-02 20:46:06
阅读次数:
196
先来认识一下两个重要容器BeanFactory和ApplicationContext的类图:
接下来,我们挨个对出现的类做个介绍:
??public interface BeanFactory {
String FACTORY_BEAN_PREFIX = "&";
Object getBean(String name) throws BeansException;
T g...
分类:
编程语言 时间:
2014-12-02 01:38:20
阅读次数:
106
./configure--prefix=/usr/local/php--with-config-file-path=/usr/local/php/etc--with-apxs2=/usr/local/apache2/bin/apxs--with-mysql=/mysql/mysql--with-mysqli=/mysql/mysql/bin/mysql_config--with-iconv-dir=/usr/local--with-freetype-dir--with-jpeg-dir--with-png-d..
分类:
Web程序 时间:
2014-12-02 00:22:37
阅读次数:
243
Linux装软件就是折磨人!!Mplayer官网下好release版本然后./configure --[options]注意:--prefix=/usr/local/mplayer 是安装路径--enable-gui 安装图形化用户界面--enable-freetype 调节字体--with-cod...
分类:
其他好文 时间:
2014-12-01 23:57:15
阅读次数:
409
今天在用Xcode6新建项目时突然发现没有.pch,这让用惯宏定义的我有点不习惯。网上搜索了一下,发现解释原因是由于.pch大大的增加了Build的时间,如何在Xcode6中手动添加.pch1、在工程中添加一个pch文件,命名可以继续沿用Xcode5中得“工程名-Prefix.pch”:2、 修改工...
分类:
其他好文 时间:
2014-12-01 18:55:25
阅读次数:
101
字典树分配id最常见,其他一半很少用,也可能渣做的题比较少
贴代码,代码有解释:
#include
#include
#include
#include
using namespace std;
int cnt;
struct node
{
int id;
int prefix;//记录前缀个数
node *next[26];//指向字典树下一层,如果全是小写...
分类:
编程语言 时间:
2014-12-01 17:40:17
阅读次数:
169
一、在Xcode6中添加PrecompilePrefixHeaderXcode5中创建一个工程的时候,系统会自动创建一个以以工程名为名字的pch(PrecompilePrefixHeader)文件,开发的过程中可以将广泛使用的头文件以及宏包含在该文件下,编译器就会自动的将pch文件中的头文件添加到所有的源文件中去,这..
分类:
其他好文 时间:
2014-11-30 17:06:59
阅读次数:
147
Write a function to find the longest common prefix string amongst an array of strings.Solution: 1 public class Solution { 2 public String longestC...
分类:
其他好文 时间:
2014-11-29 11:35:58
阅读次数:
165
检查编译安装步骤,如果是采用下面这个方法安装,请换一种方法,我遇到过多次这个问题,都是因为这个安装问题导致的。存在问题的方法解压apr apr-util,去掉版本号,拷贝至httpd-/srclib/./configure --prefix=/usr/local/apache2 --enable-d...
分类:
Web程序 时间:
2014-11-27 17:41:40
阅读次数:
1256