Saturday, October 2, 2010

How to Search On Google,12 Tips

1. Explicit Phrase:
Lets say you are looking for content about internet marketing. Instead of just typing internet marketing into the Google search box, you will likely be better off searching explicitly for the phrase. To do this, simply enclose the search phrase within double quotes.

Example: "internet marketing"

2. Exclude Words:
Lets say you want to search for content about internet marketing, but you want to exclude any results that contain the term advertising. To do this, simply use the "-" sign in front of the word you want to exclude.

Example Search: internet marketing -advertising

3. Site Specific Search:
Often, you want to search a specific website for content that matches a certain phrase. Even if the site doesn’t support a built-in search feature, you can use Google to search the site for your term. Simply use the "site:somesite.com" modifier.

Example: "internet marketing" site:www.smallbusinesshub.com

4. Similar Words and Synonyms:
Let’s say you are want to include a word in your search, but want to include results that contain similar words or synonyms. To do this, use the "~" in front of the word.

Example: "internet marketing" ~professional

5. Specific Document Types:
If you’re looking to find results that are of a specific type, you can use the modifier "filetype:". For example, you might want to find only PowerPoint presentations related to internet marketing.

Example: "internet marketing" filetype:ppt

6. This OR That:
By default, when you do a search, Google will include all the terms specified in the search. If you are looking for any one of one or more terms to match, then you can use the OR operator. (Note: The OR has to be capitalized).

Example: internet marketing OR advertising

7. Phone Listing:
Let’s say someone calls you on your mobile number and you don’t know how it is. If all you have is a phone number, you can look it up on Google using the phonebook feature.

Example: phonebook:617-555-1212 (note: the provided number does not work – you’ll have to use a real number to get any results).

8. Area Code Lookup:
If all you need to do is to look-up the area code for a phone number, just enter the 3-digit area code and Google will tell you where it’s from.

Example: 617

9. Numeric Ranges:

