Skip to content

Instantly share code, notes, and snippets.

@nisitc
nisitc / PY0101EN-1-1-Types.ipynb
Created October 29, 2019 19:56
Created on Cognitive Class Labs
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@nisitc
nisitc / PY0101EN-1-2-Strings.ipynb
Created October 29, 2019 19:56
Created on Cognitive Class Labs
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@nisitc
nisitc / PY0101EN-2-1-Tuples.ipynb
Created October 30, 2019 19:04
Created on Cognitive Class Labs
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@nisitc
nisitc / PY0101EN-2-3-Sets.ipynb
Created October 30, 2019 20:07
Created on Cognitive Class Labs
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@nisitc
nisitc / PY0101EN-2-4-Dictionaries.ipynb
Created October 30, 2019 22:08
Created on Cognitive Class Labs
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@nisitc
nisitc / PY0101EN-3-1-Conditions.ipynb
Created October 31, 2019 13:14
Created on Cognitive Class Labs
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@nisitc
nisitc / PY0101EN-2-2-Lists.ipynb
Created November 2, 2019 19:31
Created on Cognitive Class Labs
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@nisitc
nisitc / PY0101EN-3-3-Functions.ipynb
Created November 30, 2019 19:18
Created on Cognitive Class Labs
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@nisitc
nisitc / PY0101EN-3-4-Classes.ipynb
Created December 2, 2019 19:15
Created on Cognitive Class Labs
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@nisitc
nisitc / postgres-cheatsheet.md
Created March 31, 2021 10:33 — forked from Kartones/postgres-cheatsheet.md
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)