Skip to content

Instantly share code, notes, and snippets.

View InsanePrawn's full-sized avatar
🗝️
old keys are best keys

Prawn InsanePrawn

🗝️
old keys are best keys
View GitHub Profile
@InsanePrawn
InsanePrawn / generate_directory_index_caddystyle.py
Last active September 14, 2021 22:41 — 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,