Skip to content

Instantly share code, notes, and snippets.

:octocat:
lifelong learner

Knight.zhou yangboz

:octocat:
lifelong learner
Block or report user

Report or block yangboz

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 19, 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)
@mt3
mt3 / pandas-heroku.md
Created Sep 8, 2012 — forked from nicolashery/pandas-heroku.md
Deploy Python app using Pandas on Heroku
View pandas-heroku.md

Deploy Python app using Pandas on Heroku

2012-09-08

This document explains how to deploy a Python app that uses the Pandas library on Heroku.

Heroku builds Numpy (one of Pandas' requirements) fine. However, when trying to deploy an app with both numpy and pandas in its requirements.txt file (or even just pandas), for some reason it fails

You can’t perform that action at this time.