August 21st, 2008
1. download install_flash_player_9_linux.tar.gz from www.adobe.com
2. extract to a folder, close your browser, then run ./flashplayer-installer
3. when asking installation path of the Mozilla, Netscape, or Opera browser, typein /usr/lib/iceweasel
4. start browser, in the address type in about:plugins
Posted in Flash/Flex, Linux Debian | No Comments »
August 19th, 2008
If you have a windows machine and would like to install debian onto your system, and don’t have access to a CD-RW, here is a software you can use to install Debian onto your system
Install Debian Without burning CD
Posted in Linux Debian | No Comments »
August 13th, 2008
http://www.adobe.com/devnet/flex/videotraining/
Note for exercise 3.2: Using RemoteObject to send data to the server
I followed the URL to download lcds but get version 2.6. So there’s some difference with the exercise.
- 3. lcds 2.6 installed with tomcat
- 4. the exercise file is ex9_server.zip, I unziped it into \lcds\tomcat\webapps, it created a odt directory
- 5. start lcds: All Programs > Adobe > LiveCycle Data Services ES 2.6 > Start LiveCycle Data Services Server
- 6. the url is http://localhost:8400/odt
- 17. the root folder is C:\lcds\tomcat\webapps\odt
- 18. the root url is http://localhost:8400/odt/
- 22. the out folder is C:\lcds\tomcat\webapps\odt\adobeODT-debug

- 28. the url is http://localhost:8400/odt/adobeODT-debug/AdobeODT.html
exercise 3.1: Validating form data
exercise 3.2: Using RemoteObject to send data to the server
exercise 3.3: Implementing drag and drop between components
Note: in step20, the code is: rf.selectedRoom= dropData[0];
exercise 3.4: Using XML with E4X
Posted in Flash/Flex, Learning Track | No Comments »
August 6th, 2008
It’s been 2 years since my last Java project. I decided to spend sometime to renew my Java knowledge by taking Sang Shin’s course.
I’ll report my progress and upload my finished homework here.
You can find the tutorial here
Posted in Learning Track, Java | No Comments »
February 18th, 2008
Here’s a simple function to parse RGB string (#00ff00) into array, so it can be used in GD functions.
Hope it can save a little time for you.
list($r, $g, $b)= parse_RGB("#123456");
function parse_RGB($color)
{
$r= hexdec(substr($color, 1, 2));
$g= hexdec(substr($color, 3, 2));
$b= hexdec(substr($color, 5, 2));
return array($r, $g, $b);
}
Posted in PHP | 1 Comment »
February 15th, 2008
Just helped my wife to migrate her firefox profiles. She only need to migrate the bookmark and remembered password, other stuff is worthless.
Here’s the steps:
- Locate where the profile is: refer to this article http://kb.mozillazine.org/Profile_folder
- Start firefox profile manager from command line: firefox -pm
- Create a new profile, and set it as default profile, close firefox
- Copy the following files from old profile to new one: bookmarks.html cert8.db key3.db signons2.txt
- Restart firefox and enjoy
-
Posted in Personal | 1 Comment »
February 15th, 2008
http://concepts.waetech.com/bargraph/
Checkout this page.
Posted in Web Design | No Comments »
February 13th, 2008
I use Remote Desktop to connect some dell servers, and the default background image is slooooow.
So after a few minutes research, here’s the solution to remove it.
- open regedit
- goto [HKEY_USERS\.DEFAULT\Control Panel\Desktop]
- empty the value of wallpaper
- enjoy!
To make my life eaiser, I created a reg file, so just unzip and merge it would make your life easier too 
empty_wallpaper.zip
However if you’r concern about the safty, here’s the contents of the file, so you can create your own reg file easily.
[HKEY_USERS\.DEFAULT\Control Panel\Desktop]
"Wallpaper"=""
Posted in Windows | 1 Comment »