2011-08-03

杂记 20110803 | Misc notes 20110803

1. Linux 查看程序访问的文件(类似filemon/processexplorer):
strace -e trace=file foo

2. mod_python 编译出错:
参考 http://blogold.chinaunix.net/u/19834/showart_2127433.html
connobject.c142行 !(b == APR_BRIGADE_SENTINEL(b) 改为!(b == APR_BRIGADE_SENTINEL(bb)

3. virtualbox 修改 host key: file -> preferences -> input

4. live meseenger 显示所有好友离线: 去控制面板->添加删除程序->修复live meseenger
也有说删除appdata的

5. linux 手动添加dns:
修改/etc/dhcp/dhclient.conf (可能还需要/etc/dhcp3/dhclient.conf),加入
prepend domain-name-servers 8.8.8.8;

6. Windows 7 godmode
建立文件夹,改名为GodMode.{ED7BA470-8E54-465E-825C-99712043E01C}



1. Monitor files accessed by a process on Linux (like filemon/processexplorer)
strace -e trace=file foo

2. cannot compile mod_python
from http://blogold.chinaunix.net/u/19834/showart_2127433.html
at connobject.c line 142 change !(b == APR_BRIGADE_SENTINEL(b) to !(b == APR_BRIGADE_SENTINEL(bb)

3. Change host key in virtualbox: file -> preferences -> input

4. All contacts in live messenger appear offline: control panel -> add/remove programs -> repair live messenger
Some says deleting appdata also works

5. Manually add dns on Linux
In /etc/dhc/dchlient.conf (probably also /etc/dhcp3/dhclient.conf), add a line
prepend domain-name-servers 8.8.8.8;

6. God mode in Windows 7
Create a folder and rename it to GodMode.{ED7BA470-8E54-465E-825C-99712043E01C}
发表评论