Abdul Sattar Edhi’s 89th Birthday – Google Doodle

Google honoured Late Abdul Sattar Edhi on his 89th birthday with a Doodle on the Google search page.
Edhi will be remembered as a person who helped people in the time of need. He established ‘Edhi Foundation’ in 1951, funded by private donations. The foundation provides social services to people without service charges, mainly focused on welfare of needy people.
Edhi spent whole life working for the Foundation to provide comforts to others than himself. He spent a very simple life.
Edhi died on 8 July 2016 at the age of 88 due to kidney failure.
May his soul rest in peace.

28. February 2017 by Adnan
Categories: General | Leave a comment

Google’s 17th Birthday

Google's 17th BirthdayGoogle is celebrating 17th birthday today, 27 September 2015. Started in late 90’s Google traveled a long journey.

Today on Google search page, Doodle image displays an old PC Monitor with Google’s old logo. This shows that google has a old history way back when there were big mass computer monitors etc.

Anyway, Happy Birthday to Google and hope it will enjoy many more years in the arena of search engines.

27. September 2015 by Adnan
Categories: General | Leave a comment

Pakistan Monument Visit

Few photos taken at visit to Pakistan Monument, Islamabad.

14. August 2014 by Adnan
Categories: General | Tags: , | Leave a comment

Pakistan Independence Day 2014

Independence Day is observed every year on 14th August in Pakistan. Recalling the historical day of 14th August 1947, when Pakistan was declared as independent state in the world, following the end of British Raj.

This was all made possible by struggles of Muslims living in the region. They run a movement called Pakistan Movement in the leadership of Muhammad Ali Jinnah aiming of independent Muslim state.  After years of hard time, there came a day when Pakistan appeared as independent state on the map of world.

Pakistan Independence Day is a national holiday Pakistan. The day is celebrated by raising Pakistan National Flag on all important buildings in country and even on houses.

This year Google featuring the doodle regarding Independence Day featuring National Monument of Pakistan.

Pakistan Independence Day 2014 Google Doodle

14. August 2014 by Adnan
Categories: General | Tags: , | Leave a comment

40th birthday of the Rubik’s Cube

Today is the 40th birthday of the Rubik’s Cube and Google celebrate it in the most joyous form.

See the doodle:

40th birthday of the Rubik's Cube

Even anyone can play it to solve the puzzle.

And to read the story behind this interactive Rubik’s Cube displaying on Google doodle, see this link:

19. May 2014 by Adnan
Categories: General | Leave a comment

Linux Server Last reboot Date and Time

Want to know when the linux server was last rebooted? Use the following command on shell:

last reboot

This command will show the date and time. With that it also display for how much time was between 2 reboots.


last-reboot screenshot

18. May 2014 by Adnan
Categories: Linux | Leave a comment

Find a Masjid

Find a Masjid is a very simple application to help locate Masjid (Mosque) on Google Map. The searched is based upon the location of user on Map provided by the browser.

The technology used for this are Google Maps API and Google Places API.

Hope you will find this utility helpful.


Link: http://dev.iadnanahmed.com/findamasjid/



12. May 2014 by Adnan
Categories: Programming | Leave a comment

PHP 301 redirect for non-www to www urls

Want to do a 301 redirect for non-www urls to www, simply use php header command like the following syntax:

if ($_SERVER['HTTP_HOST'] != 'www.abc.com'){
    header("HTTP/1.1 301 Moved Permanently", true, 301);
    header("Location: http://www.abc.com".$_SERVER['REQUEST_URI']);

And for www to non-www:

if ($_SERVER['HTTP_HOST'] != 'abc.com'){
    header("HTTP/1.1 301 Moved Permanently", true, 301);
    header("Location: http://abc.com".$_SERVER['REQUEST_URI']);

This is extremely useful, where you don’t want to use .htaccess file. But remember to put the code on all pages where you actually required the redirect.

19. April 2014 by Adnan
Categories: PHP, Programming | Tags: , , | Leave a comment

Coming Soon!

Coming Soon!

18. September 2013 by Adnan
Categories: Uncategorized | Comments Off on Coming Soon!