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 python3 | |
# -*- coding: utf-8 -*- | |
# Recursively generate pretty print of arbitrary objects | |
def generate_pprint(obj, level_indent=" ", max_depth=None, verbose_output=True, | |
justify_output=True, prevent_loops=True, prevent_revisit=False, | |
explore_objects=True, excluded_ids=[], visited_ids=[], | |
path_ids=[], current_depth=0): | |
"""Recursively generates pretty print of arbitrary objects. |
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 | |
# ------------------------------------------------------------------------- | |
# - | |
# Fonic <https://github.com/fonic> - | |
# Date: 07/22/21 - 06/30/22 - | |
# - | |
# Based on: - | |
# Initramfs script 'initrc-init.sh', - | |
# 'man 8 smartctl', section 'EXIT STATUS' - |
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
Moved to https://github.com/fonic/scan2pdf |
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 python3 | |
# -*- coding: utf-8 -*- | |
# ------------------------------------------------------------------------------- | |
# - | |
# Python dual-logging setup (console and log file), - | |
# supporting different log levels and colorized output - | |
# - | |
# Created by Fonic <https://github.com/fonic> - | |
# Date: 04/05/20 - 02/07/23 - |
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 | |
# ------------------------------------------------------------------------- | |
# - | |
# Remove unneeded language(s) from video file - | |
# - | |
# Created by Fonic <https://github.com/fonic> - | |
# Date: 04/14/22 - 11/20/23 - | |
# - | |
# Posted as answer on StackExchange Unix & Linux: - |
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 python3 | |
# -*- coding: utf-8 -*- | |
# ------------------------------------------------------------------------- | |
# - | |
# Python Module Argument Parser - | |
# - | |
# Created by Fonic <https://github.com/fonic> - | |
# Date: 06/20/19 - 04/03/24 - | |
# - |
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 | |
# ------------------------------------------------------------------------------ | |
# - | |
# Extract clip from video - | |
# - | |
# Created by Fonic <https://github.com/fonic> - | |
# Date: 04/21/24 - 04/21/24 - | |
# - | |
# Source: - |
OlderNewer