Skip to content

Instantly share code, notes, and snippets.

View cxplay's full-sized avatar
💭
睡觉中

CXPLAY cxplay

💭
睡觉中
View GitHub Profile
@cxplay
cxplay / generate_directory_index_caddystyle.py
Last active August 15, 2023 16:23 — forked from glowinthedark/generate_directory_index_caddystyle.py
Generate directory index (recurse subfolders with `-r` or `--recursive`). Use `-h` or `--help` for all options
#!/usr/bin/env python3
# ---
# Copyright 2020 glowinthedark
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
#
# You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,