DEV Community

Cover image for What's that piece of code that you have to Google *every time*?
Vitor Paladini
Vitor Paladini

Posted on

What's that piece of code that you have to Google *every time*?

"Is it .splice(), .slice() or .explode()?"

Latest comments (87)

Collapse
 
celestialmusa profile image
Zacharia Manyoni

CSS pseudo classes and their selectors, almost every time!

Collapse
 
ferdnyc profile image
Frank Dana

The simplest/stupidest? Bash operator precedence. I have to check Every. Time. But only because it's so weird and stupid! Whoever did this is a sociopath:

Of these list operators, && and || have equal precedence, followed by ; and &, which have equal precedence.

Collapse
 
code_rams profile image
Ramya Chinnadurai • Edited

Regex. Every time I use regex101.com while coming to regex.

Collapse
 
mateusrangel profile image
Mateus Rangel

Count number of files within a directory in Linux

Collapse
 
bronxsystem profile image
bronxsystem

git revert

Collapse
 
unfor19 profile image
Meir Gabay

Bash, command line arguments while case esac

Collapse
 
vepo profile image
Victor Osório

How to read a file in Java line by line.

Collapse
 
eberreta profile image
Eber Reta

Laravel validation rules

Collapse
 
mutale85 profile image
Mutale85

Bootstrap navigation...

Collapse
 
pj profile image
Paul Johnson

strftime and strptime in python, every single time. Surely there must be something better than formatting and parsing by arbitrary string formats...

Collapse
 
jessekphillips profile image
Jesse Phillips

I think I'm finally over it, but declaring properties in c#.

Collapse
 
merri profile image
Vesa Piittinen

-webkit-overflow-scrolling: touch;

Collapse
 
mariofix profile image
Mario Hernandez

DateFormats, I forget about them all the time.

Oh, and the init stuff for git

Collapse
 
keltroth profile image
Django Janny

Let me check on google, I can't remember it :)

Some comments may only be visible to logged-in visitors. Sign in to view all comments.