Recent things
Searching the current folder on a mac by default
A handy productivity improvement
websearch_to_tsquery for Postgres full text search
Full text search in postgres is awesome but constructing queries can be a bit tedious. websearch_to_tsquery
makes that super easy.
How to pass a list as a param to pandas read_sql_query with sqlalchemy
I'm very used to passing an array of items to a postgres query using libraries for nodejs like pg-promise
so was surprised how hard it was to figure out how to do this with python, pandas and sqlalchemy
Get postgres query results as JSON
A super handy snippet to get the results of a query as JSON