Lecture 1: Introduction to Research — [📝Lecture Notebooks] [
Lecture 2: Introduction to Python — [📝Lecture Notebooks] [
Lecture 3: Introduction to NumPy — [📝Lecture Notebooks] [
Lecture 4: Introduction to pandas — [📝Lecture Notebooks] [
Lecture 5: Plotting Data — [📝Lecture Notebooks] [[
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
git checkout -b __newbranch__
: get a new branch and switch to itgit checkout -b __branchname__ / __branchname__
: get a local copy of a remote existing branchgit checkout __branchname__
: switch branchgit checkout --orphan __branchname__
: create branch without full historygit log -n X -p
: show X last commits with diffsgit log __branchA__ ^__branchB__
: commits in branch A that aren't in branch Bgit log --pretty=oneline --stat --all __foldername__
: modified files under a given foldergit fetch
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)