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
# ====================================================================================== | |
# Delete all github-workflow runs of a given workflow_id to cleanup the actions-section | |
# | |
# original gist: | |
# https://gist.github.com/zulhfreelancer/a32bee3d37ffb90c93e00bf4b7fe26cf | |
# | |
# Requirements | |
# * gh CLI: https://cli.github.com (make sure you are logged-in to the CLI) | |
# * jq CLI: https://stedolan.github.io/jq | |
# ====================================================================================== |
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 -*- | |
""" | |
unzip3_gbk.py: Deal with zip files using encoding GB2312/GBK/GB18030 | |
""" | |
import os | |
# import sys | |
import argparse | |
import zipfile |