Using the tool should enable tightly securing and monitoring your services, with no extra work necessary. Your scratch code is now near Production Ready*.
Simple design, both for you and us.
#!/usr/bin/env python | |
from contextlib import contextmanager | |
import inspect | |
from tempfile import NamedTemporaryFile | |
import typing as t | |
import typing_extensions as te | |
import os | |
import pystemd | |
import pystemd.run |
#!/usr/bin/env bash | |
# gcloud doesn't provide a mechanism to configure Artifact Registry auth helpers out the box. | |
# ref: https://cloud.google.com/artifact-registry/docs/docker/authentication?hl=en-GB#gcloud-helper | |
registries="$(gcloud artifacts locations list --format json | jq -r '. | map("\(.name)-docker.pkg.dev") | join(",") | @sh')" | |
# don't quote 'registries', it's already escaped by jq | |
gcloud auth configure-docker $registries |
#!/usr/bin/env bash | |
set -Eeuo pipefail | |
video_file="${1}" | |
palette_file="$(mktemp --suffix=.png)" | |
output_file="${video_file%.*}.gif" | |
function cleanup() { | |
rm -f "${palette_file}" |
import logging | |
import os | |
from collections import defaultdict | |
from typing import Dict | |
LOG = logging.getLogger(__name__) | |
class ParameterStoreEnvirontment: |
root = true | |
[*] | |
charset = utf-8 | |
end_of_line = lf | |
insert_final_newline = true | |
trim_trailing_whitespace = true | |
indent_style = space |
version: "3.7" | |
services: | |
app: | |
build: . | |
depends_on: | |
- db | |
x-tasks: | |
test: | |
depends_on: db launch |
a = ([]+![]) [+!![]] | |
c = ([]+ [][([]+![])[+[]] + ([]+![])[!![]+!![]] + ([]+![])[+!![]] + ([]+!![])[+[]]])[!![]+!![]+!![]] // []['flat'][3] | |
d = ([]+[][[]]) [!![]+!![]] | |
e = ([]+!![]) [!![]+!![]+!![]] | |
f = ([]+![]) [+[]] | |
i = ([]+[][[]]) [!![]+!![]+!![]+!![]+!![]] | |
l = ([]+![]) [!![]+!![]] | |
n = ([]+[][[]])[+!![]] // undefined[1] | |
o = ([] + [][([]+![])[+[]] + ([]+![])[!![]+!![]] + ([]+![])[+!![]] + ([]+!![])[+[]]])[!![]+!![]+!![]+!![]+!![]+!![]] // function[6] | |
r = ([]+!![]) [+!![]] |
At MadeTech, we need to deal with hundreds of projects, across lots of workspaces, and potentially across hundreds of clients' workspaces too.
To keep a standard approach, we should split dotfiles, or config files in general, into 3 categories: