Dennys Blog

This is the 1st English Post

This is the 1st English Post

Word Tips: Reducing Word's CPU Load

Turn off spelling check
Menu -> Tools -> Options -> Spelling & Grammar tab, clear the "Check Spelling as you type" box.

Result: CPU loading reduces from 99% to 0%...

How to change hostname in wordpress

If the hostname of your wordpress is changed, please update your wordpress database.

UPDATE `wp_options` SET `option_value` = 'http://192.168.1.9/wordpress' WHERE `option_id` =46 AND `blog_id` =0 AND CONVERT( `option_name` USING utf8 ) = 'home' LIMIT 1 ;

UPDATE `wp_options` SET `option_value` = 'http://192.168.1.9/wordpress' WHERE `option_id` =1 AND `blog_id` =0 AND CONVERT( `option_name` USING utf8 ) = 'siteurl' LIMIT 1 ;

Delete Invalid Files and Folders

A tool to delete invalid files and folders
http://www.purgeie.com/delinv/index.htm

Change Firefox's default search engine

The default search engine in Firefox 2.0RC2 is Yahoo, you can use about:config to change it.

1. Find keyword.URL
2. Modify it
Original value:
http://tw.search.yahoo.com/search?ei=UTF-8&p=

If you want to open a new Google search page, please change it to
http://www.google.com/search?q=

If you want to use Google "I'm Feeling Lucky", you can use http://www.google.com/search?<strong>btnI=I%27m+Feeling+Lucky</strong>&q=

If you want to assign language, you can use http://www.google.com/search?<strong>hl=en-US</strong>&q=

How to add MSN nickname for Tipper (a Miranda-IM plugin)

How to add MSN nickname in Tipper.

1. Add a new substitution
Label: Nick
Choose Contact protocol module
Setting or prefix: Nick
Choose [No translation]

2. Add a new Items
Label: Nickname
Value: %Nick%

ref: http://www.miranda-im.de/mediawiki/index.php?title=Plugin:Tipper

How to change the locale of Firefix and Thunderbird

Firefox:
about:config -> general.useragent.locale
English: en-US
Traditional Chinese: zh-TW

Restart firefox and the locale will be changed.

Thunderbird:
Menu -> Tools -> Options -> Advanced -> Config Editor
general.useragent.locale
English: en-US
Traditional Chinese: zh-TW

How to enable encryption of VNC

Ultra VNC (Windows):
UltraVNC Server:
1. Move plugin\MSRC4Plugin_NoReg.dsm to UltraVNC directory.
2. Admin Properties -> DSM Plugin -> choose "MSRC4Plugin_NoReg.dsm".
3. Click "use" and click "config".
4. Press "Gen Key".
5. Rename "new_rc4.key" to "rc4.key".

UltraVNC Client:
0. Copy the "rc4.key" from above server.
1. Move plugin\MSRC4Plugin_NoReg.dsm to UltraVNC directory
2. Choose "MSRC4Plugin_NoReg.dsm"
3. Click "Use DSMPlugin".
4. Press "Config" and make sure UltraVNC find the file "rc4.key"
5. You can connect to server now.

Reference:

Upgrade Apache, PHP, MySQL

Upgrade to Apache 2.2.3, PHP 5.1.6, MySQL 5.0.24a

How to enable Java webstart without an "installation"

The following is my procedure for JDK 1.4.2_08, if you use different JDK version or directory,
please remember to modify registry file.

  1. Copy JDK from another machine to D:\Java\JDK (jre should be enough but I only test JDK)
  2. Import the registry
  3. Associate *.jnlp to D:\Java\JDK\jre\javaws\javaws.exe
  4. It's ok.
  5. WebStart will put programs in the local directory: D:\Documents and Settings\**\Application Data\Sun\Java\Deployment\javaws\cache\http\Dbosnlab1c

Registry:

Windows Registry Editor Version 5.00

Upgrade to Gallery 2.0, WPG2 1.0

Upgrade to Gallery 2.0 and WPG2 1.0.

Oracle NLS_LANG configuration

\HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\NLS_LANG
TRADITIONAL CHINESE_TAIWAN.ZHT16BIG5
AMERICAN_AMERICA.US7ASCII

How to change password in Oracle

ALTER user user_name
IDENTIFIED BY password;

Computer Category