See how a minor change to your commit message style can make a difference.
git commit -m"<type>(<optional scope>): <description>" \ -m"<optional body>" \ -m"<optional footer>"
| """ | |
| Structlog example configuration with FastAPI. | |
| Features: | |
| - async bound logger | |
| - contextvars to log request-id and other meta data | |
| - custom format for default logging loggers and structlog loggers | |
| """ | |
| import asyncio | |
| import logging |
| #!/usr/bin/env python | |
| __author__ = 'Kevin Warrick' | |
| __email__ = 'kwarrick@uga.edu, abulka@gmail.com' | |
| __version__ = '2.0.0' | |
| import pickle | |
| from collections import namedtuple | |
| from functools import wraps | |
| import inspect | |
| from icecream import ic |
See how a minor change to your commit message style can make a difference.
git commit -m"<type>(<optional scope>): <description>" \ -m"<optional body>" \ -m"<optional footer>"
Psql is a fully-fledged CLI client for Postgres, but most people are unaware of its many advanced features.
~/.psqlrc can be edited to persist any behavior or configuration settings you want between psql sessions. It behaves just like ~/.bashrc or ~/.vimrc, sourced at psql launch. See More out of psql for some interesting configurations.
If you have a long query to write and rewrite, you can use \e to edit your query in an editor.
Use \watch at the end of a query in order to automatically re-run the query every few seconds - great for monitoring while making changes elsewhere in your application architecture.