Monthly Archives: 四月 2010

Apache在子目录取消访问控制

Removing controls in subdirectories The following example shows how to use the Satisfy directive to disable access controls in a subdirectory of a protected directory. This technique should be used with caution, because it will also disable any access controls … Continue reading

Posted in 运维 | Tagged , , | 2 Comments

Marvell 88E8056 网卡驱动

在Marvell官网有linux 2.6内核驱动下载,然而在2.6.32内核上以模块形式编译安装时总是出错 /tmp/Sk98IAfiDEcqKrUTbOYRkXjlT/all/skge.c: In function ‘SkGeTestIsr’: /tmp/Sk98IAfiDEcqKrUTbOYRkXjlT/all/skge.c:1750: error: ‘TASK_NORMAL’ undeclared (first use in this function) /tmp/Sk98IAfiDEcqKrUTbOYRkXjlT/all/skge.c:1750: error: (Each undeclared identifier is reported only once /tmp/Sk98IAfiDEcqKrUTbOYRkXjlT/all/skge.c:1750: error: for each function it appears in.) /tmp/Sk98IAfiDEcqKrUTbOYRkXjlT/all/skge.c: In function ‘SkGeTestMsi’: /tmp/Sk98IAfiDEcqKrUTbOYRkXjlT/all/skge.c:1780: warning: passing argument … Continue reading

Posted in 应用 | Tagged , , | Leave a comment

find的exec参数

find的-exec参数执行命令时,当前目录是执行者运行find程序时所在的目录。如果需要在执行命令时进入匹配项所在目录,使用-execdir参数。两者均不能识别命令中的通配符,可以通过间接调用一个单行脚本来解决。

Posted in 应用 | Tagged , , | Leave a comment

纠结的terminator 0.90

经过数个月的开发,terminator终于发布了0.90版(从0.14直接到0.90 -. -)。但是令人失望的是bug众多,而且没有我需要的命令行拆分窗口的新特性。随后作者紧急发布了0.91版修正bug。 ps1: 我以前提交的kde下面关闭tab时导致窗口变小的bug已经修正 ps2: terminator已经进入了官方源 ps3: 貌似字体颜色有点问题,变深了,已经有人提交了这个bug ps4: use_system_font选项在man手册里面没有,默认是True,会导致字体设置无效。我提交了这个bug

Posted in 应用 | Tagged | Leave a comment