details
Put you error message into the variable ERR_MSG=ERR_MSG=lpZc-FG2IyC8TbgfIKIBK_...
and evalute this
aws sts decode-authorization-message --encoded-message ${ERR_MSG} \
| tac | tac \
{ | |
"foo": "bar", | |
"spam": "eggs" | |
} |
Various Dockerfile-s
scratch
version of alertmanager-botcryptography
needed in many packages as dependency, but looks like it difficult to build (especialy in alpine)
According to docs:
❯ docker run -it alpine:3.14
/ # apk add python3 py3-pip
...
FROM alpine:3.14 | |
RUN apk add --no-cache \ | |
libxslt-dev \ | |
python3 \ | |
py3-pip \ | |
&& apk add --no-cache --virtual .build-deps \ | |
g++ \ | |
libxml2 \ | |
libxml2-dev \ |
# pull official base image | |
FROM python:3.10.1-alpine3.14 | |
# set desired poetry version via build-arg | |
ARG POETRY_VERSION=1.1.12 | |
# setup poetry | |
RUN apk add --no-cache --virtual .build-deps \ | |
curl~=7.79 \ | |
gcc~=10.3.1 \ |
I'd like to capture my screen via QuickTime because it's easy and I don't want to install additional software on my mac.
But I need some external functionality: capture screen via QuickTime and record system audio. What I can do?
I'm glad to introduce you BlackHole.
NOTE: yeah it's a fork, which has x8 more stars than original repo. IMOPRTANT: it's not working on M1 chips yet.
Poetry is a modern python package manager like npm.
Poetry — продвинутая замена pip для Python. Менеджер зависимостей, который нам нужен в 2021м! - by Диджитализируй!
provider "aws" { | |
region = "us-east-1" | |
} |
import logging | |
# ref: https://realpython.com/python-logging/ | |
# custom logger | |
logger = logging.getLogger(__name__) | |
# handler | |
c_handler = logging.StreamHandler() | |
# set handler and logger level | |
# CRITICAL 50 | |
# ERROR 40 |