Posts tagged guide

A Guide to Explore Google’s Hidden Features

A Simplified and Extended version of “Exploring Google’s Hidden Feature”

GoogleGoogle is ranked as best search engine over the Internet with simple and humble features :-)Google is no more just a great search engine; it has lot more to do with it. Google has tons of hidden features, some of which are quite fun and most of which are extremely useful — if you’re aware about it. I use lot of the features with Google.

Simple Calculator
Google has a simple to use web-based calculator. All you have to do is enter your equation or formula into the standard Google search box, and then click the Google Search button. The result of the calculation is displayed on the search results page; it’s that simple.

And Google’s calculator isn’t limited to basic addition and multiplication. It can also handle more advanced calculations, trigonometric functions, inverse trigonometric functions, hyperbolic functions, and logarithmic functions. Just enter the proper formula into the search box, and wait for Google to display the answer.

In addition to performing calculations, Google also knows a variety of mathematical and scientific constants, such as pi, Avogadro’s number, and Planck’s constant. It also knows the radius of the Earth, the mass of the sun, the speed of light, the gravitational constant, and a lot more.

A sample complex equation which google can find solution(243 log(34))/(10e4 +(2*20))

To find the vaulue of pi just enter pi google returns 3.14159265.
To find out speed of light enter speed of light, and Google returns 299,792,458 m/s

Handy Unit Converter
Another advance to Google’s calculator is that it can handle conversion also. It knows miles and meters, furlongs and light years, seconds and fortnights, and even angstroms and Smoots—and can convert from one unit of measurement to another.

The key to using the Google calculator as a converter is to express your query using the proper syntax. In essence, you want to start with the first measure, followed by the word “in,” followed by the second unit of measure. A general query looks like this: x first units in second units.

To find out how many feet equal a meter, enter the query 1 meter in feet.
To find how many teaspoons are in a cup, enter 1 cup in teaspoons.
To convert 100 U.S. dollars into Indian Rupees, enter 100 usd in inr.

A World Dictionary
Are you looking for a definition of a particular word, but don’t want to bother pulling out the old hardcover dictionary? Not sure of a specific spelling? Then use Google as an online dictionary to look up any word you can think of. It’s easy—and there are two ways to do it.

The first approach to looking up definitions is to use a ´All you have to do is enter the keywords what is in your query, followed by the word in question. (No question mark is necessary)

To look up the definition of the word “defenestrate,” enter what is defenestrated.

A Glossary Repository
Even more definitions are available when you use the Google Glossary feature. Google Glossary is what Google calls it, anyway; really, it’s just another advanced search operator that produces some very specific results.

The operator in question is define: Use this operator before the word you want defined, with no spaces between. It can also used to define phrases.

To define the word “defenestrate,” enter the query define:defenestrate.
To define the phrase “peer to peer”, enter the query define:”peer to peer”.

Public Facts Sheet
Google can search Fact-based information, such as population, and so on. All you have to do is enter a query that states the fact you want to know.

To find the population of Texas, enter population Texas.
To find who is the president of United States, enter president United States.

The answers to these questions are displayed at the top of your search results page. You get the precise answer to your question, according to the referenced website. Click the associated link to learn more from this source.

Celebrity Book
Google knows much in details about most of world popular celebrity. You can easily spot their date of birth, birthplace, etc., with the Google search. See the sample search performed on some popular figures.

To find where Jennifer Lopez was born, enter birthplace Jennifer Lopez.
To find when Hillary was born, enter birthday Hillary Clinton.
To find when Raymond Chandler died, enter die Raymond Chandler.

World Clock
Google knows you’re time irrespective of you’re location, time zone, etc. Just type in the place where you need to find out the time. The format would be time [Place/City/Country/Area Code]

For example to find out the time in Los Angeles, type in “time Los Angeles” in the search box and hit enter.

Google will return you the current local time in Los Angeles. Find more about how to use search engines as World Clock, here.

Weather Reporter
Google can be used to find and display current weather conditions and forecasts. It’s a pretty easy search; all you have to do is enter the keyword weather, followed by the location. You can enter the location as a city name, city plus state, or Zip code.

To view the weather forecast for Chicago, enter weather Chicago.

Google displays current weather conditions and a four-day forecast at the top of the search results page. And, while this is a good summary report, you may want to click through to the more detailed forecasts offered in the standard search results listings below the four-day forecast.

