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
| REQUIRED := python3.11 curl | |
| $(foreach bin,$(REQUIRED),\ | |
| $(if $(shell command -v $(bin) 2> /dev/null),,$(error Please install `$(bin)`))) | |
| REPOSITORY_ROOT := $(PWD) | |
| .poetry/bin/poetry: ## install poetry | |
| @curl -sSL https://install.python-poetry.org | POETRY_HOME=$(REPOSITORY_ROOT)/$(shell basename $(dir $(abspath $(dir $(@))))) python3.11 - --version=1.4.2 |
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
| #!/bin/bash | |
| # Default number of words | |
| NUM_WORDS=${1:-4} | |
| # Generate a passphrase with a variable number of easily understood words separated by hyphens | |
| shuf -n "$NUM_WORDS" /usr/share/dict/words | tr '\n' '-' | sed 's/-$//' | sed 's/$/\n/' |
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 datetime | |
| import os | |
| import random | |
| import string | |
| import time | |
| import uuid | |
| import asyncpg | |
| import pytest | |
| import pytest_asyncio |
OlderNewer