me,myself,english and programming..

Archive for April, 2008

AutoIt – automate your task

Saturday, April 26th, 2008

I’ve been playing around with AutoIt for quite some time. AutoIt is freeware BASIC-like scripting language for automating the Windows GUI and general scripting.

For example, below code will run notepad and send some text to notepad.

Run(“notepad.exe”)
WinWaitActive(“Untitled – Notepad”)
Send(“This is some text.”)

this is some text

It’s easy to understand right ?

For my own use, I create a simple program to read a website (http://china232.libsyn.com/rss), grab only the mp3 link and download the file.

china3

(more…)

My Ubuntu 8.04 Hardy Screencast

Saturday, April 19th, 2008

It’s my first time uploading a video to youtube. :) Well, everybody has their own first time right.

take me quite some time to figure out to click left and right mouse buttons at the same time to get cube reflection effect. :)

My Reference :

Convert ogg to avi

Compiz fusion keyboard shortcuts

How to configure streamyx with WAG200G router

Monday, April 14th, 2008

Below are simple layout that I use in my home network. It’s pretty much straight forward.

Once eveything is been setup properly, go to next step.

wag200g diagram

Before we go ahead to configure the router, first we need to make sure that our streamyx line is activate. Once activated, DSL indicator in router should turn green. Otherwise, contact TM 100,they will be very helpfull to help you.

(more…)

Wordpress 2.5 – Upgrade my blog to new folder.

Saturday, April 12th, 2008

I just upgrade this blog to wordpress 2.5. Previously, If I were to upgrade my blog, I will upgrade it to my existing folder but this time I decide to upgrade it to new folder.

Others will have their own steps to upgrade, below are mine :

1. Export data from existing blog to XML File

Using export/import features in wordpress (ermm…need to create my existing blogroll manually.)

upgrade to 2

2. Upload wordpress-2.5.zip (together with my existing plugin and themes) and extract the file using cpanel to a new folder.

(more…)