06 December, 2009

Kurbaan....one nice lyrics...!

मेरी जिस्म से टपक रहा है तू...
तू है मेरा या नहीं पता नहीं
मेरी जां है भी या पता नही
पर मेरी रूह से सिसक रहा है तू

02 December, 2009

Wake-On-LAN

Simple Java Implementation of Wake-on-LAN

Wake-on-LAN is fantastic. It lets you turn on a computer via the network, which is great when you need to turn on your home machine while you're at work. Most PCs these days support Wake-on-LAN.

If your network socket still shows a green light after you've shut down computer, it probably supports Wake-on-LAN. The motherboard uses a small amount of power to monitor network traffic and look for special Wake-on-LAN packets. If it sees one, it will power up the system as if you had just pressed the on switch.

Creating a Wake-on-LAN packet

Some people are surprised how difficult it is to find out how to create a Wake-on-LAN packet. There are a few oddities about it, sure, but this guide will hopefully explain what you need to do. I'll show you how to create a simple Java program that sends a Wake-on-LAN packet to wake up a specified machine. This program can easily be translated into other languages, but Java offers the platform independence which is useful in a networked environment.

UDP and MAC addresses

A Wake-on-LAN packet is an ordinary UDP packet which contains the MAC address of the target computer. For reasons unknown to me, the UDP packet must be 16 times larger than the byte representation of the MAC address, plus an extra 6 bytes for a header. A MAC address is usually specified as a string of hexadecimal digits, for example 00:0D:61:08:22:4A, so can be represented using just 6 bytes. This makes the total packet size 6 + 16*6 = 102 bytes.

The first 6 bytes of the packet are filled with 0xff. I'm not sure why!
The next 6 bytes are the MAC address of the target computer
Each subsequent set of 6 bytes is also filled with the MAC address of the target computer, until the packet is full.
Sending the Magic Packet

The UDP packet is sent to a broadcast address, such as 192.168.0.255. This will cause it to be received by all computers on your local LAN, but only those with a matching MAC address will respond by powering on. MAC addresses are associated with each network interface and are typically unique. The UDP packet uses port 9.

Note that the delivery of a UDP packet is not guaranteed. You may need to send more than one Wake-on-LAN packet if you are using a busy network.

Finding out your MAC address

If you are running Windows, your MAC address will be revealed when you type ipconfig /all into a command prompt. You'll be looking for a line similar to this:

Physical Address. . . . . . . . . : 00-0E-62-09-23-4B
Writing the Wake-on-LAN Java program

Let's write a simple program to do Wake-on-LAN.

All it needs to do is accept two piece of user input: an IP address and a MAC address. The Wake-on-LAN packet will be broadcast to the IP address and will only wake up the computer with a matching MAC address.

To make it more user friendly, the program will accept either of the two typical ways of expressing a MAC address, for example:

00:0E:62:09:23:4B
00-0E-62-09-23-4B
All you need to do is provide a handy method to turn strings like these into 6-byte representations. This is a simple case of converting hex into decimal. The MAC address can then be bundled off into a UDP packet and sent to the target machine.

Download the Wake-on-LAN code

Download WakeOnLan.java

Save the WakeOnLan.java file to your hard disk.

Compile the program with:

% javac *.java
Now run the program without any parameters and it will now remind you about the two parameters you need to supply on the command line:

% java WakeOnLan
Usage: java WakeOnLan
Example: java WakeOnLan 192.168.0.255 00:0E:62:09:23:4B
Example: java WakeOnLan 192.168.0.255 00-0E-62-09-23-4B
Make sure you know the MAC address of the target machine, and give it to the program. If all went well, it should send the magic packet successfully:

% java WakeOnLan 192.168.0.255 00-0E-62-09-23-4B
Wake-on-LAN packet sent.
You should now see the target machine booting up as if by magic.


http://www.jibble.org/wake-on-lan/

24 November, 2009

jindagi me kuch nayi nayi sabji try karte rahni chahiye, jaise ki ladki :-)

today i prepared sabji with some awkward combination and guess what the taste was awesome..!
it is one my best veg subji i cooked so far,, mmmm...i love it...! full satisfaction..!
by the way, let me tell you the recipie, if you wanna cooked
its a combination of baigan(brinjal) + methi + palak (sorry i dont remember the english name here :-))
use only mirchi, thats it...preparation is so easy and the taste is so amazing..but i forgot to take a snap of it..
Mooh me paani aa raha hai kya..better luck next time..

15 November, 2009

relaxation...!

Every now and then go away, have a little relaxation, for when you come back to your work your judgment will be surer. Go some distance away because then the work appears smaller and more of it can be taken in at a glance and a lack of harmony and proportion is more readily seen. --Leonardo Da Vinci

13 November, 2009

completed one year today - 13th Nov'09 in motorola

Completed one year today - 13th Nov'09 in MOTOROLA...!!
Not yet achieved what i wanted, feeling insignficant, thinking of ways to make a mark...
Feeling very very DULL today due to lack of sleep, weather, etc.

