Few skills are more important for computer professionals than knowing how to conduct a good search. I use to think this subject was entirely intuitive and did not need to be taught. Then I began to see that there were a number of rules that I was using implicitly, without conscious thought. They can be taught. Then I realized that there some tricks that I knew that I hadn't bother to teach. Then I realized there were tricks that I did not know. The result is this page.
Let's start by thinking about how to search on Google. Below you will find a number of examples of how to conduct searches.
The main secret is learning to search on the right keywords. Don't pose a question in a sentence as you would when asking a human being. Instead, just list the keywords. Or else, use keywords and some Google "tricks."
For instance, don't write this: "What are the first five presidents of the United States?" Instead, write this: "Presidents US". If that doesn't work try playing with your keywords: "USA Presidents", "American Presidents", "Presidents American List." Finding the write permutation is the key. If you do it enough, there will come a time when you will just intuit what keywords to use in a search. Or conversely, you will intuit why a search you composed didn't work, and how to alter it to make it work.
There are rules here:
Google ignores punctuation in a search. It doesn't hurt to put it in, but don't waste time fretting over it.
Search for JavaScript loops on Elvenware:
[site:elvenware.com](https://www.google.com/search?q=site:elvenware.com JavaScript loops)
[related:google.com](https://www.google.com/search?q=related:google.com)
[related:nytimes.com](https://www.google.com/search?q=related:nytimes.com)
Finds -- in theory -- all the other search engines on the web and the second search finds all news sites. At least in theory. But it can be helpful. For instance:
[related:slashdot.com](https://www.google.com/search?q=related:slashdot.com)
[related:jquery.com](https://www.google.com/search?q=related:jquery.com)
[related:w3schools.com](https://www.google.com/search?q=related:w3schools)
Put searches for exact phrases in quotes: "the midnight ride of Paul Revere"
["the midnight ride of Paul Revere](https://www.google.com/search?q="the midnight ride of Paul Revere")
Use a dash to negate. All words but tea:
All words but tea party:
If you want to see who links to a web site or a page on a site, you can use the link operator.
Search on a phrase, but omitting certain words or phrases. Suppose you remember part of the Gettysburg address, but not all of it:
Search only for the title of a page
Use the word define:
Sometimes you want to search not for a page, but for a Google Search page. In other words, you want to take a user to the Google search page, and show them the results of a particular query. To do that, write the Google URL, then a slash character, then the word search. After that place a question mark and the letter queue = your search. Like this, where the first examples shows how to see what Google comes back with when you search for jetbrains and students:
In both the Chrome and FireFox desktop browsers you can emulate a mobile device. Here is device emulation in Chrome:
Here is the responsive device mode in FireFox:
In Chrome, press F12 or Ctrl-Shift-I to bring up the developers tools. Notice the toolbar:
In FireFox you can open the Web Developer tools by choosing F12 or Ctrl-Shift-I. Here are the main toolbar in the FireFox Web Developer Tools:
Some trouble shooting tips to use if Chrome is misbehaving. Only do these things if your browser is completely breaking down and not acting rationally.
Are you on the latest version of Chrome? Go to this page and make sure you are completely up to date:
chrome://chrome/
Another thing to try is to completely clear the history and remove all extensions. Press Ctrl-H and then choose Clear Browsing Data and clear everything. You will lose your passwords, your history, absolutely everything, but clearly something is wrong, and we need to find what it is. Try again whatever it was that made you want to reset the browser.
Then go to chrome://extensions/ and make sure everything is disabled. All extensions except Secure Shell. Try again. If that doesn't work, then remove all the extensions except Secure Shell. Try to connect again.
if it still doesn't work, go to chrome://settings/. Select the advanced options and choose reset settings. Try again. There are more details on this here:
https://support.google.com/chrome/answer/3296214?hl=en
Try again. If it still doesn't work, a next step might be to completely uninstall Chrome and then reinstall it.
Let me know if you can make any progress.
I have been burned a number of times by this issue. My current policy is something like this:
It only takes a few seconds to clear the cache, and more than once it has made problems magically go away.
The link on the site about how to clear the cache is good, but I think there is a faster way in Chrome/Chromium:
You can also use this shortcut in Chrome: