Travel

Categories

Power rating of my Office PC and equipments

Today I used a Waltage and current meter to measure the power rating of my office PC :

(The Max power rating is measured when the machine is running the prime95 torture test)

1. Core i7 920 oc to 3.33Ghz/6GB DDR3-1333 RAM/Nvidia GT260+ GPU/2x1TB Seagate HD+1x500GB WD HD

Idle : ~165W (core temp : 47C), […]

VMware Server 2.0.1 does not see 8 cores on Intel Core i7, only 4

What a pity. I have bought a no. of Dell Servers (PE T610) and workstation using Xeon 55xx. Hope this support will add the to the coming build asap. But will Vmware Server 1.0.x will have update?? I run most of the vms on VMware server 1.0.x wor.

http://communities.vmware.com/message/1185430;jsessionid=315B9C298F77AFEE72965D4845D7AFD4

Restrict the wordpress login page by IP

Today I just wonder could I restrict the wordpress login page by IP since my wordpress system have only one user and there’s probably no need to allow the world to login my wordpress. Moreover, I also don’t want the hackers to have a chance to attack my admin a/c

After a simple search, the […]

Sample .htaccess for mod_authnz_ldap/mod_auth_ldap for apache

AuthName “Pls login with your username and password” AuthType Basic AuthBasicProvider ldap AuthLDAPURL “ldap://ldap.abc.edu.hk:389/dc=abc,dc=edu,dc=hk?uid” AuthzLDAPAuthoritative off Allow from mynetwork/24 Deny from all Satisfy Any Require valid-user

This .htaccess will ask the user to enter the usernanme and password when connecting from outside mynetwork/24

Still working on how to do a posix group based authentication, however […]

Writing LDAP search filter

LDAP search filter is useful in Apache LDAP authentication and Ironport.

Under Ironport, I use the below filter to search for valid user with his aliase :

(|(uid={u})(cn={u}))

I use the below to search if an user/alias is in a specific posix group :

(&(cn={g})(memberUid={u}))

Under OpenLDAP, to search a user :

ldapsearch -x -b […]

Test on wordpress plugin post-to-facebook

都係試下D簡單嘅plugin, 個wordbook暫時disable佢先, 我唔係個個post都想上facebook架嘛

Test of wordpress wordbook plugin

another wordpress & facebook integation plugin. This plugin uses Facebook API to actively update the facebook wall status and provide good excerpt of the post. Better if it can have an option to select which new post will feed to facebook wall or not.

According to the author, I will have to log in to […]

Test of wodpress add-to-facebook plugin

Testing of integration of wordpress & facebook. It seems the working mechanism of this plugin is quite simple…. and it is mainly targeted to the reader, not post author.

convert UTF-8 簡體 to BIG5 繁體

open the UTF-8 簡體 TXT file in firefox and use Tong Wen Tang to change to 繁體 copy the 繁體 txt to wordpad and save the file as unicode txt file open the UTF-8 繁體 TXT file in IE and save as BIG 5 encoded TXT file

Unofficial VMware ESX Server Whitebox HCL

http://www.vm-help.com/

contain information you need to install ESXi on ordinary PC.