→懒桃儿技术日志记录↵ RSS
1 - Set USE flagsx11-libs/libX11 and media-libs/mesa with xcb enabled.x11-libs/cairo with glitz, xcb and svg enabled.x11-wm/compiz-fusion with emerald enabled.2 - Keywordsdev-python/compizconfig-python x11-wm/compiz x11-wm/compiz-fusion x11-plugins/compiz-plugins-main x11-plugins/compiz-plugins-extra x11-plugins/compiz-plugins-unsupported x11-wm/emerald x11-themes/emerald-themes x11-apps/ccsm x11
在最近工作的几个项目中,我有意无意的采用了Ruby语言。作为一种介于主流与非主流之间的动态语言(TIOBE排名10左右),采用ruby的开发者群体在一度暴涨之后,一直处于一个相当稳定的水平。从效率来看,ruby确实不是一个让人完全满意的选择。在我以前一个项目中实现的一个搜索项目,最先采...
lax@homex ~ $ host www.liulantao.comwww.liulantao.com has address 203.166.178.9lax@homex ~ $ curl -4 --head -H "Host 203.166.178.9" http://www.liulantao.com/images/lax_shetou.gif HTTP/1.1 200 OKDate: Fri, 25 Sep 2009 13:19:45 GMTServer: Apache/2.0.52 (Red Hat)Last-Modified: Sat, 07 Feb 2009 07:30:15 GMTETag: "1208ae-16be-1bc9efc0" Accept-Ranges: bytesContent-Length: 58...
TDD steps:1, Write a test that describes some shortcoming or missing feature in the code. 2, Run the tests.3, Write just enough code to make this test pass. 4, Run the tests again. 5, Refactor. 6, Write a test to define a new feature and start the process all over again.Always remember:1, Code doesn't exist yet until it's tested. 2, Run tests religiously. see more: 1, http://ruby.about.com/od/
>rake db:drop Couldn't drop db/development.sqlite3 : #<Errno::EACCES: Permission denied - db/development.sqlite3>maybe you run script/console and didn't exit.-- Liu Lantao College of Information Science and Technology, Beijing Normal UniversityEMAIL: liulantao ( at ) gmail ( dot ) com ; WEBSITE: http://www.liulantao.com/ .------
config intel video card on Gentoo Linux.first, make sure the kernel module option, "Device Drivers --> Graphics support --> Direct Rendering Manager --> Intel 810" should be checked for my i810 card. then set VIDEO_CARDS="intel" in /etc/make.conf.now, reinstall xorg-x11: # sudo emerge -uDNva xorg-x11.when all above steps were finished, remove /etc/X11/xo...
[lax@homex ~]$ sudo vim /etc/yum.repos.d/chromium.repo [chromium]name=Chromium Test Packagesbaseurl=http://spot.fedorapeople.org/chromium/F$releasever/ enabled=0gpgcheck=0[lax@homex ~]$ sudo yum install *chromium* --enablerepo=chromiumLoaded plugins: aliases, fastestmirror, refresh-packagekitLoading mirror speeds from cached hostfile * fedora: ftp.cuhk.edu.hk * rpmfusion-free:
Linux/FreeBSD系统管理
Web开发
多媒体处理
Windows系统管理、维护、应用与故障排除