Wednesday, January 6, 2010

changing Hostid in Linux

#include
#include

int main(int argc, char *argv[])
{
if(argc < 2)
{
fprintf(stderr,"Single argument: Target hostid\n",argv[0]);
return 1;
}
sethostid(
strtoul(argv[1],NULL,16) );
return 0;
}

1) Save this file as hostid_changer.c
2) gcc hostid_changer.c hostid_changer.out
3) ./hostid_changer.out (new_hostid for your system)

Cheers...


Regards
Sandeep

Wednesday, August 26, 2009

Starting a new life-- Trauma of uncertainity

This 16th I met my life partner and now we are going to get engaged on 20th of September 2009... Its really nice feeling after thinking about future and a partner who is going to share whole life with you... But its not that easy... we have to change our whole lifestyle, to accommodate each other... It may be about career, life or expectations from each other....
Just want your best wishes.....

Monday, July 27, 2009

A Pointless Column -But strangely a true one..

It was a busy street .... He was in hurry... he was anxious and he wanted to reach to his laptop in minutes.... and in between he forgot he was on mid of road.... A truck ran over him.... He died instantly.... Few moments ago everything was rash... and in moments, everything stopped.... It was a peace... silence... He was in lap of mother nature... He was everywhere ... he can see through everything... in time... far from walls .. mountains... planets..... stars... universe... He was asking himself...why he was feeling, that time is running short????? Actually everything was still... and nothing is moving... but he was feeling short of time always... why he was not able to know the truth... he was watching and always known the truth... that nothing is moving.... so .... whats this???
A truth is always still... Like time is not moving, we are going through time... Einstein always worried about discoveries.... He hardly invented anything.... Because he known the truth, long ago.... His brain was removed... after his death.. but his ideas can not be fetched and can ever be stored in a glass jar.
Why I am writing this??? pointless ... huh... no one is going to believe.. till he is not ran over by a truck, not being died of some disease or some other happenings.... I don't want to say that we should stop rushing... but what I want, is that we should recognize that nothing is going to be gained, if we rush to much... is n't it...
So take a deep breath and think again about everything again...

Thursday, July 9, 2009

Snake and my encounter today


A few minutes ago after taking bath I was coming out of bathroom and Its 10:55 in night already... my bath room is not inbuilt.... so I was outside my house.... I just saw dark thread and I open the light switch and thought that it is just a water mark, which I usually see around bathroom in daytime.... But suddenly my feets got jammed up... since that shadow had moved... I got stunned, since I was on door and it was in front of me... just a feet far from me..... I silently got still... and watched if snake was in mood of anger ,fear ... then I slightly moved back , since I was trapped in bathroom... I saw the water Mug and thrown water on the snake... it may feel rubbish, but it was effective... It goes vanished away .... but I came back with torch and confirmed that it ran away....
for precaution I checked my feet that if there was no snake bite since i came carelessly.. so who knows??? I was feeling sensation... I sent SMS to my land lord and other tenants about this and told them to be careful....
But one thing was surprising that ,i didn't felt the fear... It was sensational moment...I worked wisely...
I came back and prayed in front of Sai Baba and Gajanan Mahraj and said them thanks to taking care of mine... But one thing is sensational that I never see carefully such shadows as I did today... and it was life saver for me.... because when I opened internet and searched the Google it was alike "poisonous Krait snake" ....

Sunday, June 21, 2009

Truck Drivers and their life - A day with them in queue!!!

It was hot and humid day...sun was firing the heat bullets... and we were sweating a lot!!!
This was second time I was in queue at Baddi Barrier with my manager for shipment registration,
My manager was excited to see that we will get rid of formalities very soon.... But he was new comer here :) since I told him that it will take more than 2 hour here... but he was looking ethusiastic ... I let him to do the work of his own.. and soon he was back and given an intense look to me... and told... "khaday ho jao line mein!!!!"
I was already in queue.. and manager was bit o relaxed and he told me that he will stand in queue.... In between, I may tell you about other queue members at that time.... all were truck drivers... you may get the impression from their faces, how tired they are!!!! but the good thing about them... is that all truck drivers have good sense of humor.. they all were passing their time by cracking jokes... and I also was enjoying.... one of truck driver have strange outlook... his one eye was damaged completely... and he was most funny with his talks..
But suddenly something happened , environment was suddenly got heated... I was looking for the reason... all queue members started shouting loudly... since few other guys entered the queue without getting in queue... and this was not amusing and accepted by other guys.... they were almost ready to beat them....
Somehow those "intruders" were pushed by the mob... :) My manager was really in stress... that what was going on... It took about 3 hours for, our form processing.... and it wasn't finished... we had some problems in form processing so after 30 minutes we were out from that place....
My manager was looking relaxed.. he told he was not expecting this thing ....
anyways as we were moving other queue members were waving hands in air.... and I was doing the same... what I got that day... few more friends... Most of us ... usually think that it is easy to have truck driver, and others see them with bad perspective... but I have respect for them.... they are true hardworking guys.. they drive 24 hours and after that they need to stand in the long queues at barriers... but they never loose their sense of humor.... amazing!!!!
I think we can learn a lot from them.. at both professional level and personal level.. how to maintain the enthusiasm after all stressful work.....



