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 | |
# This script update IPv6 address to Cloudflare and send notification message via WxPusher. | |
# with `crontab -e` to set periodical task. | |
set -x | |
ZONE_ID={} | |
TOKEN_KEY={} | |
TARGET={} |
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
""" | |
Requirements: | |
python~=3.10 | |
numpy | |
optuna | |
loguru | |
""" | |
from __future__ import annotations | |
import datetime |