DEV Community

loading...
Cover image for What do you have to Google? 
Every. Single. Time.

What do you have to Google? Every. Single. Time.

helenanders26 profile image Helen Anderson ・Updated on ・1 min read

For me, it's the simple commands that let me set up a new Github repo and add files. I just don't do it enough to commit it to memory.

How about you? Any other stories to make me feel better?

Discussion (70)

pic
Editor guide
Collapse
simonholdorf profile image
Collapse
q2apro profile image
q2apro

I thought I would never get the RegEx commands until I found regex101.com/ ... this shows what is behind each single contro character. After a year I got it and created my own Regex commands. :)

Collapse
greenroommate profile image
Haris Secic

Was looking for this

Collapse
johnotu profile image
John Otu

I'm not sure what my RegEx issue is. Maybe it's because I don't get to use it so often. I've had to look it up every time I need to use it.

Collapse
sanspanic profile image
Sandra Spanik

How to center pretty much anything πŸ₯²

Collapse
waylonwalker profile image
Waylon Walker • Edited

Flexbox completely changed this for me. Now I just have to start firing away at justify-content: center, align-items:center; align-content:center, margin: auto, text-align: center until something sticks.

Collapse
sanspanic profile image
Sandra Spanik

This is so true! When I'm using flexbox and none of above work, that's when I know I'm in big trouble

Collapse
helenanders26 profile image
Helen Anderson Author

+1 for this. I have to consciously think how I am having to spell 'center' or 'color' using American spelling

Collapse
dannyvaneeckhoutte profile image
Collapse
eelstork profile image
Tea

That's... zen.

Collapse
itsasine profile image
ItsASine (Kayla)

Whether I want slice or substring and if substr matters

Which always ends with me using substring

Collapse
itsasine profile image
ItsASine (Kayla)

Alternatively, I actually can keep straight slice and splice for arrays. It's the string functions that mess me up

Collapse
andrewbrown profile image
Andrew Brown πŸ‡¨πŸ‡¦

Every time I restart my computer, it breaks Postgres.

So I have to google where to delete the postermaster.pid, which you aren't suppose to do since this can corrupt your database but it works, and I can never remember the command, even though I created an alias, but I can't remember the alias even though I could type alias to see my aliases.

Collapse
greenroommate profile image
Haris Secic

When we wonder why people won't switch from excel just look at this example of IT person 😁

Collapse
waylonwalker profile image
Waylon Walker

I've been there, "I know I made an alias for this, but cannot remember the alias". Most often I use fzf history search. C-R and start banging away until something looks good.

Collapse
jankapunkt profile image
Jan KΓΌster • Edited
  • Markdown Cheatsheet
  • Dollar Euro
  • Timezone calculator
  • Color picker
  • Lorem ipsum
  • Linux softlink
  • Linux get Mainboard

Weirdly I end up searching them everytime although there are tools for each/most of them...

Collapse
waylonwalker profile image
Waylon Walker

Soft links confuse me as well, I always mix up source/destination order.

Collapse
brandonwallace profile image
brandon_wallace • Edited

It is hard to remember complex syntax sometimes. What you can do is to write a cheat sheet of the commands you would like to remember and paste it on the wall.

If you have access to the man pages in the Bash terminal you can find the syntax for commands there.

Another thing is you can do is to save the command in a file and run it as a script. Like this long hard-to-remember rsync backup command.

$ vim backup.sh

#!/bin/bash