Saturday, June 6, 2009

Those 4 days of 6th Sense!!!

After 2001 this is first time I was feeling so much restless... Before going ahead I want to say what happened in 2001...
In December 2000, I fell ill and was suffering with typhoid, I was on medicines, but not of typhoid, but of Malaria!!! No doctor was able to diagnose, what happened to me.. (though I was complaining about chest pain...).
After few days I was suffering from 102 degree fever 24X7... I was in pain but no one was listening to me... my body weight reduced to 47 from 58 in 20 days...
But during that time I was sleeping a lot... and somehow I was feeling quite rash feelings, like I was looking lots of dead bodies... Unconsciously,I started saying to my parents... Its earthquake, which is awaiting somewhere... but near to me... they all was taking it easy, by saying its all your imagination... with time feeling became so strong that I was feeling pity for those, unseen dead's...
Everyone was shocked when they heard about Gujarat earthquake on 26th Jan 2001... I was looking at TV and repetitively saying..."Dekho mainay kaha thaa Naa"..
I realized that I had something special, but not clear ability...
In 2003 I predicted about some mishap a few hours before my Maternal Uncles death due to cancer.... I told my sister about 11:00 O'clock night.. that some one is going to be dead.... They again taken it easy.... but when they heard news in morning at about 9:00 O'clock about my Maternal Uncle's demise... They were in shock and were looking me like I am an alien!!!!
Now It happened to me in last few days again... From 27May 2009, I was not able to sleep... I was feeling like awake, even in night, like somebody want to communicate to me, but I was not able to listen...
It started with a series of dreams.... like I have seen a friend calling a Radio DJ, and I am saying that he is my friend to all other guys....This friend was not in contact for long time... and he SMS'd me on next day morning....
I got the point, but was not clear again... next night I had seen a dream of extreme fire.... and smoke... but nothing happened next day.... I had seen same dream, but this time seen some guys running and trying to save them from fire....

And this time it happened!!! next morning on 2nd June 2009 when I got up ,Papa called me and asked about a firemishap... very near to my house, I was unaware of this, Papa heared this from our servent, His close relative died in this mishappening, He was in firefighting sqad, about 9 other people were killed and 17 more are still missing....


and now everything around me is fine, but I also came to know that on 1st June when I had seen first dream of fire and smoke... a french plane was lost in sea.... I think my first dream was pointing to French plane mishap....

I am still not able to interpret all these signs.... but I hope I can interpret these some day... so that I can warn, before it can actually takes place!!!!!

Thursday, May 28, 2009

The Importance of Maintaining Healthy Social Connections : My World, My Room

As a working professional, it's been a while since I've caught up with my friends. Some have moved on because of career or life decisions, while others just didn't want to deal with me anymore. And you know what? I don't really care. "Jo gaya so gaya..." as they say. But the other day, when I got home, I couldn't help but ask myself, "Sandeep, who are your friends these days?" And to be honest, I was pretty annoyed with myself for not having any concrete answers. I scanned my phone contacts and realized that most of my friends either changed their numbers or were simply unreachable. It was then that I came to a realization - I didn't really want anyone else in my life. I was content being alone and finding peace in it. My best friends these days are my PC, TV, and remote. I spend most of my time with them and it's been a while since I've interacted with any of my neighbors or made new friends. But I'm okay with that. I've realized that these days, my world is my room and my friends are my electronics. At least they're always there when I need them, right? But as silly as it may sound, I know that my "friends" can't replace the value of real human connection. Sure, my electronics can provide temporary entertainment, but they can't offer the deep sense of support and understanding that comes from having actual conversations and interactions with people. In writing this, I've come to recognize the negative impacts of isolation and the importance of maintaining healthy social connections. Even if it may seem daunting to reach out to old friends or make new ones, it's worth the effort. Studies have shown that strong social ties can lead to better mental health, happiness, and even longevity. So, I'm making a conscious effort to prioritize my social connections. Whether it's attending community events or reaching out to old friends and family, I know that investing in human interaction can significantly improve my overall well-being. And who knows, maybe I'll make a new friend or two along the way.

Monday, May 18, 2009

My New Sketch


Just finished coloring my new sketch ..off course my own face.... please tell how is the sketch ..

Secret of Universe

  Secret our universe... 10 Directions, 26 dimensions 18 Directions, No Dimension can exist 36 Dimensions, no direction can exist.. I dont h...