Skip to content

Instantly share code, notes, and snippets.

View bonaquaVDZ's full-sized avatar

Vadzim Ramaniuk bonaquaVDZ

  • Toronto, Canada
View GitHub Profile
@bradtraversy
bradtraversy / mysql_cheat_sheet.md
Last active December 5, 2025 03:48
MySQL Cheat Sheet

MySQL Cheat Sheet

Help with SQL commands to interact with a MySQL database

MySQL Locations

  • Mac /usr/local/mysql/bin
  • Windows /Program Files/MySQL/MySQL version/bin
  • Xampp /xampp/mysql/bin

Add mysql to your PATH

@squarism
squarism / iterm2.md
Last active December 9, 2025 19:43
An iTerm2 Cheatsheet

In the below keyboard shortcuts, I use the capital letters for reading clarity but this does not imply shift, if shift is needed, I will say shift. So + D does not mean hold shift. + Shift + D does of course.

Tabs and Windows

Function Shortcut
New Tab + T
Close Tab or Window + W (same as many mac apps)
Go to Tab + Number Key (ie: ⌘2 is 2nd tab)
Go to Split Pane by Direction + Option + Arrow Key
@Kartones
Kartones / postgres-cheatsheet.md
Last active December 9, 2025 11:10
PostgreSQL command line cheatsheet

PSQL

Magic words:

psql -U postgres

Some interesting flags (to see all, use -h or --help depending on your psql version):

  • -E: will describe the underlaying queries of the \ commands (cool for learning!)
  • -l: psql will list all databases and then exit (useful if the user you connect with doesn't has a default database, like at AWS RDS)