Skip to content

Instantly share code, notes, and snippets.

View ddelange's full-sized avatar
💥
["translatio", "imitatio", "aemulatio"]

ddelange ddelange

💥
["translatio", "imitatio", "aemulatio"]
View GitHub Profile
@ddelange
ddelange / review_assignment.py
Last active September 16, 2019 13:49
Review assignment and potentially override rejection
import boto3
import logging
import os
import pprint
import xmltodict
pp = pprint.PrettyPrinter(depth=3).pprint
logger = logging.getLogger(__name__)
logger.setLevel(logging.DEBUG)
@ddelange
ddelange / kubectl_plug_play.md
Last active December 22, 2023 13:59
kubebash kubelogs kubebranch

Kubectl Plug & Play Extensions

  • interactive shell -- kubebash <namespace> <deployment>
  • live colored logs streaming -- kubelogs <namespace> <deployment>
  • deployments dockertag table -- kubebranch <namespace> [<partial deployment name>]

A customized subset of kubectl commands. See also: official kubectl cheatsheet

tl;dr

I just want plug&play bash functions
@ddelange
ddelange / airflow_slack_notifications.md
Last active November 16, 2023 16:57
Airflow Slack notifications

Airflow Slack notifications

Installation

Make sure slackclient v1.3.1 is installed (for apache-airflow 1.10).

pip install -U "apache-airflow[slack,...]"
@ddelange
ddelange / Installing PyICU, libpostal, pypostal on Mac OS X 10.14+.md
Last active December 23, 2024 20:01
Installation instructions for libicu-dev, PyICU, libpostal, pypostal on Mac OS X

Installing PyICU, libpostal, pypostal on Mac OS X 10.14+

libicu-dev (PyICU dependency)

brew reinstall pkg-config icu4c