This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# ex: set fdm=marker | |
# usage {{{1 | |
#/ Usage: | |
#/ ./build.sh -r "REGISTRY/NAME" [OPTIONS] | |
#/ | |
#/ -c|--context) | |
#/ the context in which to do the `docker build` | |
#/ | |
#/ -r|--registry) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
# standard python imports | |
import logging | |
from rich.logging import RichHandler | |
from rich.traceback import install | |
import os | |
install() | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import asyncio | |
# Async operation definition remains the same | |
async def async_operation(): | |
print("Starting async operation") | |
await asyncio.sleep(1) | |
print("Async operation completed") | |
OlderNewer