Airport Conditions Keeper
Weather information is important to travelers, as is information about flight and airport delays. Fortunately, you can use the main Google search page to search for this information, just as you did with weather forecasts.

To search for weather conditions and delays at a particular airport, all you have to do is enter the airport’s three-letter code, followed by the word airport.

To view conditions at the O’Hare International Airport, Chicago (ORD), enter ord airport.

This displays a link to conditions at the chosen airport; click this link for detailed information.

Flight Status Tracker
Google also lets you track the status of any U.S. flight and many international flights. All you have to do is enter the flight number into the Google search box.

To find out the status of Air India flight 125, enter AIC125

Google now may displays links to three sites that let you track the flight status—Travelocity, Expedia, and fboweb. Click one of these links to view real-time flight status—including maps of where the plane is in its route.

Track Packages
Tracking capabilities of Google is not only limited with flights but also you can track each and every package. Google lets you track the status of package deliveries, from the U.S. Postal Service, FedEx, and UPS. All you have to do is enter the package’s tracking number into the Google search box, and Google will display a link to the service’s tracking page for that package.

To track a package shipped with US, enter 061319610297856

You can also specify the service provider before the tracking number. In most of cases google will automatically identify the provider.

A Giant Phone Directory
As part of its massive database of information, Google now includes listings for millions of U.S. households in what it calls the Google PhoneBook. You search the PhoneBook listings from the main Google search box, using specific query parameters.

All you have to do is enter some combination of the following parameters: first name (or initial), last name, city, state, or Zip code.

To search for John Smith in Minneapolis, enter john smith minneapolis mn. As you might suspect, the more details you provide, the more targeted your results will be.

And here’s something even cooler—Google lets you perform reverse phone number lookups. Just enter the full phone number, including area code, into the standard Google search box. You can enter all 10 numbers in a row, without hyphens (like this: 1234567890), or use the standard hyphenated form (like this: 123-456-7890); Google accepts either method. When you click the search button, Google displays a single matching PhoneBook result.

Google Knows Area Codes
It goes without saying that if Google knows phone numbers, it also knows area codes. If you have an area code and want to know which city it serves, just enter the area code; Google will return the city in which that area code resides.

To know area information of Washington, DC (202 is Washington’s Area code), enter 202.

Movie Guide
Google search box can also be used to look up movie reviews and show times. All you have to do is enter the word movies followed by the name of the movie.

To find out when Casino Royale is showing in your neighborhood, enter movies casino royale.

Music Information
Google is a great search engine for music. Google knows the names of tens of thousands of popular performers; all you have to do is enter the performer’s name in the search box, and Google returns specific information about that performer.

For example, when you search for norah jones, Google displays a Norah Jones section at the top of the search results page. This section includes a brief listing of the artist’s most recent (or most well-known) albums and songs.

Specialized Search Services
Google also let’s you to do specialized search based on what you’re looking for. Here is the list of specialized search service provided by Google.

google.com/blogsearch – Searches all open blogs and posts.
google.com/imghp – Searches all the available images over internet.
google.com/codesearch – Searches all publicly available source code.
google.com/finance – Searches for finance related info like stock quote, company etc.
google.com/maps – Searches for local business information.
google.com/linux – Searches all variety of Linux-related sites.
google.com/microsoft – Searches all Windows related sites.
google.com/mac – Searches all Apple related.
google.com/bsd – Searches all BSD related only sites.
google.com/news – Searches within news items.
google.com/froogle – Searches online shopping sites for specific products.
google.com/books – Searches the full text of hundreds of thousands books.
google.com/ig/usgov – Searches a variety of U.S. government websites.
google.com/scholar – Searches a database of journals, articles, papers, theses and books.
google.com/patents – Searches for the patents.
google.com/video – Searches for videos that are hosted on Google Video and YouTube.

This is an extended version of “Exploring Google’s Hidden Feature

Installing Apache / PHP / MySQL on Windows machine

7

Tutorial for hassle free Apache / PHP / MySQL installation.

Hello, I decided to write this post since I knew few people who are not be able to getaway with the installation since they are too new to this world!So to make their/your installation trouble free i’d to write this guide 🙂

This method works well with all Windows PC. Hope this helps people.!

