I hereby claim:
- I am jamesbursa on github.
- I am jamesbursa (https://keybase.io/jamesbursa) on keybase.
- I have a public key ASAY_NkgZGEm-1yURb70bbVlYHX1pZrNV7FL47UuFoKHdgo
To claim this, I am signing this object:
# | |
# Pull request label rules. | |
# | |
# Runs in action pull-request-labeler.yml. | |
# | |
# See https://github.com/marketplace/actions/labeler | |
# | |
# Labels for programming languages. | |
javascript: "**/*.js" |
# | |
# Configuration for local development. | |
# | |
# If you need to make local changes, add them to override.py instead to avoid | |
# conflicts. | |
# | |
logging_level = { | |
"sqlalchemy": "INFO", | |
} |
def override_logging_levels(): | |
"""Override default logging levels using settings in LOGGING_LEVEL environment variable. | |
The format is "name1=level,name2=level". For example: | |
LOGGING_LEVEL="requests=DEBUG,sqlalchemy=INFO" | |
""" | |
for override in os.environ.get("LOGGING_LEVEL", "").split(","): | |
if "=" not in override: | |
continue |
# | |
# Convert CloudTrail of ModifyDBInstance to Markdown. | |
# | |
# Usage: | |
# aws cloudtrail lookup-events --lookup-attributes AttributeKey=EventName,AttributeValue=ModifyDBInstance >ModifyDBInstance_events.json | |
# python3 parse_events.py ModifyDBInstance_events.json | |
# | |
from dataclasses import dataclass | |
import json |
#!/usr/bin/env bash | |
# | |
# Example script structure. | |
# | |
set -o errexit -o pipefail | |
source "$(dirname "$0")/util" | |
main() { | |
... |
james=> SHOW TimeZone; | |
TimeZone | |
------------------ | |
America/New_York | |
(1 row) | |
james=> CREATE TEMPORARY TABLE test (t TIMESTAMP WITH TIME ZONE); | |
CREATE TABLE | |
james=> INSERT INTO test VALUES ('2020-03-20 12:30:00 America/New_York'), ('2020-03-20 15:30:00 Europe/London'); | |
INSERT 0 2 |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/perl | |
use strict; | |
use warnings; | |
use POSIX qw(strftime); | |
my @BRANDS = qw(Acme Best Costlo Deluxe Essential Fresh Great Harvest Indigo); | |
my @PRODUCTS = qw(Almonds Eggs Milk Apple Pear Orange Carrot Pepper Bread | |
Croissant Chocolate Cola Potato Cream Tomato Chips |