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
| TEST_1="Test 1" | |
| TEST_2="Test 2" |
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 python | |
| """ | |
| /path/to/json_helper.py | |
| json_file - JSON file to interact with. | |
| key - JSON key to read from / write to. | |
| [value] - (Optional) Value to write to the JSON file. | |
| """ |
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
| #!/bin/bash | |
| ### | |
| # source /path/to/logging.sh | |
| # | |
| # set_logger_name "Example Logger" | |
| # set_logger_level "DEBUG" | |
| # | |
| # logger_critical "This is a critical message!" | |
| # logger_error "This is an error message!" |