Tuesday, August 25, 2009

PHP login script with almost every thing

This is a really nice PHP login scipt that you can use to any of your advanced web sites.

http://evolt.org/article/comment/17/60265/index.html

Friday, August 21, 2009

back ground process and nohup in linux

we can run a process in the background in linux by typing &(ampersand) at the end of the command.
We can use nohup to run a process in a remote machine or within our local machine after we are logging off or close the terminal

Wednesday, August 19, 2009

Load Huge Data block into Oracle database

You can use sqlloader to insert or update huge amount of data into an oracle database. All you need is to create a control file and data file according to that.
example control file is shown below (load.ctl)
load data
infile 'b00000004.dat'
badfile 'b00110000.bad'
discardfile 'b00110000.dsc'
INSERT INTO TABLE CHANA_TEST
FIELDS TERMINATED BY "," OPTIONALLY ENCLOSED BY '"'
(R_TYPE,CAUSE,FLAG,A_NUM,B_NUM)

using this control file you can insert data into table chana_test where you have 5 columns in that table. examle data file is shown below.

0,aa,1,"1233","3333"
1,ww,1,"123","32323"
0,aa,1,"1233","3333"
1,ww,1,"123","32323"

once you have these two files you can upload huge number of data in to the database very quickly. All you need to do is run this command and shell prompt.

$sqlldr user/pass control=load.ctl

That's it enjoy.

Monday, August 17, 2009

How to unlock your phone when you lost your security code

There are few methods you can try before you go on to a phone repairing shop
1. Remove the Battery and sim from the phone and keep them for about 5 minutes then assemble them again and try to switch on the phone. this might work.
2.dial 112 and while the call is going switch off the phone and then again switch on the phone.

Solution to Windows xp most annoying problem

I recently installed a windows vista inspirat pack on my office desktop PC. Since that pack reduced the speed of the pc i have uninstalled the pack and then reboot the machine. But after that all the things have gone. only desktop wallpaper remained. no takbar, no start button, cannot right click, cannot run explorer, cannot run iexplorer. But after searching web i fount his link that helped me to get rid of this annoyance. http://support.microsoft.com/kb/914222

Friday, August 14, 2009

Ubuntu Configuration

You can download and install Compiz Config package from ubuntu add/remove programs and then you can experience the real GUI experience with heart breaking simple OS UBUNTU