me,myself,english and programming..

Archive for the ‘Tips & Tricks’ Category

How to connect to Internet using your Laptop with BlackBerry device

Sunday, March 14th, 2010

First, you need to have BlackBerry Desktop Manager, connect your BlackBerry to your laptop and go to IP Modem menu.

connect1

(more…)

Drop table if Exists in Oracle

Tuesday, March 2nd, 2010

In MySQL, we can easily drop table and check whether it is exist or not using this statement.

DROP TABLE IF EXISTS MyTable

In Oracle, you can’t do that.

Solution that I found is to create a procedure and execute it.

As for my reference and others (if any) here is the script to create that procedure.

(more…)

How to export VCF file to BlackBerry

Friday, February 19th, 2010

VCF or vCard file is a file format standard for electronic business card. Below are the way how I used to export it to my BlackBerry.

1. Combine all the vcf file into one file. If you are in windows environment you can use below command. Make sure your working directory is correct.

type * > all_contacts.vcf

2. Download and install ABC Amber vCard converter. This software can convert vcf file to ipd file which is recognized by BlackBerry. Click BlackBerry icon to convert the selected contact.

abcConverter

(more…)

How to change SVN URL in Eclipse

Monday, February 8th, 2010

For whatever reason, sometimes you will need to change your SVN URL. Perhaps you need to place the server to a new building and change the ip address. After the changes, you cannot commit to that server using your eclipse.

To solve the problem, you can relocate your SVN server and change to the new URL. Look at the image below and you will know that it’s very easy

Open up SVN Repositories perspective in eclipse.

SVN Relocate

(more…)

window.onload() in IE and FF

Sunday, February 7th, 2010

For my team members.

The following works under both IE and FF:

window.onload = function() {
alert(0);
}

Happy coding,

-Just me-