rsync -a --stats --human-readable --progress --checksum --exclude={'__pycache__/','.git/*','.venv/*','node_modules/*'} --log-file=rsync_log_$(date +"%Y-%m-%d_%H%M%S).log /home/brandon/code/ /backup
Enter fullscreen mode Exit fullscreen mode
Collapse
drew_k_b324be4c15f36f71e6 profile image
Drew K

how to exit vim

Collapse
sebring profile image
J. G. Sebring

how to exit vim

Oh been there, so annoyed every time. For me it was the default editor of git bash, so if you rebased you ended up in vim. For anyone else being there now, set your default editor in git bash now,

$ git config --global core.editor code
Enter fullscreen mode Exit fullscreen mode

code here refers to vs code, so replace with your editor of choice

Collapse
andreidascalu profile image
Andrei Dascalu

Looping an array in bash. One would think after 10 years it would stick to my mind but no, no chance of that.

Collapse
natterstefan profile image
Stefan Natter πŸ‡¦πŸ‡ΉπŸ‘¨πŸ»β€πŸ’»

I used to google how to do a git rebase in the console. Now it’s about regex all the time.

Collapse
waylonwalker profile image
Waylon Walker

regex is so difficult, but feels like a super power when it works.

Collapse
q2apro profile image
q2apro

Recommended above again, here one more time: regex101.com/

Thread Thread
natterstefan profile image
Stefan Natter πŸ‡¦πŸ‡ΉπŸ‘¨πŸ»β€πŸ’»

I use that site a lot too. It's fantastic.

Collapse
natterstefan profile image
Collapse
adnanrahic profile image
Adnan Rahić

Deleting a git branch from origin.
Freaking always need to Google that... πŸ˜„

Collapse
terabaud profile image
Lea Rosema (she/her)

Everytime I work with vanilla WebGL:
gl.texImage2D(), gl.texSubImage2D and gl.texParameter:fi

Collapse
manuthecoder profile image
ManuTheCoder

REGEX!
I google up regex generators :D

Collapse
eelstork profile image
Tea

Oh wait. A thing you need is probably Notational Velocity or an equivalent.
These things that you google every time are stuff that you don't find time to automate, or that aren't worth automating. So, with an effective, search oriented notepad you just make yourself reminders and that's faster than googling.

Collapse
chetan11dev profile image
Chetan

Actually, I believe there are times when I google for my own pleasure say I want to read some moral story from moralstories26.com, about healthy food, about Japanese people culture it's crazy that I waste a ton of time to such distractions.
How do you deal with distraction fellow developer?

Collapse
wagslane profile image
Lane Wagner

Reverting vs resetting commits

Collapse
aakatev profile image
Artem

Ports in use on Linux... every single time.

Collapse
bertilmuth profile image
Bertil Muth

One area I can't wrap my head around is build tool syntax. I mostly use Gradle and remember the absolute basics (i.e. declaring dependencies). For all the rest, I google and copy&paste code snippets from the web like crazy until it works. That's a process I don't like at all when coding. But concerning build tools, my lack of interest in learning the details of how they work is paired with a lack of available task focused documentation.

Collapse
almeidaalex profile image
Alex Almeida

I can't remember tons of commands, sometimes I've executed several times in the past and I can't simply remember, except everyday commands like git pull, git commit, git fetch, etc, because I love CLI interfaces. But if you use something like zshell, you got some alias, git pull becomes gp and git add --all it's a simple gaa

Collapse
nataliedeweerd profile image
Collapse
cashoefman profile image
Cas Hoefman

The weather

Collapse
perplexedyawdie profile image
Javel Rowe

Whether to use align-items or align-content

Collapse
stephaniewalter profile image
Stéphanie Walter 🦊🌈

The exact syntax for CSS animations, and I gave talks on that topic so I am quite ashamed to admit it ^^

Collapse
arvindsridharan profile image
arvindsridharan

Linux bash commands all the time. Plus higher order functions. Plus use of This in JavaScript. The list goes on.....

Collapse
rishitkhandelwal profile image
Collapse
q2apro profile image
q2apro

strpos in PHP, what comes first haystack or needle.

Collapse
okikio profile image
Okiki • Edited

Flexbox.... and how to delete a file (package-lock.json) from all previous git commits

Collapse
sebring profile image
J. G. Sebring

Just curious here, why would you delete package-lock?

Collapse
okikio profile image
Okiki

I use pnpm, but my setup automatically installs packages for me using npm, if I forget to delete package‐lock.json, I would have to lock files, and I personally find that annoying.

Collapse
laetitiazammit profile image
Laetitia

getBoundingClientRect()... everytime!

Collapse
dmahely profile image
Doaa Mahely

The SQL syntax for updating

Collapse
fxdpt profile image
Fxdpt

Docker cheat sheet

Collapse
donnaken15 profile image
Wesley

Calculator stuff when I can't think.

Collapse
jadvincula profile image
Joan

Regular expressions. For anything. I have not a single one committed to memory.

Collapse
nald_dev profile image
Nald Dev

Write almost everytime my question on google and not using stack overflow search bar :) poor stack overflow search bar

Collapse
booyaa profile image
Mark Sta Ana

xargs especially if it involves running a destructive command like rm. 🀣

Collapse
nop33 profile image
Ilias Trichopoulos

Remove object with specific property from an array in JS XD

Collapse
anhquande profile image
Anhquan

default flex-direction
difference between justify-content and align-content

I just cannot remember it

Collapse
cstephenson profile image
Courtney Stephenson

How anchor tags work

Collapse
colinlord profile image
Colin Lord

Flexbox and grid properties. Just about every single time.

Collapse
johnotu profile image
John Otu

Regular Expressions. It's been over 4 years but I still lookup regex πŸ™ˆ

Collapse
mmakrzem profile image
Collapse
mitchartemis profile image
Mitch Stanley

How to do the symlink command.

Shameless plug: I created snipline.io to store all of my commands, now I rarely have to Google them unless it's for something new.

Collapse
waylonwalker profile image
Waylon Walker

Lately its been how to fix ipython. Jedi has been introducing breaking changes that either causes a stream of error messages when hitting tab, or complete crash. I need to make an install alias.

Collapse
eelstork profile image
Tea

Anything that really I should have converted into a snippet already!

Collapse
darkwiiplayer profile image
DarkWiiPlayer • Edited

I vaguely remember that there's many of these, but I can't even remember what they are 😁

Collapse
himanshhhu profile image
Himanshu Singh

Is heap a max-heap or min-heap by default :-(

Collapse
loujaybee profile image
Lou β€” Cloud Engineer

I find I'm re-gooling this, quite often πŸ˜‚

astrofrog.github.io/blog/2013/04/1...

Collapse
stojakovic99 profile image
Collapse
deepu105 profile image
Deepu K Sasidharan

Everything, depending on time of the day πŸ˜‚
But mainly functions and APIs but thats the price of being a polyglot programmer I guess

Collapse
titonobre profile image
Tito

How to remove merged branches in Git.

Collapse
shyamissundar profile image
ShyamSundar

can't believe how many times i've searched for how to link css file to html

Collapse
vigneshmb profile image
vigneshmb

RegEx, Flexbox and anything related to CSS