DEV Community

Cover image for Use Google like a pro

Use Google like a pro

Marko Denic on February 03, 2021

Googling is one of the most important skills for every developer. Let me show you how to get better at Googling. Let's start! 1 . Use quotes to ...
Collapse
 
ziizium profile image
Habdul Hazeez • Edited

In addition,

You can use | in place of OR. e.g JavaScript | HTML

Google search result for JavaScript and HTML

The ext is also a substitute for filetype

Google search result for JavaScript PDF documents

Limit search to a domain e.g .com, .edu, .org e.t.c

Google search results for performance of web applications

You can go really weird by combining operators and search terms that will perform a pinpoint search.

JavaScript|HTML|CSS filetype:pdf -"framework" site:edu

When I have the time, I'll write a more comprehensive post about Google searching.

Collapse
 
stereobooster profile image
stereobooster

| is OR operation

Collapse
 
ziizium profile image
Habdul Hazeez

Thanks for the correction. I updated my comment.

Thread Thread
 
danielbranco profile image
Daniel Branco

Will try to make a good Anki deck with all these tips, make it easy to everyone to study this.

Collapse
 
martinhaeusler profile image
Martin Häusler

Keep in mind that the - for exclusion can really bite you when you look for linux commands including flags (eg. ls -a) because you'll end up with all the pages that do NOT contain the flag you were looking for... 😂 A personal facepalm moment.

Collapse
 
lukaszklis profile image
Łukasz Kliś

You can work around it and search for "ls -la". :D

Collapse
 
martinhaeusler profile image
Martin Häusler

That's true. I just didn't realize that when it happened the first time around. After things became clear, I was laughing like a maniac XD

Collapse
 
stereobooster profile image
stereobooster
Collapse
 
bravemaster619 profile image
bravemaster619

thanks for the links

Collapse
 
danielltw profile image
Daniel Leong 🇸🇬

When you are setting up a new site, beware of any public accessible file that could be index by google.

In the past, that is how hackers are able to retrieve password files.
The google search is a double edge sword.

Collapse
 
devoskar profile image
Oskar Pietrucha

I love the currency calculations tool as well with the time calculations. For example 100 USD to EUR and it will return you the valid value with latest exchange rate.
For time calculations I love to use it e.g. like this: '(1 hour 25 minutes + 33 minutes - 8 minutes) = '. Keep in mind that you need provide the "=" sign to make it work. It's also useful while converting the units eg '3 hours 44 minutes to minutes' or '8 inches to cm'

Collapse
 
haxnet profile image
HaxNet

Switch to a privacy search engine instead.

Collapse
 
zalithka profile image
Andre Greeff

oooh.... TBF, I did already know about many of these, but while reading this and a few of the comments, I just had the most amazing thought: imagine Google Search with syntax highlighting for the input field...

nothing quite like a little splash of colour for some user feedback while typing a search query, hey? (:

now I just wish I didn't have ideas like this while I was at work.. I have other things to do right now.

Collapse
 
nguyenit67 profile image
Nguyen

Thank you so much!!

Collapse
 
denicmarko profile image
Marko Denic

Glad you like it. Enjoy!

Collapse
 
nilakandi profile image
Nilakandi

test

Collapse
 
designeranna1 profile image
Designer Anna

Using search queries under "quotes" for precise results is the best one and really a pro tip. ✌🏼
Thanks to share this. 🎁

Collapse
 
seokjeon profile image
Se-ok Jeon

Thx for this! This is really what I wanted. Helped A LOT.
Can I translate in Korean this article? If you don't mind, I wanna share this awesome information in Korean. Surely, There will be a link directing to this original one.

Collapse
 
leenairen profile image
Leena Iren

Ohho, you are look like an SEO guy! Thanks.

Collapse
 
frulow profile image
Frulow

Very helpful, thanks.

Collapse
 
denicmarko profile image
Marko Denic

My pleasure!

Collapse
 
kievandres profile image
Kiev Andres

Impressive, thanks!

Collapse
 
madflows profile image
Folarin Lawal

Nice

Collapse
 
alnahian2003 profile image
Al Nahian

Wow, really impressive!

Thank you so much for your brilliant tips.

Collapse
 
originalix profile image
Leon

That's helpful. Thanks

Collapse
 
stokry profile image
Stokry

Nice one!

Collapse
 
thelalitpatil profile image
Lalit Patil

Thanks for this.

Collapse
 
denicmarko profile image
Marko Denic

My pleasure. Thanks for reading.

Collapse
 
gealber profile image
Gealber Morales

Really useful

Collapse
 
denicmarko profile image
Marko Denic

Thanks a lot!

Collapse
 
dominik_gorczyca profile image
Dominik Gorczyca

It's awesome article but how do you exclude a phrase, it seems I can only exclude one word at a time.

Collapse
 
ziizium profile image
Habdul Hazeez

I searched with the keyword: javascript tutorial taking note of the phrase: building tutorials with lots of examples as seen in the image below:

Search result on Google for the keyword javascript tutorial

Then I excluded it by combining the exclusion sign i.e. - and exact word matching character i.e. the double quotes which gives us: javascript tutorial -"building tutorials with lots of examples".

This produces different results excluding that phrase as seen in the image below:

Google search result excluding the phrase "building tutorials with lots of examples"

You should know that in the first search without the exclusion the search result was 1.2 billion, and with the exclusion it's 3.2 billion.

I hope this helps.

Collapse
 
gpingfeng profile image
Gopal

Hello, may I translate your article into Chinese?I would like to share it with more developers in China. I will give the original author and original source.

Collapse
 
denicmarko profile image
Marko Denic

Sure. No problem.

Collapse
 
__manucodes profile image
manu

Wow! Very useful tips!

Collapse
 
julesparra profile image
Jules Parra • Edited

i knew about the first once but i'm sure the rest will come in handy as i'm working on new projects with python and SQL - thanks!

Collapse
 
femolacaster profile image
femolacaster

Thank you.

Collapse
 
joaocardoso193 profile image
JoaoCardoso193

Great post, thanks for sharing!

Collapse
 
bada815 profile image
Youngsuk Kim

Thanks

Collapse
 
sixman9 profile image
Richard Joseph

Shucks, you gave away all the juicy secrets, I've been using all of the above for YEARS now, told a few colleagues over the years, yes, all VERY useful ;-)

Collapse
 
surajv profile image
Surajv

Awesome! Thanks for sharing!

Collapse
 
bigt1305 profile image
Anthony Hoss

Cool tips, thanks for sharing:)

Collapse
 
httplucasreis profile image
http.lucasReis • Edited

Thanks for this post, it's really improved my searches

Collapse
 
mamadaliyev profile image
Shohruh Mamdaliyev

Thank you bro! It is very usefull.

Collapse
 
sightlessdog profile image
Elyess Eleuch

Helpful, thanks

Collapse
 
muzammilaalpha profile image
muzammilaalpha

Good post!

Collapse
 
abbiranjan profile image
Alok Ranjan

Very informative one. Thanks

Collapse
 
nghiadoan20 profile image
NghiaDoan20

Thanks for a useful post.

Collapse
 
denicmarko profile image
Marko Denic

No worries. It's a pleasure.

Collapse
 
mauricioyair profile image
Mauricio Yair

Very cool 👏🏻

Collapse
 
arulvalananto profile image
Arul Valan Anto S

Thanks man.. it helps me a lot.❤️

Collapse
 
jeffchavez_dev profile image
Jeff Chavez

I've been thinking of this. Thank you.****

Collapse
 
shafi_on_dev profile image
Abdullah Al Shafi

Great One