Latest Posts »
Latest Comments »
Popular Posts »

sha-bang

Pubdate: 2009-04-08 06:01:00

Learned a cute trick about bash's sha-bang.
You can use
#!/bin/rm
at the top line of a bash ...


Comments(0) | 1307 Views

超越时空的感觉不爽

Pubdate: 2009-04-07 14:57:00

同事要找网络硬盘,我给他推荐dropbox,结果装到他机器上,客户端死活连不上,防火墙之类的都折腾了,死活连不上。最后居然是因为他的机器时间设的是2007年,跟证书的日期不一致。回到现在后,一切正常了。



Comments(0) | 1325 Views

django使用mod_python的简单配置

Pubdate: 2009-04-01 14:41:00

在/etc/conf.d/apache2的APACHE2_OPTS中加入PYTHON。
在/etc/apache2/vhosts.d/00_default_vhost.conf中加入:
<Location "/">
PythonPath "sys.path + ['/var/www/localhost/htdocs ...


Comments(0) | 1317 Views

触摸板配置

Pubdate: 2009-03-26 16:35:00

最近挖掘了一下触摸板,原来有这么多功能啊。
首先,make.conf中
INPUT_DEVICES="evdev"
emerge -av xf86-input-synaptics
在/etc/X11/xorg.conf中加入以下section:
Section "InputDevice"
Identifier "Touchpad"
Driver ...


Comments(0) | 1719 Views

Read It Later

Pubdate: 2009-03-26 13:05:00


Read it later 是一个firefox扩展,他现在已经成了我生活的一部分,不,应该说是成了我的生活方式。其功能说起来并不复杂,就是把当时不读的网页保存到bookmark里,留待以后读。
它的安装使用配置还是很简单的,就不多说了,主要说说我现在使用它的方式。
我现在是这样使用read it later的,不妨把read it later看做是GTD的inbox。这个inbox的输入主要是google ...


Comments(0) | 1687 Views

一比一时间管理法

Pubdate: 2009-03-25 10:19:00

写博客的时间与在网上surf的时间1:1
读编程书籍的时间与编程的时间1:1
折腾Linux系统的时间与为Linux社区做贡献的时间1:1
做家务的时间与吃喝拉撒的时间1:1


Comments(0) | 1326 Views

Docbook使用笔记

Pubdate: 2009-03-25 10:14:00


Docbook使用笔记
目录标题居中
 cp titlepage.templates.xml titlepage_whitepaper.xml
mv titlepage_whitepaper.xml titlepage_whitepaper.spec.xml
 xsltproc --output titlepage_whitepaper.xsl ../template/titlepage ...


Comments(0) | 1392 Views

emerge plone

Pubdate: 2009-03-25 10:13:00


参见: http://www.linuxsir.org/bbs/thread317497.html

  1. 官方的仓库里面还没有plone-3.0.* 的ebuild,我已在bugzilla上提交了new-ebuild的BUG:
    http://bugs.gentoo.org/show_bug.cgi?id=190435 ...


Comments(0) | 1645 Views

compiz

Pubdate: 2009-03-25 10:13:00


Option "AddARGBGLXVisuals" "True"
Option "DisableGLXRootClipping" "True"

Section "Extensions"
Option "Composite" "Enable"
EndSection


Comments(0) | 1288 Views

Gentoo下的subversion+apache+trac的安装配置

Pubdate: 2009-03-25 10:12:00


经过反复选型,我决定采用subsversion+apache+trac的方案进行如下几项工作:
1、软件版本管理,因为管理规定及体制上的要求,目前不涉及源码的管理,而只用来进行二进制版本的管理。
2、文档管理。实际上也在版本管理的范畴。
3、交流。在线文档编辑。
4、测试用例的管理及测试计划的生成。
首先要emerge apache2, subversion ...


Comments(0) | 1955 Views
无觅相关文章插件