Install Apache

Apache is most trusted web server that suits for the installation of PHP on your machine. Apache is an open source web server, which has captured almost 80% of web server market today.

Download latest version of apache windows binary installation from http://httpd.apache.org/download.cgi. The latest version that is available today is Win32 Binary (MSI Installer): apache_2.2.3-win32-x86-no_ssl.msi

Before installing make sure to disable IIS web server if running. Since it might conflict with the default HTTP port 80, in which apache runs by default.

Now let us install Apache web server into your PC. Execute the previously downloaded apache installation file which is standard Windows installation file and thus very straightforward. Just fill in the required information on screen and end the installation.

Once you have done your apache installation try visiting http://localhost; you should get an apache test page. If you’re done with successful test page, you’re ready to proceed to next step.

Install PHP

Congrats! You’ve made a wise decision to install PHP, a leading open source web programming language.

Now visit http://www.php.net/downloads.php to download latest version of PHP. Download the latest available windows binary version in ZIP format.

Once download is complete; unzip the package into a directory preferably in root drive say C:\PHP. Now you’ve to move the file named “phpXts.dll” from the PHP installation directory to Windows directory (C:\Windows or C:\winnt depending upon your OS version); X stands for the version of PHP being installed. Make an entry to C:\PHP in the PATH environment variable.

Configuring PHP

Now you need to tell apache web server what to do when it encounters PHP file. To make this work we need to make some modification in both apache and PHP configuration files.

Before doing any modification to configuration files, create a directory where you’re going to place the web application. Say C:\www

First rename the php.ini-dist to php.ini in PHP installation directory, in our case C:\PHP. Then modify the following in php.ini
doc_root = “c:\www”
extension_dir = “C:\php\ext

Change the location if you’ve installed in different location.

Note: Use backslashes while you specify any path in configuration files.

Now open httpd.conf file available in apache configuration directory (generally C:\Program Files\Apache Group\Apache2\conf\). Edit the DocumentRoot entry to DocumentRoot “C:/www”

Then change the Directory Entry as . Add the following entry into the configuration file as well before AddHandler section (do a search for “AddHandler” for find the position fast).

ScriptAlias /php/ “c:/php/”
AddType application/x-httpd-php .php .php5
Action application/x-httpd-php “/php/php-cgi.exe” # if PHP5
Action application/x-httpd-php “/php/php.exe” # if PHP4
SetEnv PHPRC “C:/php”

Finally add index.php to the DirectoryIndex entry as well like “DirectoryIndex index.html index.html.var index.php”

Now you’re ready before testing the PHP; you need to restart Apache web server to effect the changes.

Testing PHP

Create a file named phpinfo.php in C:\www or whether you configured as home directory. In phpinfo.php add “ and save.

Now point your browser to http://localhost/phpinfo.php and you should be able to see the PHP environmental variables displayed. If you’ve not seen that page you need to review the installation process again, you might have missed or went wrong in any of the above steps 🙂

Install MySQL

Now we’re almost in the final stage, we need to prepare a backend so that our web applications can make use of it. MySQL is the best choice to combine with apache and php.

Download the latest version of MySQL from http://dev.mysql.com/downloads. You’ve to download the latest available stable Window MySQL into your PC.

Once download is complete, double click on the MSI installation file, which you have just downloaded. Follow the onscreen instruction to complete the installation. Skip the sign up section and make sure you check “configure the MySQL Server now” option.

Now you will get a configuration dialog box, which can be configured easily by reading the instruction. Make sure “Install As Windows Service” is checked in the configuration page. Then define your admin password as well.

Setting up MySQL

First of all, check the c:\php directory and make sure that the files libmysqli.dll and php_mysqli.dll are both there. If they are not there, check the c:\php\ext directory and copy the files into c:\php

Then open up the file c:\php\php.ini in your editor and ADD the line extension=php_mysqli.dll

Now restart the apache web server to reflect the changes made.

Create a php file and test the mysql functions to connect to the database. Make sure your MySQL server running before executing the php program.

You can use PHPMyAdmin (www.phpmyadmin.net/) to manage your MySQL database through easy to use web interface.

Learning PHP

The complete PHP reference manual can be obtained from the php website itself. You can start learning other basic books to start off with PHP!!!

Have fun with php!!

Go to Top