Skip to content

Instantly share code, notes, and snippets.

@the0neWhoKnocks
Last active December 8, 2022 02:19
Show Gist options
  • Save the0neWhoKnocks/4feee8ebd156cddb82a834ff9c1e6026 to your computer and use it in GitHub Desktop.
Save the0neWhoKnocks/4feee8ebd156cddb82a834ff9c1e6026 to your computer and use it in GitHub Desktop.
Google Search Tips

Google Search Tips


Exact Search

Wrap your search in double quotes

Limit Search by Domain

Prefix your search with site:<DOMAIN>

site:stackoverflow.com webpack

Exclude Term from Search

Add -<TERM> at the end of your query

trigger javascript event -jquery

Filter Results by Year

Add after:<YEAR> or before:<YEAR> at the end of your query

react lifecycle methods after:2020

react lifecycle methods before:2020

Filter Results by Range

Add <VALUE1>..<VALUE2> at the end of your query

react lifecycle methods 2020..2021

laptop $600..$1000 

Get Most Recent Cached Version of a Page

cache:https://stackoverflow.com/

Get Result by File Type

When looking for image file types, you should do so on the Images tab, otherwise you may not get anything.

user icon filetype:svg

Find Sites That Are Related to Another

related:stackoverflow.com

Get Weather From Multiple Sites

weather:portland or.

Get Map For Location

map:nike campus

Get Movie

movie:dune 1984

Get Value of Currency in Another Currency

$1000 in EUR

Logical Operators

Type Format Example
OR
<TERM1>|<TERM2>
how fast is svelte|react
OR (group)
(<TERM1>|<TERM2>)
how fast is (svelte|react) compared to vue
STAR
* <TERM>
how to deploy * to AWS

Find subdomains for a site

site:*.nike.com -www


Google filters out some search results that could be considered maliscious. In that case, you can use https://duckduckgo.com/.


Sources

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment