Category Archives: Computer

Convert a RPM package to tarball

This might be a weired use case, but sometime one may want to extract all contents from an RPM and neatly put into a tarball. If you are still reading, here comes the shell script to do the task. #!/bin/sh EXEC=”=== “`basename $0` PWD=`pwd` RPMFILE=`readlink -f $1` if [ -z "$2" ]; then TGZFILE=$PWD/`basename $1 [...]

用Windows 7做WiFi AP, 共享VPN路由,造福WiFi移动设备

为了那座You know what的墙,我购买的是基于OpenVPN的方案,在PC上是相当的方便,也比较可靠。但是一直对移动设备如何使用VPN感到为难,因为不管是iPhone还是Android对OpenVPN的支持都很糟糕,更别提S60了。路由器刷OpenWRT又颇为麻烦,对硬件要求严格,耗不起时间钻研。如今将Windows 7变为Wifi AP,直接共享OpenVPN的TAP适配器,移动设备只要能用WiFi就畅通无阻了。 方法见下面的链接:Bink.nu | COOL: Windows 7 as an WiFi AccessPoint updated – Bink.nu.

How To Extract files from an RPM Package Without Installing It

Extract RPM file using rpm2cpio and cpio command: $ rpm2cpio php-5.1.4-1.esp1.x86_64.rpm | cpio -idmv via How To Extract an RPM Package Without Installing It rpm extract command.

用iPhone/Android访问移动版的meshwalk.com

使用了WPTouch插件,现在meshwalk.com的WordPress可以检测iPhone/Andriod客户端并呈现移动版本。这个插件还支持插入Google Adsense for Mobile从而很好地支持移动广告。想要变得对移动用户更为友好的站长可以考虑安装。 下面是iPhone访问本站的几个截屏:

Adobe PDF preview handler 64-bit fix

Thanks to Leo Davidson who has this fixed – it was pain in the arse to have Adobe preview handler broken in Windows 7 x64 version. Adobe’s image is down quite a lot for not responding to this installer’s bug after 2 years it was found. Shame! Go to for a fix – it’s as [...]