代码改变世界

随笔分类 -  第三方软件

关键字匹配服务器 libra-server

2012-10-17 10:22 by 爱车龟速兔, 323 阅读, 收藏, 编辑
摘要: A keyword match server为什么需要关键字匹配服务器?你可能想用正则去匹配,不过细想一下,如果有10万个关键字,那不是要用正则匹配10万次。 而是用关键字匹配服务器只需要匹配一次即可,速度非常快,速度只跟你要匹配的原文长度有关。此外,使用此服务器还可以过滤敏感词之类的用途。#安装方法# 1.安装libevent(http://monkey.org/~provos/libevent/) 2.安装libdatrie(http://linux.thai.net/~thep/datrie/datrie.html) 3.make PHP接口: 存储<?phpinclude( 阅读全文

Git服务器 Gitosis

2012-10-11 09:38 by 爱车龟速兔, 250 阅读, 收藏, 编辑
摘要: Git是非常著名的分布式版本控制系统。Gitosis 则是方便通过 Git 与 ssh 架设中央服务器的软件。参见https://github.com/res0nat0r/gitosisGit服务器Gitosis架设指南.http://www.oschina.net/question/12_72988配置 Gitosishttp://www.oschina.net/question/12_72989 阅读全文