This file contains 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
from uuid import UUID | |
import orjson | |
import pendulum | |
import rich.console | |
from websockets.client import connect | |
from websockets.exceptions import ConnectionClosedError | |
from prefect.cli import root | |
from prefect.cli._types import PrefectTyper |
This file contains 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 | |
url=$1; | |
output=${2-output.png}; | |
size=${3-128}; | |
curl --silent -kL $url | convert - -resize ${size}x${size} $output; |