Bored

How come I'm so bored though i have a lot of tasks to do. Nor my mind won't let me think of good things in the past, nor my body won't let me do the funniest gestures. Hummmmm.. I hate this. If I could only find the answers to my dreams, will you give it to me? I'm talking to you, yes you. You who reads this post having the idea who really am I and my primary purpose in life. Tragedy composed my life, sadness became my path I was built for endurance purposes cause my body won't die.

How to add paremeter on a batch file

To make a batch file reusable and flexible you may want to make it able to accept parameters. For example, you create a batch file that will compile and run a java application. What if you want to compile another java file with a different file name, this is were parameterized batch file comes in.

Below is a sample code, just copy paste it to Notepad and save as `hello.bat`

@echo off
cd C:\Documents and Settings\guest\Desktop
javac %1.java
java -cp . %1


How to use:

On command prompt, type: hello HelloWorld

Note:
1. `hello` is the batch file
2. `HelloWorld` is the first parameter which stands for %1
3. You may use many parameters: %1 %2 %3 %4

How it works:

1. It changes directory where the file is
2. It compiles a java file - HelloWorld (first parameter) + .java
3. It runs HelloWorld compiled class

'Hello World' - First Java Application

Source: http://java.sun.com/docs/books/tutorial/getStarted/cupojava/win32.html

Create your very first java application:

1. Download JDK and install it using default settings

2. Using Notepad, create a file named `HelloWorldApp.java`.
    Note: On this lesson we'll save all files on Desktop.

3. Edit `HelloWorldApp.java` and copy / paste this code:

/**
* The HelloWorldApp class implements an application that
* simply prints "Hello World!" to standard output.
*/
class HelloWorldApp {
    public static void main(String[] args) {
        System.out.println("Hello World!"); // Display the string.
    }
}

4. Start a Command prompt. Start > Run then type cmd then click ok
    Note: Make sure you are on Desktop directory, use `cd` command to do this.

5. On prompt, type: set PATH=C:\Program Files\Java\jdk1.6.0_13\bin\
    Note: Change the value of `jdk1.6.0_13` based on your JDK version

6. On prompt, type: javac HelloWorldApp.java

7. On prompt, type: java -cp . HelloWorldApp

This will simply display the text `Hello World!` on the command prompt.

Source: http://java.sun.com/docs/books/tutorial/getStarted/cupojava/win32.html

List of Antivirus

Source:http://en.wikipedia.org/wiki/List_of_antivirus_software

This is a list of notable antivirus software, which has not yet made it into the comparison table.

Proprietary

- Cisco Security Agent
- DriveSentry (antivirus, antispyware and HIPS technologies)
- eSafe
- Fortinet FortiClient End Point Security
- F-PROT
- F-Secure
- G DATA Software
- Kaspersky Anti-Virus
- LinuxShield
- McAfee VirusScan
- nProtect
- Norman ASA
- Norton AntiVirus/Norton 360
- Panda Security
- PC Tools AntiVirus
- Rising AntiVirus
- Sophos Anti-Virus
- Trend Micro Internet Security
- Vba32 AntiVirus
- Windows Live OneCare

Freeware

- avast! Home Edition (registerware - home use only)[1]
- Avira AntiVir Personal - Free Antivirus (nagware - home use only)
- AOL Active Virus Shield (discontinued)
- AVG Anti-Virus Free (registerware/nagware)[2]
- BitDefender Free (lacks an on-access scanner)
- Comodo AntiVirus (home and business use)[3]
- DriveSentry (some paid features)
- F-PROT for Linux, FreeBSD, MS-DOS
- Malwarebytes AntiMalware (on-demand scanner is free; real-time protection is one-time fee)
- PC Tools AntiVirus Free Edition
- Rising Antivirus Free Edition (2009 no longer free[citation needed])

Open source

- Clam AntiVirus and ClamWin (for servers only; no on-access scan)
- Untangle Gateway Platform Virus Blocker

Source:http://en.wikipedia.org/wiki/List_of_antivirus_software

Facebook versus Friendster

Want to know which one is the most popular between Faceboook and Friendster?

Well, Google offers us a tool which may probably give us a glimpse of the real score in terms of data and users visit. Introducing `Google Trends` http://www.google.com/trends Powered by Google



Here is a sample:
1. Facebook and Friendster - http://trends.google.com/websites?q=facebook.com%2C+friendster.com&geo=all&date=all&sort=0
2. Microsoft, Apple and IBM - http://www.google.com/trends?q=microsoft%2C+apple%2C+ibm

You may also try it yourself, just visit any of the following:
Google Trends
Trends for Websites
Google Insights for Search

Have fun

Blocked Adsense Account

I just received an email from Adsense which states - 'we found that your Adsense account has posed a significant risk to our Adwords advertisers'


At first I thought it will only disable the ads, but much worst, I can't log in to my Adsense account. I'm not sure what happened but it seems I did something wrong.

Maybe I'll just wait until the ads show again.

For more info, visit this site:

https://www.google.com/adsense/support/bin/answer.py?answer=57153&sourceid=aso&subid=ww-ww-et-asui&medium=link

Developers' Best Friends

Here are some tools and softwares I found useful in my job. You may share yours.

Hardwares:

- PC / laptop
- Internet Connection - Sun Broadband
- Cellphone
- Mug - for my coffee

Softwares:

- Linux OS - Centos
- Putty
- Zend Studio
- Notepad
- WinSCP
- Tortoise SVN
- Izarc