9. Here are some useful files to download (June 23, 2004):

8. Create symlink in Linux for easy command access in the Console (January 25, 2004)
The command below will create a symlink for Mozilla under the /usr/bin directory:
> ln -s /usr/local/mozilla/mozilla mozilla

7. Setup Windows XP Professional (IIS 5.1) to run website locally (August 24, 2003)
1. Remove read-only on all the writable files, such as text, XML, database...
2. Go to the website folder, add Internet Guest Account (MACHINE\IUSER_MACHINE), and assign write access to that account
Note: settings may varies, this is how I get mine to work at my home machine running WinXP Pro w/ IIS

6. Unix tar and gzip command: (July 11, 2002)
To tar and gzip:
     > tar cvf myfile.tar *.txt
     > gzip myfile.tar
     This would result in a myfile.tar.gz file.
To extract:
     > gunzip -c myfile.tar.gz | tar xvf -

5. Unix CHMOD numbers: (May 25, 2002)
777: all can read/write/execute
755: all can read/execute, owner can also write
644: all can read only, owner can also read/write

4. Unix VI commands: (December 26, 2001)
i- insert mode (ESC to get out)
a- append mode (ESC to get out)
w- move by word
$- move to end of line
j- move line down
k- move line up
dw- delete word
x- delete char
dd- delete line
ctrl-f- forward page
ctrl-b- backward page
/- search (ex: /pattern)
u- undo last change
:1,$s/abc/xyz/g  - find all "abc" and replace it with "xyz"
:q- if hasn't make any change, quit
:q!- really quit - don't save
:w- write
:w!- force write

3. Here's the code to open a pop-up page using Javascript: (December 01, 2001)
<SCRIPT language="JavaScript">
     function openPopup () {
          popupWin = window.open ("./email.asp", "Email" , "resizable,width=450,height=300");
     }
</SCRIPT>


To call the JavaScript function in your page, add this piece inside your href section like this:
<A href ="javascript:openPopup ();">here</A>

Click here and open the page above.

2. Here's the way to set style for individual HTML control: (April 18, 2001, rev. 04/29/01)


<INPUT type="text" id="txtTextBox" name="txtTextBox" value="Markgor.com Textbox" style="font-size:9pts; font-family:verdana,arial; color:#fafad2; background-color:#6495ed; width:150">


<INPUT type="button" id="btnButton" name="btnButton" value="            Button" style="font-size:9pts; font-family:verdana,arial; color:red; background-color:#ffffff; width:150; FONT-WEIGHT: bolder; BACKGROUND-IMAGE: url(./images/small_logo1.jpg); BACKGROUND-REPEAT: no-repeat">

... of course, you can always define those style tags inside the BODY style also (See #1 tip).


1. This is the code that set your scrollbar color. See my scrollbar color --> This works in IE5.5 and above only.
Add the script block at the top of your HTML page, between <HTML> and <HEAD> tag. (April 13, 2001, rev. 10/14/01)


<STYLE>
     BODY {
          SCROLLBAR-3DLIGHT-COLOR: #000000;
          SCROLLBAR-ARROW-COLOR: #FFD7B9;
          SCROLLBAR-BASE-COLOR: #FFF4EA
     }

</STYLE>


to be continue...