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
Kartones / postgres-cheatsheet.md
Last active Aug 16, 2019
PostgreSQL command line cheatsheet
View postgres-cheatsheet.md

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)
@thearn
thearn / opencv-python-ipcam.py
Last active Mar 11, 2019
python-opencv ip camera example
View opencv-python-ipcam.py
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.