Archive for 十月, 2010

开源网页截屏工具 CutyCapt Linux 下安装和使用

By admin - Last updated: 星期一, 十月 25, 2010

目的是想在服务器端生成某个网页的缩略图。Google了好久,发现一个好开源东西:CutyCapt。 系统:CentOS 5.5 官网:http://cutycapt.sourceforge.net/ 依赖:QT http://www.qtsoftware.com/ 附缩略163.com图,虽然说字体渲染的效果一般,但是看起来还凑合 首次是在Debian下测试的,很顺利。换了CentOS不是太爽。具体安装和使用步骤如下: 1. 下载RPM包 (64位) wget http://dl.atrpms.net/el5-x86_64/atrpms/testing/qt44-4.4.3-10_4.el5.x86_64.rpm wget http://dl.atrpms.net/el5-x86_64/atrpms/testing/qt44-x11-4.4.3-10_4.el5.x86_64.rpm wget http://dl.atrpms.net/el5-x86_64/atrpms/testing/qt44-devel-4.4.3-10_4.el5.x86_64.rpm (32位) wget http://ftp.riken.go.jp/Linux/atrpms/el5-i386/atrpms/testing/qt44-4.4.3-10_4.el5.i386.rpm wget http://ftp.riken.go.jp/Linux/atrpms/el5-i386/atrpms/testing/qt44-x11-4.4.3-10_4.el5.i386.rpm wget http://ftp.riken.go.jp/Linux/atrpms/el5-i386/atrpms/testing/qt44-devel-4.4.3-10_4.el5.i386.rpm 2. 安装 qt-devel 依赖包 yum install libXi-devel yum install libXinerama-devel 3. 安装 qt 相关 rpm -ivh qt44-4.4.3-10* rpm -ivh qt44-x11-4.4.3-10* # rpm -e qt-devel –nodeps –allmatches rpm -ivh qt44-devel-4.4.3-10* 4. 修改 [...]

Python Story

By admin - Last updated: 星期一, 十月 25, 2010

PPT下载地址: Python Story.ppt http://www.slideshare.net/nnfish/python-story Python story View more presentations from small fish.