Archive

Archive for February, 2007

Find last day of the month in PHP

February 28, 2007 57 comments

Yday I was working with dates and got the situation to get the last day of the month so got this piece of code.

date(’Y-m-d’,strtotime(’-1 second’,strtotime(’+1 month’,strtotime(date(’m').’/01/’.date(’Y').’ 00:00:00′))));

And this piece of code will gv you the last day of the your corrent month. 

tags: , , ,

Install Debian from your Windows Box :)

February 20, 2007 Leave a comment

I love debian. I learnt it from deepak. thnx to him. still I do not know so many things I am learning that at my lavel best.

Now you can install the Debian from your windows box too. Debian got its win32 installer. So from windows it will install a debian netboot installer and then you can choose the text based install OR the GUI based install. So at the next reboot the GRUB will prompt the installation of debian. And then you are on the way, the next process is the same as it is.

Debian installer you can get it from goodbye-microsoft.com And some screen shorts are made available here

Technorati Tags: ,,,,

Categories: opensource

I am part of greenpeaceindia

February 18, 2007 1 comment

Yday I met some of the guys and enrolled my self for greenpeaceindia.

I do not know much more, how they are working but I have heard abt this so just thought to try what I can do from them. For enrolling my self I paid 200 PM for this and that is for 3 months.

After 3 months I will see if I am contributing then I will continue else I will refuse to continus.

I think what they are doing is rite and going in good way.

Any way , today I am thinking that I have done little thing for nation.

Technorati Tags: , , , ,

Categories: General

I am mad OR may be I am not ??

February 6, 2007 2 comments

Just thinking , I am mad or may be I am not.

Q. how come you are saying like this ?
A. I came to bangalore railway staion before 13 hrs the scheduled departure time.

Q. Why like this ?
A. Seems , I was smelling some pblm due to kaveri water issue on tuesday so came early.

Q. What the hell you doing here ?
A. I am going to mumbai.

Q. OMG! 13 hrs, you are really mad. ?
A. If any thing happens then who is responsible. I wanna go thats it. :)

Q. How come 13 hrs ?
A. My train time is 2005 IST and I touch here at 0700 IST.

Q. So what you did/doing for that time ?
A. I was in RAILTEL cafe in station and had my lunch and send so many mails to my office and updated my work from cafe.

Q. So what is next from your side ?
A. Just thinking never/ever happen again. This is screwup my one office day, the tension whole day and a waste day , listen the rail tunes and announcements and shit things and see the train coming and going.

Technorati Tags:
, , , ,

Categories: Personal, Timepass
Follow

Get every new post delivered to your Inbox.