20 October, 2009

Tip of the Day:Happiness

"Happiness can't be reduced to a few agreeable sensations. Rather, it is a way of being and of experiencing the world -- a profound fulfillment that suffuses every moment and endures despite inevitable setbacks." Matthieu Ricard, often referred to as 'The Happiest Man in the World" takes a deeper look at the complex relationship between our minds and happiness.

12 October, 2009

nice and hectic weekend ..

nice morning, went to office, had 3 varieties of Pizzaas....
Pizzza i hate, but somehow i ate today...interview only one people :) and ate 3 variety....
and nice evening too with Dosa and Daal makhni..did you ate this combination ever ?
ultimately nice weekend..!

04 October, 2009

me at office :)

Nagpur....the orange city..!


Nagpur to be the first solar city

In February 2009, government announced that Nagpur in Maharashtra will be developed as India's first solar city.

Nagpur, the 'Orange City', will become a model solar city by 2012, deriving up to 10 per cent of its energy consumption through renewable energy sources and implementing other energy efficiency measures, a government statement said.

The city can also opt for additional funding from the ministry if the project cost goes beyond the estimates.

Solar energy systems, including street lights, garden lights, traffic lights, hoardings and solar water heaters will be installed in the city. Energy efficient 'green buildings' will be promoted on a large scale.

26 September, 2009

तुजा प्रिय मित्र

आयुष्याच्या प्रत्येक वळणावर
ती अनपेक्षित पणे भेटली. आणि मग आमची मैत्री जाली
मनान थोडी प्रेमळ, थोडीशी हळवी
पण खरच मला ती खुप आवडली ....
माज्या भावना समजून घेणारी
चूकल्यावर मलाच समजून सांगणारी
जीवनाच्या प्रत्येक वळनावर साथ देणारी
आणि प्रत्येकाशी जुळवून घेणारी
वेळ आलीच तर अश्रु ही पूसणारी
स्वत:च्या ताटातील घास
आठवणिने काढून ठेवनारी
वेळप्रसंगी वेडया मित्राची समजूत काढ़णारी
वाकड़ पाउल पडताना मात्र मुस्काटित मारणारी
सर्वांच्या घोळक्यात आपणास सैरभैर शोधणारी
यशाच्या शिखरावर आपली पाठ थोपटणारी
आपल्या आठवणिने व्याकुल होणारी
खरच ! अशी एक जिवाभावाची मैत्रिण असावी
ती मला मित्र म्हणणारी
तुजा प्रिय मित्र

23 September, 2009

wake me up when September ends

Summer has come and passed
The innocent can never last
wake me up when September ends

like my father's come to pass
seven years has gone so fast
wake me up when September ends

here comes the rain again
falling from the stars
drenched in my pain again
becoming who we are

as my memory rests
but never forgets what I lost
wake me up when September ends

summer has come and passed
the innocent can never last
wake me up when September ends

ring out the bells again
like we did when spring began
wake me up when September ends

here comes the rain again
falling from the stars
drenched in my pain again
becoming who we are

as my memory rests
but never forgets what I lost
wake me up when September ends

Summer has come and passed
The innocent can never last
wake me up when September ends

like my father's come to pass
twenty years has gone so fast
wake me up when September ends
wake me up when September ends
wake me up when September ends

I believe that "The first impression is the last impression!"
The first thing that u'll notice about me is my good looks and a smiling face!
but as u'll start knowing me better, u'll realise that its not just about external charm of me, but that i am a good human being too!!! trustworthy, practical, very level headed person with a smart sense of humor!!!

my favourite one..but dont know how to play :P

_______________%%
______________%%%
_____________%%%%%
____________%%%%%%
_____________%%%%
_____________%%%
_____________%%%
_____________%%%
_____________%%%
_____________%%%
_____________%%%
_____________%%%
_____________%%%__%%
_____________%%%__%__%
_____________%%%___%__%
_____________%%%___%___%
_____________%%%___%___%
_______%%____%%%__%____%
______%__%__%%%%%%____%%
______%___%%_____%____%%
_______%____%%%%%____%%
________%___________%%
_________%_________%%
_________%%__take__%%
________%%_________%%%
_______%%___care____%%%
______%%______________%%
_____%%________________%%
_____%%_________________%%
_____%%%________________%%
______%%_______________%%%
_______%%%____________%%%
_________%%%%________%%%
___________%%%%%%%%%

17 September, 2009

Jameson made me crazzzyyyy....!

Jameson...the irish whisky..many many thanks to Samir..!!
Cheeeeers...
i had almost more than 5 packs along with 10 + cigarate -CAMEL.
this happens first time in my life....:P

10 September, 2009

love quote...!

If You Love Something Set It Free!
If It Comes Back It Is Yours!
If It Doesn't It Never Was!

26 August, 2009

the most happiest day in my life..got relieved now frm the BIG tension!!!!

