FreeBSD70安装配置JSP环境(apache+apache-tomcat+mod_jk+diablo-jdk)

工作学习 No Comments »

我先说明一下配置环境的大概情况:

* FreeBSD 7.0-RELEASE
* diablo-jdk-1.6.0.07.02
* apache-2.0.63
* tomcat-6.0.16
* mod_jk-ap2-1.2.26
Read the rest of this entry »

FreeBSD升级/usr/ports的步骤

工作学习 No Comments »

由于是最小化安装,所以需要通过 sysinstall 去把下面几个package安装上(via CD-ROM) :

  • cvsup-without-gui
  • perl
  • gmake
  • bash

Read the rest of this entry »

Linux文件分割与合并

工作学习 No Comments »

apache 默认不支持超过2G文件的下载,这个方法可以解决下!

Read the rest of this entry »

ImageMagick 安装备忘

工作学习 No Comments »

ImageMagick 默认支持jpeg格式的操作,但默认安装后一直无法使用,报错:no decode delegate for this image format.查看 ImageMagick 支持图片格式:convert -list format 不支持jpeg操作.

原来是未设置jpeg安装的lib和include路径.
./configure CPPFLAGS="-I/usr/local/modules/jpeg6 -I/usr/local/modules/jpeg6/include -I/usr/local/modules/freetype/include -I/usr/local/modules/freetype/include/freetype2" LDFLAGS="-L/usr/local/lib -L/usr/local/modules/jpeg6/lib -L/usr/local/modules/freetype/lib" –prefix=/usr/local/ImageMagick

make && make install

ImageMagick 支持jpeg操作.

WordPress中文搜索插件

工作学习 No Comments »

说明:
SCWS 是 Simple Chinese Words Segmentation 的缩写(简易中文分词系统)。它是一套基于词频词典的机械中文分词引擎,它能将一整段的汉字基本正确的切分成词,因为词是汉语的基本语素单位,而书写的时候不像英语会在词之间用空格分开,所以如何准确快速的分词一直是中文分词的攻关难点。本插件是基于 SCWS 而做。安装后请重建您的索引,否则无法搜索您原来的博客。
Read the rest of this entry »

SCWS-PHP扩展的说明及用法

工作学习 2 Comments »

详细请访问:http://www.hightman.cn

[SCWS 简介]

SCWS 是 Simple Chinese Words Segmentation 的缩写(简易中文分词系统)。它是一套基于词频词典的机械中文分词引擎,它能将一整段的汉字基本正确的切分成词,因为词是汉语的基本语素单位,而书写的时候不像英语会在词之间用空格分开,所以如何准确快速的分词一直是中文分词的攻关难点。

本分词法并无太多创新成分,采用的是自己采集的词频词典,并辅以一定的专有名称,人名,地名,数字年代等规则识别来达到基本分词,经小范围测试大概准确率在 90% ~ 95% 之间,已能基本满足一些小型搜索引擎、关键字提取等场合运用。首次雏形版本发布于 2005 年底。

本系统支持的汉字编码包括 GBK、UTF-8

Read the rest of this entry »

WordPress 对象缓存

工作学习 No Comments »

WordPress 默认对象缓存:WordPress Object Cache。具体可以查看《使用 WordPress 对象缓存 》这篇文章。

WordPress Object Cache 的目的是提供一个耗时查询或者运算结果存储到一个缓存文件的方法。这样就可以让我们不用老是重复到数据库中或者其他外部网站获取不变的数据。但是需要提出的是,一些服务器环境在使用缓存的时候会有些问题,所以这需要你去监控你的服务器来决定使用缓存能否对你的站点有益。

Read the rest of this entry »

vBulletin Product:CPG Synchron

工作学习 No Comments »

这个是 vBulletin 的一个产品,用于 Coppermine Photo Gallery(以下简称:CPG) 与 vBulletin 帐号,密码,邮件同步.

下载地址: http://www.vbulletin.org/forum/misc.php?do=productcheck&pid=167413
如果无法下载,请点这里. cpg_synchron_0.0.2

Read the rest of this entry »

WLW:QI for IEnumVARIANT failed on the unmanaged server.

工作学习 No Comments »

It maybe popup an error message to say that “QI for IEnumVARIANT failed on the unmanaged server” when open the Windows Live Writer.

After search on google, I found the resolution is import some settings into registry.

Windows Registry Editor Version 5.00   

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface\{00020404-0000-0000-C000-000000000046}]
@="IEnumVARIANT"   

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface\{00020404-0000-0000-C000-000000000046}\NumMethods]
@="7"   

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface\{00020404-0000-0000-C000-000000000046}\ProxyStubClsid]
@="{00020421-0000-0000-C000-000000000046}"   

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface\{00020404-0000-0000-C000-000000000046}\ProxyStubClsid32]
@="{00020421-0000-0000-C000-000000000046}"

You can also download the file ienumvariant_failed.zip, unzip and import it to your registry.

2008年新假期一览表(图)

工作学习, 生活娱乐 No Comments »

2008年新假期一览表

WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS 登录