27 August, 2008

2009 财政预算案(The Economic Report 2009)将在星期五公布

星期五(29/08/2008)下午四时,首相兼财政部长拿督斯里阿都拉巴达威将公布2009年财政预算案。

直播的媒体有:
RTM 1
RTM 2
Astro Awani (channel 501)
Astro News (channel 514)
Astro AEC (channel 301)
Astro Vaanavil (channel 201)
Radio Klasik Nasional (98.3)
Radio Traxx fm (90.3)

看看这次的糖果有多大和多甜。

2008 财政预算案(The Economic Report 2008)

20 March, 2008

How to know the Ip is belongs to whom in a LAN


About nbtstat
MS-DOS utility that displays protocol statistics and current TCP/IP connections using NBT.


Syntax

NBTSTAT [ [-a RemoteName] [-A IP address] [-c] [-n] [-r] [-R] [-RR] [-s] [-S] [interval] ]

-a (adapter status) Lists the remote machine's name table given its name.

-A (Adapter status) Lists the remote machine's name table given its IP address.

-c (cache) Lists NBT's cache of remote [machine] names and their IP addresses.

-n (names) Lists local NetBIOS names.

-r (resolved) Lists names resolved by broadcast and via WINS

-R (Reload) Purges and reloads the remote cache name table

-S (Sessions) Lists sessions table with the destination IP addresses

-s (sessions) Lists sessions table converting destination IP addresses to computer
NETBIOS names.
-RR (ReleaseRefresh) Sends Name Release packets to WINs and then, starts Refresh
RemoteName Remote host machine name.

IP address Dotted decimal representation of the IP address.


Examples
nbtstat -a 204.224.150.3Local Area Connection:
Node IpAddress: [204.224.150.3] Scope Id: []
NetBIOS Remote Machine Name Table
Name Type Status
---------------------------------------------
HOPE4 <00> UNIQUE Registered
CHGROUP <00> GROUP Registered
HOPE4 <20> UNIQUE Registered
HOPE4 <03> UNIQUE Registered
CHGROUP <1e> GROUP Registered
CHGROUP <1d> UNIQUE Registered
..__MSBROWSE__. <01> GROUP Registered
ADMINISTRATOR <03> UNIQUE Registered
MAC Address = 00-00-00-00-00-00




08 February, 2008

Install multiple versions of IE on one OS.

Want to test your website in various versions of Internet Explorer(IE)?

There are many ways to do this:
1) Download the application : http://tredosoft.com/files/multi-ie/multiple-ie-setup.exe called "Multiple IE".
- the problem is, it is not 100% stable after i tested. For me, it is not 100% simulate the older version IE specially when rendering PNG, some CSS...



2) Install another virtual OS using Virtual PC or VMware, then install the IE version you want.
- the problem is, time consuming & extra harddisk space needed. Not everyone know how to install and configure virtual OS ( but it is not too hard, i will teach how to install a virtual OS with just few steps) and you might install many virtual OS if you want to install more versions of IE.
- the good thing is, it wont corrupt your current IE. So you can do what ever you want in this virtual OS.

3) Install different OS in your different partitions of your harddisk.

4) Mix. (1)+(2) : Install ONE Virtual OS, then install ONE Multiple IE installer in the Virtual OS.
- the good thing is, if anything happen wrong to the Multiple IE, you can just delete the virtual OS .
- And it just need a bit extra memory & extra harddisk, it depends on your OS version. Of cause the more memory you have the smoother your OS running on your PC.

updated(11 June 2009):
There is another better solution: install a software called "IETester"
You can grab the application at : http://www.my-debugbar.com/wiki/IETester/HomePage
There are some limitations, but it is good enough for those who not really 100% care about the version problem, BUT need to make sure there is not look too worst in the older versions of IE.

29 October, 2007

How to make DIV layer overlap a Flash movie?

1. Use <param name="wmode" value="transparent">, for IE.
2. Add the wmode="transparent" parameter to the EMBED tag, for FF & Safari.

Example:

<object width="100" height="100">
<param name="movie" value="http://www.lavatica.com/test.swf">
<param name="wmode" value="transparent">
<embed src="http://www.lavatica.com/test.swf" wmode="transparent" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash" width="100" height="100"></embed>
</object>

p/s: tested in IE 6&7, Safari, Opera 9, FF 2.

24 October, 2007

align="absmiddle" or align="absbottom" not validate in W3C Markup Validator

Normally we will use align="absmiddle" to make an image align in the middle between a HTML element/object, e.g:


< input name="text1" type="text" maxlength="17">< src="button_ok.gif'" alt="OK" style="margin-bottom:1px;" align="absmiddle">
or
<img src="images/icon_diamond.gif" alt="" align="absbottom">

You will get error when you try to validate your page with W3C Markup Validator (http://validator.w3.org/check).

How to solve?

Use this:

<img src="images/icon_diamond.gif" alt="" style="vertical-align:bottom">

Same to:

<img src="images/icon_diamond.gif" alt="" style="vertical-align:middle">