aKaruna..: hi

me: hello..

good afternoon..!
2:12 PM
aKaruna..: bol
2:13 PM
me: abhi aayi kya?

aKaruna..: nop
2:14 PM
me: ok.morning me ping nahi kiya ..isliye ppochha
2:17 PM
busy thi kya morning me

aKaruna..: yup
2:18 PM
me: ok...

so hows anita ?

:)
2:19 PM
aKaruna..: means/

me: nothgn just kidding
10 minutes
2:29 PM
aKaruna..: hmmmmm

tula ka chowkashi
2:30 PM
my dad is sayin no

he dont wont me to settle in chandrapur

me: kya?

ohh..

but who says i wl settle in c'pur ?
2:31 PM
aKaruna..: mumbai me honewala hai?

me: ghar jaavai , kuch bhi kya
2:32 PM
aKaruna..: he don want me to settl

ther

he said no

me: hey be clear..what u r saying now

he or u ?
2:33 PM
& who said i wil settle in cpur

rught now my home is ther e.after 1 or 2 year our family wil move to nagpur

this i told u somany times
2:35 PM
aKaruna..: i know

vahi re nagpur

n u l also not be here
2:36 PM
u l be stayin in hydrabad

so

how i l stay alone

me: arre yaar..whats confusion here i dont know..how can i wil make u alone if i stay here in hyd
2:37 PM
aKaruna..: u l stay there

n i l stay in nagpur

me: my job is not like on ship or other planet

who says
2:38 PM
aKaruna..: u only said

u l have to stay

with my parents
2:40 PM
me: kuch bhi , this wen i wil be onsite

and there is no option to take u along with me

then u cant stay in hyd alone, right
2:41 PM
kuch bhi , this wen i wil be onsite
and there is no option to take u along with me
then u cant stay in hyd alone, right
2:44 PM
--

kuch bhi , this wen i wil be onsite
and there is no option to take u along with me
then u cant stay in hyd alone, right
2:45 PM
aKaruna..: hai kya

kidar gaya

me: u went offline

aKaruna..: net ka prob

me: ok

here is ur prev message
2:46 PM
kuch bhi , this wen i wil be onsite
and there is no option to take u along with me
then u cant stay in hyd alone, right

aKaruna..: ha

my parents sayin no
2:47 PM
me: well, i cant force u ..

but just tell me one thing..its ur decision or ur parents
2:48 PM
and if they ar saying no..u dont wanna convince them even

aKaruna..: i convienced

they not listening

me: so ur given up now ?
2:49 PM
aKaruna..: yes

me: ok..now i got it..

anyways..its good to know early..

after so many hickups ..
2:50 PM
finaly all went waste ..
2:52 PM
hav a good life..
2:54 PM
aKaruna..: kya bolu

me: ?
41 minutes
3:35 PM
aKaruna..: hai kya
3:36 PM
me: ha
3:37 PM
aKaruna..: bol na

khana kya khaya
3:38 PM
me: ab kya bolna baaki hai..

everythign is over

na
3:39 PM
aKaruna..: ok

bye
3:40 PM
me: i really never understood u..

whats there in ur mind
3:41 PM
hope other person wil undestand..
3:42 PM
:P

all the best for happy life
3:46 PM
why no reply now ?
3:47 PM
aKaruna..: thanks

a lot

me: :-(

bye
3:48 PM
aKaruna..: abhi kyu

bye
3:49 PM
me: ok no bye :-)
3:53 PM
what u want yaar

aKaruna..: baat nahi kar sakata kya

me: to bol na

25 August, 2009

nice quote...!

Everybody can be great... because anybody can serve. You don't have to have a college degree to serve. You don't have to make your subject and verb agree to serve. You only need a heart full of grace. A soul generated by love. --Martin Luther King, Jr

was tried to cheat matrimony site :-)

Dear Akshay, 25-Aug-2009
Your profile is on Hold.
Thank you for updating your Profile with Mangalashtak.com
We have found that you have recently updated your profile. As part of our process, we screen every updated profile to ensure its credibility . While screening the profile, we verify that details put in by you are correct and contact details are not shared in profile description. A verified profile assures that our users have a clean and wonderful experience.

You will receive a mail from us within 24 hours confirming the status of your profile. Till then, your patience in this matter is highly appreciated.

Regards,
Customer Support Team.
Mangalashtak.com

01 August, 2009

HappY friendship day..!

HappY friendship day..!
Guys n gals thanks a lot for ur contribution to my life so far..i hope u will continue till ur end :P
its not a force or any pressure from my side to be a friend ..just be like that what u are..!.but dont ever try to hurt any one..if u feel like it , just apologies for the same asasp...friends are meant for the best ..its neeed...

30 July, 2009

If someone hurts u...

If someone hurts u, don't mind it ever because it is a Law of Nature that the tree that bears the sweetest fruits gets the maximum number of stones

Every moment i learn something so here i am :P