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
| ################################################################################################### | |
| # Terminal Setup | |
| ################################################################################################### | |
| # Define colors | |
| COLOR_USR='\[\033[01;32m\]' # User color | |
| COLOR_DIR='\[\033[01;34m\]' # Directory color | |
| COLOR_GIT='\[\033[01;36m\]' # Git branch color | |
| COLOR_DEF='\[\033[00m\]' # Default color | |
| NEWLINE='\n' # Newline character |
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
| ''' | |
| Configuration settings for the application. | |
| ''' | |
| import os | |
| import logging | |
| from dotenv import load_dotenv | |
| load_dotenv() |
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
| class EagerSingleton { | |
| public: | |
| // Deleted copy constructor and assignment operator to prevent copying | |
| EagerSingleton(const EagerSingleton &) = delete; | |
| EagerSingleton &operator=(const EagerSingleton &) = delete; | |
| // Static method to access the `singleton` instance | |
| static EagerSingleton &getInstance() { | |
| return instance; // Return the singleton instance | |
| } |