Skip to content

Instantly share code, notes, and snippets.


Akshay Iyer AkshayIyer12

View GitHub Profile
Kartones /
Last active Sep 25, 2020
PostgreSQL command line cheatsheet


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)
TSiege / The Technical Interview Cheat
Last active Sep 25, 2020
This is my technical interview cheat sheet. Feel free to fork it or do whatever you want with it. PLEASE let me know if there are any errors or if anything crucial is missing. I will add more links soon.
View The Technical Interview Cheat


I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!


briancavalier / promise-monad-proof.js
Created Aug 8, 2012
A proof that Promises/A is a Monad
View promise-monad-proof.js
// Hypothesis:
// Promises/A is a Monad
// To be a Monad, it must provide at least:
// - A unit (aka return or mreturn) operation that creates a corresponding
// monadic value from a non-monadic value.
// - A bind operation that applies a function to a monadic value
You can’t perform that action at this time.