Skip to content

Instantly share code, notes, and snippets.

View PurushothamanSrikanth's full-sized avatar
🎯
Focusing

Purushothaman Srikanth PurushothamanSrikanth

🎯
Focusing
View GitHub Profile
@PurushothamanSrikanth
PurushothamanSrikanth / postgres-cheatsheet.md
Created June 17, 2021 02:00 — 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)
@PurushothamanSrikanth
PurushothamanSrikanth / tensorboard_logging.py
Created February 4, 2021 15:09 — forked from gyglim/tensorboard_logging.py
Logging to tensorboard without tensorflow operations. Uses manually generated summaries instead of summary ops
"""Simple example on how to log scalars and images to tensorboard without tensor ops.
License: BSD License 2.0
"""
__author__ = "Michael Gygli"
import tensorflow as tf
from StringIO import StringIO
import matplotlib.pyplot as plt
import numpy as np
@PurushothamanSrikanth
PurushothamanSrikanth / .gitignore
Created March 3, 2019 04:30 — forked from Cheesetouched/.gitignore
Standardised gitignore for your Flutter apps & Dart projects
### Flutter Generated
# Miscellaneous
*.class
*.lock
*.log
*.pyc
*.swp
.DS_Store
.atom/