Skip to content

Instantly share code, notes, and snippets.

Avatar
🇲🇽

Fermin Fermn

🇲🇽
  • Seattle, Washington
View GitHub Profile
View gist:b206d09c587e8fc6399e

Rails naming conventions

General Ruby conventions

Class names are CamelCase.

Methods and variables are snake_case.

Methods with a ? suffix will return a boolean.

@itsmattsoria
itsmattsoria / gistfil1.textile
Last active Oct 2, 2021
Mac Terminal Cheat Sheet
View gistfil1.textile

SHORTCUTS

Key/Command Description
Tab Auto-complete files and folder names
Ctrl + A Go to the beginning of the line you are currently typing on
Ctrl + E Go to the end of the line you are currently typing on
Ctrl + U Clear the line before the cursor
Ctrl + K Clear the line after the cursor
Ctrl + W Delete the word before the cursor
Ctrl + T Swap the last two characters before the cursor