Skip to content

Instantly share code, notes, and snippets.

munching code

Jatin K Malik jatinkrmalik

munching code
Block or report user

Report or block jatinkrmalik

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
Kartones /
Last active Dec 11, 2019
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)
thearn /
Last active Aug 17, 2019
python-opencv ip camera example
import base64
import time
import urllib2
import cv2
import numpy as np
Examples of objects for image frame aquisition from both IP and
You can’t perform that action at this time.