This is a rarely used, but highly useful tip. Let’s say you want to find results that contain any of a range of numbers. You can do this by using the X..Y modifier (in case this is hard to read, what’s between the X and Y are two periods. This type of search is useful for years (as shown below), prices or anywhere where you want to provide a series of numbers.

Example: president 1940..1950

10. Stock (Ticker Symbol):
Just enter a valid ticker symbol as your search term and Google will give you the current financials and a quick thumb-nail chart for the stock.

Example: GOOG

11. Calculator:

The next time you need to do a quick calculation, instead of bringing up the Calculator applet, you can just type your expression in to Google.

Example: 48512 * 1.02

12. Word Definitions:

If you need to quickly look up the definition of a word or phrase, simply use the "define:" command.

Example: define:plethora

Tuesday, July 13, 2010

Engineering: How to Connect Php 5 and oracle 10g in window xp

Engineering: How to Connect Php 5 and oracle 10g in window xp

How to Connect Php 5 and oracle 10g in window xp

· Install the WampServer 2.0 or Newer Version (for running php )

· Install the Oracle 10g







There is no need to change the port address of wamp and oracle.
Then the following things to be done :


For the PHP part :



1. Search for php.ini file inside wamp(folder)

There will be two files found in the search result

(according to my Computer hardisk :

C:\wamp\bin\php\php5.2.6\php.iniC:\wamp\bin\apache\apache2.2.8\bin\php.ini )
2. Now open the php.ini file in notepad

3. Find this :

“extension=php_oci8.dll”

“extension=php_pdo_oci.dll”

“extension=php_pdo_oci8.dll”

And remove the ; (semicolon ) if present before the extension word .


Before :

;extension=php_oci8.dll
;extension=php_pdo_oci.dll
;extension=php_pdo_oci8.dll






After :

extension=php_oci8.dll
extension=php_pdo_oci.dll
extension=php_pdo_oci8.dll




Make the above correction in both php.ini files and save it .

For Oracle part :
1. Run the Oracle server.

2. If the oracle server is running then ,start sqlplus.

3.Enter user name "scott" and password "tiger" and enter into database or you can run by command prompt



from sqlplus:-


or From command prompt:-

1. Go to Start -> Run -> cmd

2. And Type the following command (according to my PC)to run sqlplus:

c:>Sqlplus scott/tiger@ORCL



[Format : sqlplus username/password@service-name]




5. If following stages runs successfully then , type the following command in command Prompt (to run Listener):


c:>lsnrctl


lsnrctl>stop




lsnrctl>start


Now-Exit by Typing Exit on command prompt.

lsnrctl>exit

If the above stage runs correctly then , type following command in command Prompt (to test connection)

[Format : tnsping service-name]


c:>tnsping orcl


If it successfully loaded , then the last line will show OK with some time that have taken to run the server .


Finally , create a file named “oracle-php.php” and test this code :


?php

$conn = oci_connect('scott', 'tiger', '');
$sql = oci_parse($conn, 'select * from emp');
oci_execute($sql);
while ($row = oci_fetch_assoc($sql))
echo $row['ENAME'] . "
";

?
"
save it .


and put this file under wamp server in the wamp/www in a new folder.


1. To check that php is having connection with oci (Oracle Call Interface )

If you have the wamp welcome page , then click on phpinfo()



Inside this phpinfo() , search for “OCI8 Support”. If you get it “enabled” state , then it has got the connection with Oracle .





After Running php file the o/p is like this...




…………………….

Done.. PHP 5 and Oracle 10G connected …

I hope it has also connected for you.
...all the best...

Friday, June 4, 2010

Pollution



Pollution:-
There are various types of pollution like noise,nuclear,chemical,smoke but the most common and dangerous is smoke and chemical pollution.All over earth it is spread automatically and cause unfavorable condition for all flora and fauna .The most important thing is that human is primary source of this hazard. Various Technology used for solve this problem like solar energy ,bioengineering. The main cause of pollution is vehicles .there are about 810 million vehicles in the world at 2009 report they burn over 260 billion gallons of gasoline and diesel fuel yearly which produce enough pollution to decay earth and with unsustainable cutting of forest make condition even worse.
Water pollution also cause much destruction .Two inorganic plant nutrients of major concern are nitrogen and phosphorus. They come primarily from septic tanks, barnyards, heavily fertilized crops, and sewage treatment plants, and cause excessive plant growth that clogs navigable waterways. Bacterial decay of plants in the fall result in a drop in dissolved oxygen, which may suffocate fish and other organisms.
The solution is that we clear that we can relay most of the time on public vehicles ,use PUC (pollution under control vehicles) ,avoid poly thin ,use renewable resource.
and last but most important is that convince other to this,and spread awareness to other people also.
" Develop Green Engineering ,save Nature Engineering ".

Thursday, June 3, 2010

Nature Engineering


Nature Engineering:- Engineering is not only confine to artificial thing you can also engineer nature,where you will get unique non ending resource like sunlight,rain water ,air ,trees,rivers, various type flora and fauna,helpful species. we have to only utilize and engineered this nature gift in a way that the use of these gift will not cause any adverse effect on earth or nature. In today life we dig hundreds of feet for water. take water out for use.by this the level of water inside earth going down and down .also city which are made up of concrete will block the water going inside the earth .water directly flow towards the river and which causes flood. so we have that water level drooping for this we have to use rain water preserving technique called water harvesting. water harvesting can we done on any level like for small home,any city apartment ,village,fields , we have to collect rain water from roofs and store than to proper place by which it will not flow to river. Now ,we have sunlight which is the source of all form of energy .we can help country by making efficient solar panel ,encourage farmers and citizen by developing solar equipment according to the requirement.another wonderful way to use solar energy is planting useful plants which will not only medical herbs,fruits but also prevent from various nature calamity like flood,uneven rain.
so,
" Develop Green Engineering ,save Nature Engineering ".

Tuesday, June 1, 2010

Engineers Earth




Engineers :-
Basically Engineers are that who would maximize the available resource and make required object .Engineering can be done in all fields available in universe.
Its is the fact that human mind always want to do some thing new from this quality human was changed from early man to 20th century man .all the work invention done by human race to change from early man to 20th century man is engineering.

Early man work are the classical example of engineering .they made tools,home,transport facility all the things .so engineering is the gift from god to human by which he/she will be make his life easy,comfortable.
But the point is that we have to use engineering in the positive way. if we destroy nature engineering than it definitely destroy our engineering. because nature provide environment to develop our engineering .so
" Develop Green Engineering ,save Nature Engineering ".