Today I was trying to View Contents of a Large Text file of Size 3 GB . No Text Viewer Supported to open it . Notepad , textPad , Wordpad , Editplus All failed or ended up in Hanging system .
There are two ways use type command on DOS prompt in windows or use head command on *nix.
Welcome to my IT Blog. You will find IT related Stuff , IT Trends , latest news about Information Technology. Do visit often.
Wednesday, September 27, 2006
Monday, September 18, 2006
Mono
I was searching Linux based hosting for ASP.net Applications .. I fell this Mono will satisfy my requirments
Mono - Project
What is Mono?
Mono provides the necessary software to develop and run .NET client and server applications on Linux, Solaris, Mac OS X, Windows, and Unix. Sponsored by Novell (http://www.novell.com), the Mono open source project has an active and enthusiastic contributing community and is positioned to become the leading choice for development of Linux applications
Read on http://www.mono-project.com
Mono - Project
What is Mono?
Mono provides the necessary software to develop and run .NET client and server applications on Linux, Solaris, Mac OS X, Windows, and Unix. Sponsored by Novell (http://www.novell.com), the Mono open source project has an active and enthusiastic contributing community and is positioned to become the leading choice for development of Linux applications
Read on http://www.mono-project.com
Thursday, September 14, 2006
HOW TO RECRUIT THE RIGHT PERSON FOR THE JOB?
Put about 100 bricks in some
particular order in a closed
room with an
open window.
Then send 2 or 3 candidates in
the room and close the door.
Leave them alone and come back
after 6 hours and then analyze
The situation.
If they are counting the
bricks.
Put them in the accounts
department.
If they are recounting them..
Put them in auditing.
If they have messed up the
whole place with the bricks.
Put them in engineering.
If they are arranging the
bricks in some strange order. Put them in planning.
If they are throwing the
bricks at each other.
Put them in operations.
If they are sleeping.
Put them in security.
If they have broken the bricks
into pieces.
Put them in information
technology.
If they are sitting idle.
Put them in human resources.
If they say they have tried
different combinations, yet
not a brick has
been moved. Put them in sales.
If they have already left for
the day.
Put them in marketing.
If they are staring out of the
window.
Put them on strategic
planning.
And then last but not least.
If they are talking to each
other and not a single brick
has been
moved.
Congratulate them and put them
in top management.
particular order in a closed
room with an
open window.
Then send 2 or 3 candidates in
the room and close the door.
Leave them alone and come back
after 6 hours and then analyze
The situation.
If they are counting the
bricks.
Put them in the accounts
department.
If they are recounting them..
Put them in auditing.
If they have messed up the
whole place with the bricks.
Put them in engineering.
If they are arranging the
bricks in some strange order. Put them in planning.
If they are throwing the
bricks at each other.
Put them in operations.
If they are sleeping.
Put them in security.
If they have broken the bricks
into pieces.
Put them in information
technology.
If they are sitting idle.
Put them in human resources.
If they say they have tried
different combinations, yet
not a brick has
been moved. Put them in sales.
If they have already left for
the day.
Put them in marketing.
If they are staring out of the
window.
Put them on strategic
planning.
And then last but not least.
If they are talking to each
other and not a single brick
has been
moved.
Congratulate them and put them
in top management.
Monday, September 11, 2006
Men always have better friends.....???????
>Friends of Women......
A wife was not at home for a whole night. So she tells her husband, the
very next morning, that she stayed at her (girl) friend's apartment
overnight. So the husband calls 10 of her best (girl) friends and none
of them confirm that she was with them . . .
>Friends of Men.......
A husband was not at home for a whole night. So he tells his wife the very
next morning, that he stayed at his friend's apartment over night. So
the wife calls 10 of his best friends and 5 of them confirm that he stayed
at their apartments that night and another 5 are claiming that he is still
with them . . .
This is called friendship………
A wife was not at home for a whole night. So she tells her husband, the
very next morning, that she stayed at her (girl) friend's apartment
overnight. So the husband calls 10 of her best (girl) friends and none
of them confirm that she was with them . . .
>Friends of Men.......
A husband was not at home for a whole night. So he tells his wife the very
next morning, that he stayed at his friend's apartment over night. So
the wife calls 10 of his best friends and 5 of them confirm that he stayed
at their apartments that night and another 5 are claiming that he is still
with them . . .
This is called friendship………
Saturday, July 08, 2006
The Lizard Story
Okay, for anyone who has children, known children, or been a child, this is TOO funny... Lizard Birthing Story
If you have raised kids (or been one), and gone through the pet syndrome including toilet-flush burials for dead goldfish, the story below will have you laughing out LOUD!
Overview I had to take my son's lizard to the vet. Here's what happened
Just after dinner one night, my son came up to tell me there was "something wrong" with one of the two lizards he holds prisoner in his room. "He's just lying there looking sick," he told me. "I'm serious, Dad. Can you help?"
I put my best lizard-healer statement on my face and followed him into his bedroom. One of the little lizards was indeed lying on his back, looking stressed. I immediately knew what to do. "Honey," I called, "come look at the lizard!"
Oh my gosh," my wife diagnosed after a minute. "She's having babies."
"What?" my son demanded. "But their names are Bert and Ernie, Mom!" I was equally outraged. "Hey, how can that be? I thought we said we didn't want them to reproduce," I accused my wife.
"Well, what do you want me to do, post a sign in their cage?" she inquired. (I actually think she said this sarcastically!)
"No, but you were supposed to get two boys!" I reminded her, (in my most loving, calm, sweet voice, while gritting my teeth together).
"Yeah, Bert and Ernie!" my son agreed.
"Well, it's just a little hard to tell on some guys, you know," she informed me. (Again with the sarcasm, you think?)
By now the rest of the family had gathered to see what was going on. I shrugged, deciding to make the best of it. "Kids, this is going to be a wondrous experience, I announced. "We're about to witness the miracle of birth"
"OH, Gross!", they shrieked!
"Well, isn't THAT just Great! What are we going to do with a litter of tiny little lizard babies?" my wife wanted to know. (I really do think she was being snotty here, too, don't you?)
We peered at the patient. After much struggling, what looked like a tiny foot would appear briefly, vanishing a scant second later.
"We don't appear to be making much progress," I noted.
"It's breeched," my wife whispered, horrified. "Do something, Dad!" my son urged
"Okay, okay." Squeamishly, I reached in and grabbed the foot when it next appeared, giving it a gingerly tug. It disappeared. I tried several more times with the same results.
"Should I call 911?" my eldest daughter wanted to know. "Maybe they talk us through the trauma." (You see a pattern here with the females in my house?)
"Let's get Ernie to the vet," I said grimly. We drove to the vet with my son holding the cage in his lap. "Breathe, Ernie, breathe," he urged. "I don't think lizards do Lamaze," his mother noted to him. (Women can be so cruel to their own young. I mean what she does to me is one thing, but this boy is of her womb, for God's sake.)
The vet took Ernie back to the examining room and peered at the little animal through a magnifying glass. "What do you think, Doc, a C-section?" suggested scientifically.
Oh, very interesting," he murmured. "Mr. and Mrs. Cameron, may I speak to you privately for a moment?"
I gulped, nodding for my son to step outside. "Is Ernie going to be okay?" my wife asked.
"Oh, perfectly," the vet assured us. "This lizard is not in labor. In fact, it wont EVER happen... Ernie is a boy. You see, Ernie is a young male. And occasionally, as they come into maturity, like most male species, they um.... um....masturbate.
Just the way he did, lying on his back.
He blushed, glancing at my wife. "Well, you know what I'm saying, Mr. Cameron."
We were silent, absorbing this. "So Ernie's just...just... Excited," my wife offered.
Exactly," the vet replied, relieved that we understood.
More silence.
Then my viscous, cruel wife started to giggle and giggle. And then even laugh loudly. "What's so funny?" I demanded, knowing, but not that the woman I married would commit the upcoming affront to my flawless manliness.
Tears were now running down her face. "It's just...that... I'm picturing you pulling on its... its...teeny little..." she gasped for more air to bellow in laughter once more. "That's enough," I warned. We thanked the Veterinarian and hurriedly bundled the lizards and our son back into the car. He was glad everything was going to be okay.
"I know Ernie's really thankful for what you've done, Dad," he told me.
Oh, you have NO idea," my wife agreed, collapsing with laughter.
2 - lizards - $140..
1 - Cage - $50...
Trip to the Vet - $30...
Memory of your husband pulling on a lizard's winky - Priceless...
If you have raised kids (or been one), and gone through the pet syndrome including toilet-flush burials for dead goldfish, the story below will have you laughing out LOUD!
Overview I had to take my son's lizard to the vet. Here's what happened
Just after dinner one night, my son came up to tell me there was "something wrong" with one of the two lizards he holds prisoner in his room. "He's just lying there looking sick," he told me. "I'm serious, Dad. Can you help?"
I put my best lizard-healer statement on my face and followed him into his bedroom. One of the little lizards was indeed lying on his back, looking stressed. I immediately knew what to do. "Honey," I called, "come look at the lizard!"
Oh my gosh," my wife diagnosed after a minute. "She's having babies."
"What?" my son demanded. "But their names are Bert and Ernie, Mom!" I was equally outraged. "Hey, how can that be? I thought we said we didn't want them to reproduce," I accused my wife.
"Well, what do you want me to do, post a sign in their cage?" she inquired. (I actually think she said this sarcastically!)
"No, but you were supposed to get two boys!" I reminded her, (in my most loving, calm, sweet voice, while gritting my teeth together).
"Yeah, Bert and Ernie!" my son agreed.
"Well, it's just a little hard to tell on some guys, you know," she informed me. (Again with the sarcasm, you think?)
By now the rest of the family had gathered to see what was going on. I shrugged, deciding to make the best of it. "Kids, this is going to be a wondrous experience, I announced. "We're about to witness the miracle of birth"
"OH, Gross!", they shrieked!
"Well, isn't THAT just Great! What are we going to do with a litter of tiny little lizard babies?" my wife wanted to know. (I really do think she was being snotty here, too, don't you?)
We peered at the patient. After much struggling, what looked like a tiny foot would appear briefly, vanishing a scant second later.
"We don't appear to be making much progress," I noted.
"It's breeched," my wife whispered, horrified. "Do something, Dad!" my son urged
"Okay, okay." Squeamishly, I reached in and grabbed the foot when it next appeared, giving it a gingerly tug. It disappeared. I tried several more times with the same results.
"Should I call 911?" my eldest daughter wanted to know. "Maybe they talk us through the trauma." (You see a pattern here with the females in my house?)
"Let's get Ernie to the vet," I said grimly. We drove to the vet with my son holding the cage in his lap. "Breathe, Ernie, breathe," he urged. "I don't think lizards do Lamaze," his mother noted to him. (Women can be so cruel to their own young. I mean what she does to me is one thing, but this boy is of her womb, for God's sake.)
The vet took Ernie back to the examining room and peered at the little animal through a magnifying glass. "What do you think, Doc, a C-section?" suggested scientifically.
Oh, very interesting," he murmured. "Mr. and Mrs. Cameron, may I speak to you privately for a moment?"
I gulped, nodding for my son to step outside. "Is Ernie going to be okay?" my wife asked.
"Oh, perfectly," the vet assured us. "This lizard is not in labor. In fact, it wont EVER happen... Ernie is a boy. You see, Ernie is a young male. And occasionally, as they come into maturity, like most male species, they um.... um....masturbate.
Just the way he did, lying on his back.
He blushed, glancing at my wife. "Well, you know what I'm saying, Mr. Cameron."
We were silent, absorbing this. "So Ernie's just...just... Excited," my wife offered.
Exactly," the vet replied, relieved that we understood.
More silence.
Then my viscous, cruel wife started to giggle and giggle. And then even laugh loudly. "What's so funny?" I demanded, knowing, but not that the woman I married would commit the upcoming affront to my flawless manliness.
Tears were now running down her face. "It's just...that... I'm picturing you pulling on its... its...teeny little..." she gasped for more air to bellow in laughter once more. "That's enough," I warned. We thanked the Veterinarian and hurriedly bundled the lizards and our son back into the car. He was glad everything was going to be okay.
"I know Ernie's really thankful for what you've done, Dad," he told me.
Oh, you have NO idea," my wife agreed, collapsing with laughter.
2 - lizards - $140..
1 - Cage - $50...
Trip to the Vet - $30...
Memory of your husband pulling on a lizard's winky - Priceless...
MOMENTS IN LIFE .......
MOMENTS IN LIFE
There are moments in life when you miss someone
so much that you just want to pick them from
your dreams and hug them for real!
When the door of happiness closes, another opens;
but often times we look so long at the
closed door that we don't see the one
which has been opened for us.
Don't go for looks; they can deceive.
Don't go for wealth; even that fades away.
Go for someone who makes you smile,
because it takes only a smile to
make a dark day seem bright.
Find the one that makes your heart smile.
Dream what you want to dream;
go where you want to go;
be what you want to be,
because you have only one life
and one chance to do all the things
you want to do.
May you have enough happiness to make you sweet,
enough trials to make you strong,
enough sorrow to keep you human, and
enough hope to make you happy.
The happiest of people don't necessarily
have the best of everything;
they just make the most of
everything that comes along their way.
The brightest future will always
be based on a forgotten past;
you can't go forward in life until
you let go of your past failures and heartaches.
When you were born, you were crying
and everyone around you was smiling.
Live your life so at the end,
you're the one who is smiling and everyone
around you is crying.
Please send this message to those people
who mean something to you ;
to those who have touched your life in one way or another;
to those who make you smile when you really need it;
to those who make you see the
brighter side of things when you are really down;
to those whose friendship you appreciate;
to those who are so meaningful in your life.
If you don't send it, don't worry,
nothing bad will happen to you;
you will just miss out on the opportunity
to brighten someone's day with this message!!!
Don't count the years--count the memories...........
Life is not measured by the number of breaths we take,
but by the moments that take our breath away!
There are moments in life when you miss someone
so much that you just want to pick them from
your dreams and hug them for real!
When the door of happiness closes, another opens;
but often times we look so long at the
closed door that we don't see the one
which has been opened for us.
Don't go for looks; they can deceive.
Don't go for wealth; even that fades away.
Go for someone who makes you smile,
because it takes only a smile to
make a dark day seem bright.
Find the one that makes your heart smile.
Dream what you want to dream;
go where you want to go;
be what you want to be,
because you have only one life
and one chance to do all the things
you want to do.
May you have enough happiness to make you sweet,
enough trials to make you strong,
enough sorrow to keep you human, and
enough hope to make you happy.
The happiest of people don't necessarily
have the best of everything;
they just make the most of
everything that comes along their way.
The brightest future will always
be based on a forgotten past;
you can't go forward in life until
you let go of your past failures and heartaches.
When you were born, you were crying
and everyone around you was smiling.
Live your life so at the end,
you're the one who is smiling and everyone
around you is crying.
Please send this message to those people
who mean something to you ;
to those who have touched your life in one way or another;
to those who make you smile when you really need it;
to those who make you see the
brighter side of things when you are really down;
to those whose friendship you appreciate;
to those who are so meaningful in your life.
If you don't send it, don't worry,
nothing bad will happen to you;
you will just miss out on the opportunity
to brighten someone's day with this message!!!
Don't count the years--count the memories...........
Life is not measured by the number of breaths we take,
but by the moments that take our breath away!
BE
Be understanding to your enemies.
Be loyal to your friends.
Be strong enough to face the world each day.
Be weak enough to know you cannot do everything alone.
Be generous to those who need your help.
Be frugal with that you need yourself.
Be wise enough to know that you do not know everything.
Be foolish enough to believe in miracles.
Be willing to share your joys.
Be willing to share the sorrows of others.
Be a leader when you see a path others have missed.
Be a follower when you are shrouded by the mists of uncertainty.
Be first to congratulate an opponent who succeeds.
Be last to criticize a colleague who fails.
Be sure where your next step will fall, so that you will not tumble.
Be sure of your final destination, in case you are going the wrong way.
Be loving to those who love you.
Be loving to those who do not love you; they may change.
Be loyal to your friends.
Be strong enough to face the world each day.
Be weak enough to know you cannot do everything alone.
Be generous to those who need your help.
Be frugal with that you need yourself.
Be wise enough to know that you do not know everything.
Be foolish enough to believe in miracles.
Be willing to share your joys.
Be willing to share the sorrows of others.
Be a leader when you see a path others have missed.
Be a follower when you are shrouded by the mists of uncertainty.
Be first to congratulate an opponent who succeeds.
Be last to criticize a colleague who fails.
Be sure where your next step will fall, so that you will not tumble.
Be sure of your final destination, in case you are going the wrong way.
Be loving to those who love you.
Be loving to those who do not love you; they may change.
Before You....
Before you think of saying an unkind word
Think of someone who can't speak
Before you complain about the taste of your food
Think of someone who has nothing to eat
Before you complain about your husband or wife
Think of someone who's crying out to God for a companion
Today before you complain about life
Think of someone who went too early to heaven
Before you complain about your children
Think of someone who desires children but they're barren
Before you argue about your dirty house; someone didn't clean or sweep
Think of the people who are living in the streets
Before whining about the distance you drive
Think of someone who walks the same distance with their feet
And when you are tired and complain about your job
Think of the unemployed, the disabled and those who wished they had your job
But before you think of pointing the finger or condemning another
Remember that not one of us are without sin and we all answer to one maker
And when depressing thoughts seem to get you down
Put a smile on your face and thank God you're alive and still around
Life is a gift
Live it...
Enjoy it...
Celebrate it...
And fulfill it.
Think of someone who can't speak
Before you complain about the taste of your food
Think of someone who has nothing to eat
Before you complain about your husband or wife
Think of someone who's crying out to God for a companion
Today before you complain about life
Think of someone who went too early to heaven
Before you complain about your children
Think of someone who desires children but they're barren
Before you argue about your dirty house; someone didn't clean or sweep
Think of the people who are living in the streets
Before whining about the distance you drive
Think of someone who walks the same distance with their feet
And when you are tired and complain about your job
Think of the unemployed, the disabled and those who wished they had your job
But before you think of pointing the finger or condemning another
Remember that not one of us are without sin and we all answer to one maker
And when depressing thoughts seem to get you down
Put a smile on your face and thank God you're alive and still around
Life is a gift
Live it...
Enjoy it...
Celebrate it...
And fulfill it.
Believe
Believe while others are doubting.
Plan while others are playing.
Study while others are sleeping.
Decide while others are delaying.
Prepare while others are daydreaming.
Begin while others are procrastinating.
Work while others are wishing.
Save while others are wasting.
Listen while others are talking.
Smile while others are frowning.
Commend while others are criticizing.
Persist while others are quitting.
Plan while others are playing.
Study while others are sleeping.
Decide while others are delaying.
Prepare while others are daydreaming.
Begin while others are procrastinating.
Work while others are wishing.
Save while others are wasting.
Listen while others are talking.
Smile while others are frowning.
Commend while others are criticizing.
Persist while others are quitting.
Principles Of Life
* Winning isn't everything. But wanting to win is.
* You would achieve more, if you don't mind who gets
The credit.
* When everything else is lost, the future still
Remains.
* Don't fight too much. Or the enemy would know your
Art of war.
* The only job you start at the top is when you dig a
Grave.
* If you don't stand for something, you'll fall for
Everything.
* If you do little things well, you'll do big ones
Better.
* Only thing that comes to you without effort is old
Age.
* You won't get a second chance to make the first
Impression.
* Only those who do nothing do not make mistakes.
* Never take a problem to your boss unless you have a
Solution.
* If you are not failing you're not taking enough
Risks.
* Don't try to get rid of bad temper by losing it.
* If at first you don't succeed, skydiving is not for
You.
* Those who don't make mistakes usually don't make
Anything
* There are two kinds of failures. Those who think and
Never do, and those who do and never think.
* Pick battles big enough to matter, small enough to
Win.
* All progress has resulted from unpopular decisions.
* Change your thoughts and you change your world.
* Understanding proves intelligence, not the speed of
The learning.
* There are two kinds of fools in this world. Those
Who give advise and those who don't take it.
* The best way to kill an idea is to take it to a
Meeting
* Management is doing things right. Leadership is
Doing the right things.
* Friendship founded on business is always better than
Business founded on friendship.
* You would achieve more, if you don't mind who gets
The credit.
* When everything else is lost, the future still
Remains.
* Don't fight too much. Or the enemy would know your
Art of war.
* The only job you start at the top is when you dig a
Grave.
* If you don't stand for something, you'll fall for
Everything.
* If you do little things well, you'll do big ones
Better.
* Only thing that comes to you without effort is old
Age.
* You won't get a second chance to make the first
Impression.
* Only those who do nothing do not make mistakes.
* Never take a problem to your boss unless you have a
Solution.
* If you are not failing you're not taking enough
Risks.
* Don't try to get rid of bad temper by losing it.
* If at first you don't succeed, skydiving is not for
You.
* Those who don't make mistakes usually don't make
Anything
* There are two kinds of failures. Those who think and
Never do, and those who do and never think.
* Pick battles big enough to matter, small enough to
Win.
* All progress has resulted from unpopular decisions.
* Change your thoughts and you change your world.
* Understanding proves intelligence, not the speed of
The learning.
* There are two kinds of fools in this world. Those
Who give advise and those who don't take it.
* The best way to kill an idea is to take it to a
Meeting
* Management is doing things right. Leadership is
Doing the right things.
* Friendship founded on business is always better than
Business founded on friendship.
Sunday, April 02, 2006
How to change the firewall settings.
How to change the firewall settings.
__________________
Windows XP
Log on as a user that is a member of the Administrators group.
Open the Network Connections folder, right click the desired connection, and then click Properties.
Click the Advanced tab, and remove the check from Protect my computer and network by limiting or preventing access to this computer from the Internet.
Click Yes to the dialog windows that asks you to confirm your decision to disable the firewall.
Norton Internet Security
Log on using an account with Adult or Supervisor rights. Open Norton Internet Security.
On the left side of the window, click Internet Status and then click Current Status.
In the Current Status window, click Disable.
Norton Personal Firewall
Open Norton Personal Fireall.
On the left side of the window, click Internet Status and then click Current Status.
In the Current Status window, click Disable.
You can also disable Norton Personal Firewall by right-clicking on the Norton Personal Firewall icon in the notification area of the taskbar and selecting disable.
McAfee Internet Security
Right-click the McAfee icon.
Point to Personal Firewall and then click Options.
Click the Security tab.
Set the Security Level by moving the slider to the desired level.
Set Access to Low.
Click OK to save changes.
McAfee Firewall
Click Stop McAfee Firewall to disable the software.
From the Welcome to McAfee Firewall screen, go to the Network Control Settings and select Allow All Traffic.
this is info for difriend firewalls
__________________
Windows XP
Log on as a user that is a member of the Administrators group.
Open the Network Connections folder, right click the desired connection, and then click Properties.
Click the Advanced tab, and remove the check from Protect my computer and network by limiting or preventing access to this computer from the Internet.
Click Yes to the dialog windows that asks you to confirm your decision to disable the firewall.
Norton Internet Security
Log on using an account with Adult or Supervisor rights. Open Norton Internet Security.
On the left side of the window, click Internet Status and then click Current Status.
In the Current Status window, click Disable.
Norton Personal Firewall
Open Norton Personal Fireall.
On the left side of the window, click Internet Status and then click Current Status.
In the Current Status window, click Disable.
You can also disable Norton Personal Firewall by right-clicking on the Norton Personal Firewall icon in the notification area of the taskbar and selecting disable.
McAfee Internet Security
Right-click the McAfee icon.
Point to Personal Firewall and then click Options.
Click the Security tab.
Set the Security Level by moving the slider to the desired level.
Set Access to Low.
Click OK to save changes.
McAfee Firewall
Click Stop McAfee Firewall to disable the software.
From the Welcome to McAfee Firewall screen, go to the Network Control Settings and select Allow All Traffic.
this is info for difriend firewalls
How to remove a dual boot……..
How to remove a dual boot……..
Is your machine now waits for a timeout durring bootup and waiting for you to select one of 2 available boot configurations. Both configs are the same. You only wanted one.. Here’s how to remove one of the configs so the timeout durring bootup will not happen?
1. Go to start, settings, control panel,
Select view all if you cant see everything there...
2. Double click (system)
click (advanced)
3. Go to (startup and recovery)
It should let you choose the default operating system you want to use,
and uncheck the 2 boxes under it as well...
save,close and reboot,it should boot to the one you choose.
__________________
or
Win xp Doal Boot
Rigth click my computer icon>
click properties>
CLICK ADVANCE> and in system start up and recovery click advace?
You can edit your start up option
Is your machine now waits for a timeout durring bootup and waiting for you to select one of 2 available boot configurations. Both configs are the same. You only wanted one.. Here’s how to remove one of the configs so the timeout durring bootup will not happen?
1. Go to start, settings, control panel,
Select view all if you cant see everything there...
2. Double click (system)
click (advanced)
3. Go to (startup and recovery)
It should let you choose the default operating system you want to use,
and uncheck the 2 boxes under it as well...
save,close and reboot,it should boot to the one you choose.
__________________
or
Win xp Doal Boot
Rigth click my computer icon>
click properties>
CLICK ADVANCE> and in system start up and recovery click advace?
You can edit your start up option
Tweak your own PC!, Increase your DL 20%
Windows XP uses 20% of your bandwidth !
Microsoft reserve 20% of your available bandwidth for their own purposes (suspect for updates and interrogating your machine etc..)
Here's how to get it back:
Click Start-->Run-->type "gpedit.msc" without the "
This opens the group policy editor. Then go to:
Local Computer Policy-->Computer Configuration-->Administrative Templates-->Network-->QOS Packet Scheduler-->Limit Reservable Bandwidth
Double click on Limit Reservable bandwidth. It will say it is not configured, but the truth is under the 'Explain' tab :
"By default, the Packet Scheduler limits the system to 20 percent of the bandwidth of a connection, but you can use this setting to override the default."
So the trick is to ENABLE reservable bandwidth, then set it to ZERO. This will allow the system to reserve nothing, rather than the default 20%.
Works on XP Pro and 2000.
this gpedit.msc is another great way to tweak pc without having to use outside tools. But be careful and read the information bars before you make any changes.
Microsoft reserve 20% of your available bandwidth for their own purposes (suspect for updates and interrogating your machine etc..)
Here's how to get it back:
Click Start-->Run-->type "gpedit.msc" without the "
This opens the group policy editor. Then go to:
Local Computer Policy-->Computer Configuration-->Administrative Templates-->Network-->QOS Packet Scheduler-->Limit Reservable Bandwidth
Double click on Limit Reservable bandwidth. It will say it is not configured, but the truth is under the 'Explain' tab :
"By default, the Packet Scheduler limits the system to 20 percent of the bandwidth of a connection, but you can use this setting to override the default."
So the trick is to ENABLE reservable bandwidth, then set it to ZERO. This will allow the system to reserve nothing, rather than the default 20%.
Works on XP Pro and 2000.
this gpedit.msc is another great way to tweak pc without having to use outside tools. But be careful and read the information bars before you make any changes.
Tuesday, March 14, 2006
Deleting Duplicate Records in SQL Server
This article explains a solution which can be used for deleting non-unique duplicate records from a table. In Oracle, every row in a table has a unique identifier so deleting duplicate records can be done as each record is unique based on its rowid (rowid is the mechanism which Oracle uses to physically locate the records in a table). But as SQL Server 7.0/2000 does not have the concept of row identifier it’s difficult to delete duplicate records from a table.
I have created a Script which I have found very useful when I am faced with such a problem. In the example below I have tried to explain how the script works. First let’s create a non indexed table using the script given below:
/*********************************************************/
/* Script for Creation of Employee Table*/
CREATE TABLE [dbo].[Employee] (
[id] [int] NULL ,
[name] [Varchar] (50) COLLATE Latin1_General_CI_AS NULL ,
[salary] [Numeric](18, 2) NULL
) ON [PRIMARY]
GO
/*********************************************************/
Then add some records into the table using the script given below. Note that there are 5 similar records being inserted into the table
/**********************************************************/
/* Script for Insertion of duplicate records to the Table */
Insert into employee values (1,'Ram', 1000.00)
Insert into employee values (1,'Ram', 1000.00)
Insert into employee values (2,'Joe', 2000.00)
Insert into employee values (2,'Joe', 1000.00)
Insert into employee values (3,'Mary', 1000.00)
Insert into employee values (4,'Julie', 5000.00)
Insert into employee values (2,'Joe', 1000.00)
Insert into employee values (1,'Ram', 1000.00)
/**********************************************************/
The table below shows the data present in the ‘Employee’ table.
id Name Salary
1 Ram 1000
1 Ram 1000
2 Joe 2000
2 Joe 1000
3 Mary 1000
4 Julie 5000
2 Joe 1000
1 Ram 1000
The following script deletes the duplicates from ‘Employee’ table. If there are duplicate records then the script will get a count of the duplicate records and will then delete the records till the count is 1.
/*******************************************************************/
/* Script for deletion of Duplicate record from the Employee Table */
Declare @id int,
@name varchar (50),
@cnt int,
@salary numeric
Declare getallrecords cursor local static For
Select count (1), id, name, salary
from employee (nolock)
group by id, name,salary having count(1)>1
Open getallrecords
Fetch next from getallrecords into @cnt,@id,@name,@salary
--Cursor to check with all other records
While @@fetch_status=0
Begin
Set @cnt= @cnt-1
Set rowcount @cnt
-- Deleting the duplicate records. Observe that all fields are mentioned at the where condition
Delete from employee where id=@id and name=@name
and salary=@salary
Set rowcount 0
Fetch next from getallrecords into @cnt,@id,@name,@salary
End
Close getallrecords
Deallocate getallrecords
*******************************************************************
The logic of the script is pretty simple; the select query retrieves all the records that are duplicates i.e. having Count greater than one. The result set is retrieved by opening a local cursor which fetches one row at a time.
Note here that the Count column is a part of the select query; this is used to identify the no of duplicate rows in the result set.
The row count has been set to (Value obtained from the Count Column – 1). SQL Server uses rowcount to stop processing the query after the specified numbers of rows are returned. The delete statement is executed only to delete the rows set by the Set rowcount command. Once the records have been deleted, the rowcount of SQL server is reset to the default value of 0.
... Original Article on sqlserver central
I have created a Script which I have found very useful when I am faced with such a problem. In the example below I have tried to explain how the script works. First let’s create a non indexed table using the script given below:
/*********************************************************/
/* Script for Creation of Employee Table*/
CREATE TABLE [dbo].[Employee] (
[id] [int] NULL ,
[name] [Varchar] (50) COLLATE Latin1_General_CI_AS NULL ,
[salary] [Numeric](18, 2) NULL
) ON [PRIMARY]
GO
/*********************************************************/
Then add some records into the table using the script given below. Note that there are 5 similar records being inserted into the table
/**********************************************************/
/* Script for Insertion of duplicate records to the Table */
Insert into employee values (1,'Ram', 1000.00)
Insert into employee values (1,'Ram', 1000.00)
Insert into employee values (2,'Joe', 2000.00)
Insert into employee values (2,'Joe', 1000.00)
Insert into employee values (3,'Mary', 1000.00)
Insert into employee values (4,'Julie', 5000.00)
Insert into employee values (2,'Joe', 1000.00)
Insert into employee values (1,'Ram', 1000.00)
/**********************************************************/
The table below shows the data present in the ‘Employee’ table.
id Name Salary
1 Ram 1000
1 Ram 1000
2 Joe 2000
2 Joe 1000
3 Mary 1000
4 Julie 5000
2 Joe 1000
1 Ram 1000
The following script deletes the duplicates from ‘Employee’ table. If there are duplicate records then the script will get a count of the duplicate records and will then delete the records till the count is 1.
/*******************************************************************/
/* Script for deletion of Duplicate record from the Employee Table */
Declare @id int,
@name varchar (50),
@cnt int,
@salary numeric
Declare getallrecords cursor local static For
Select count (1), id, name, salary
from employee (nolock)
group by id, name,salary having count(1)>1
Open getallrecords
Fetch next from getallrecords into @cnt,@id,@name,@salary
--Cursor to check with all other records
While @@fetch_status=0
Begin
Set @cnt= @cnt-1
Set rowcount @cnt
-- Deleting the duplicate records. Observe that all fields are mentioned at the where condition
Delete from employee where id=@id and name=@name
and salary=@salary
Set rowcount 0
Fetch next from getallrecords into @cnt,@id,@name,@salary
End
Close getallrecords
Deallocate getallrecords
*******************************************************************
The logic of the script is pretty simple; the select query retrieves all the records that are duplicates i.e. having Count greater than one. The result set is retrieved by opening a local cursor which fetches one row at a time.
Note here that the Count column is a part of the select query; this is used to identify the no of duplicate rows in the result set.
The row count has been set to (Value obtained from the Count Column – 1). SQL Server uses rowcount to stop processing the query after the specified numbers of rows are returned. The delete statement is executed only to delete the rows set by the Set rowcount command. Once the records have been deleted, the rowcount of SQL server is reset to the default value of 0.
... Original Article on sqlserver central
Wednesday, February 22, 2006
Rahul Bagal
This is my last day in Arya Omnitalk , Pune .
From tomorrow I will be working in IBM Global Services, Pune
Its really painful to detach from closely bound ones
But some time in life one has to take such bitter decisions
Anyways this is life..Looking forword for new challenges & changes ..we have to go on
From tomorrow I will be working in IBM Global Services, Pune
Its really painful to detach from closely bound ones
But some time in life one has to take such bitter decisions
Anyways this is life..Looking forword for new challenges & changes ..we have to go on
Thursday, February 09, 2006
How to earn money using IT Skills
if you can develop software , you must read this.
Use your IT kowledge & skills, do projects , Sell them
be an Self Employed Professional or earn extra in your free time
this is something with which you earn money as well as
update your skills & enrich the experience.
Many companies get overseas projects from this site.
This is a good site to Freelance & out sourced project
Sign up from link
http://www.getafreelancer.com/affiliates/rahulbagal/
cheers !!
Use your IT kowledge & skills, do projects , Sell them
be an Self Employed Professional or earn extra in your free time
this is something with which you earn money as well as
update your skills & enrich the experience.
Many companies get overseas projects from this site.
This is a good site to Freelance & out sourced project
Sign up from link
http://www.getafreelancer.com/affiliates/rahulbagal/
cheers !!
Thursday, January 19, 2006
Puneri Traffic
Pune traffic is the worst I have ever seen in India.
To teach them discipline here are some rules
Read the Marathi Article: " Marathi article ( No offence Punekar's ) "
To teach them discipline here are some rules
Read the Marathi Article: " Marathi article ( No offence Punekar's ) "
Wednesday, January 18, 2006
SQL Server Transactions and Error Handling - The Code Project - Database
SQL Server Transactions and Error Handling - The Code Project - Database: "Transactions
Transactions group a set of tasks into a single execution unit. Each transaction begins with a specific task and ends when all the tasks in the group successfully complete. If any of the tasks fails, the transaction fails. Therefore, a transaction has only two results: success or failure. Incomplete steps result in the failure of the transaction.
Users can group two or more Transact-SQL statements into a single transaction using the following statements:
Begin Transaction
Rollback Transaction
Commit Transaction
If anything goes wrong with any of the grouped statements, all changes need to be aborted. The process of reversing changes is called rollback in SQL Server terminology. If everything is in order with all statements within a single transaction, all changes are recorded together in the database. In SQL Server terminology, we say that these changes are committed to the database."
A very nice Article on SQL Server Error Handeling & Transactions with handy examples
Transactions group a set of tasks into a single execution unit. Each transaction begins with a specific task and ends when all the tasks in the group successfully complete. If any of the tasks fails, the transaction fails. Therefore, a transaction has only two results: success or failure. Incomplete steps result in the failure of the transaction.
Users can group two or more Transact-SQL statements into a single transaction using the following statements:
Begin Transaction
Rollback Transaction
Commit Transaction
If anything goes wrong with any of the grouped statements, all changes need to be aborted. The process of reversing changes is called rollback in SQL Server terminology. If everything is in order with all statements within a single transaction, all changes are recorded together in the database. In SQL Server terminology, we say that these changes are committed to the database."
A very nice Article on SQL Server Error Handeling & Transactions with handy examples
Friday, January 13, 2006
TIL GUL GHYA GOD GOD BOLA...!!!!
Wishing you all a very happy and prosparus MAKAR SANKRANTI !
Makar Sankranti marks the commencement of the sun's journey to the Northern Hemisphere
Makar Sankranti is perhaps the only Indian festival whose date always falls on the same day every year i.e. the 14th of January.
On this day women wear a special black saree called chandrakala which is embossed with crescent moons .There is scientific reason behind wearing black clothes as Black color absorbs maximum heat. .
Every region celebrates the festival in different way.
In Bengal, it is known as "GangaSagar Mela", on this day.
In Gujarat, the Kite Festival is celebrated as brightly colored kites dot the skies.
In Punjab, huge bonfires are lit on the eve of Sankranti and which is celebrated as "Lohri".
In Assam, the festival is celebrated as "Bhogali Bihu"
In South India, Sankrant is known by the name of "Pongal".
In Maharashtra, people exchange sweets called Tilache ladoo made from sesame seeds, sugar and jaggery and greet each other saying - " til-gul ghya, god god bola " meaning "accept these tilguls and speak sweet words".
Makar Sankranti marks the commencement of the sun's journey to the Northern Hemisphere
Makar Sankranti is perhaps the only Indian festival whose date always falls on the same day every year i.e. the 14th of January.
On this day women wear a special black saree called chandrakala which is embossed with crescent moons .There is scientific reason behind wearing black clothes as Black color absorbs maximum heat. .
Every region celebrates the festival in different way.
In Bengal, it is known as "GangaSagar Mela", on this day.
In Gujarat, the Kite Festival is celebrated as brightly colored kites dot the skies.
In Punjab, huge bonfires are lit on the eve of Sankranti and which is celebrated as "Lohri".
In Assam, the festival is celebrated as "Bhogali Bihu"
In South India, Sankrant is known by the name of "Pongal".
In Maharashtra, people exchange sweets called Tilache ladoo made from sesame seeds, sugar and jaggery and greet each other saying - " til-gul ghya, god god bola " meaning "accept these tilguls and speak sweet words".
Subscribe to:
Posts (Atom)
