Skip to content

Instantly share code, notes, and snippets.

View Jiuh-star's full-sized avatar
🍵
Studying

Jiuh.star Jiuh-star

🍵
Studying
View GitHub Profile
@Jiuh-star
Jiuh-star / gist:6ed3d112ad27684000e11c17d770d50f
Created February 21, 2025 04:17
IPv6 DDNS via Cloudflare
#!/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={}
@Jiuh-star
Jiuh-star / minibt.py
Created August 31, 2023 01:02
Mini backtest framework
"""
Requirements:
python~=3.10
numpy
optuna
loguru
"""
from __future__ import annotations
import datetime