/utils

General Utilities

Primary LanguagePython

General utilities that have no other home

Current Utilities:

  • bash/chrooter.sh - useful to run from a live cd if you need to chroot into your root filesystem (for repair/rescue operations). Mounts required directories, chroots into destination.

  • python/folder_to_wbs_puml.py - generates a plantuml WBS structure of the specified folder (default is current folder). I created this to help myself quickly visualize code organization in folders, and provide a starting point for myself to take notes on each folder. Run folder_to_wbs_puml.py -h for options.

folder_to_wbs_puml.py

Here's a sample run of the script on this repository in both plantuml and image format (you have to generate the image yourself using plantuml)

plantuml output

View this output code in the plantuml live editor

@startwbs

* <:palm_tree:> utils
** <:palm_tree:> bash
*** <:four_leaf_clover:> chrooter.sh
** <:palm_tree:> python
*** <:four_leaf_clover:> folder_to_wbs_puml.py
** <:palm_tree:> output
*** <:four_leaf_clover:> repo_overview.puml

@endwbs

image output