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 python3 | |
| """ | |
| MIT-0 License | |
| Copyright (c) 2025 | |
| Permission is hereby granted, free of charge, to any person obtaining a copy | |
| of this software and associated documentation files (the "Software"), to deal | |
| in the Software without restriction, including without limitation the rights | |
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
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 | |
| # Docker Image and Volume Cleanup Script | |
| # | |
| # Description: | |
| # This script helps clean up Docker images and volumes by searching for items | |
| # that match a specified pattern. It provides a safe way to remove Docker | |
| # resources by showing what will be deleted and requiring explicit confirmation. | |
| # | |
| # Usage: ./dclean.sh <search_pattern> |
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 | |
| HOST="$1" | |
| if [[ -z "$HOST" ]]; then | |
| echo "Usage: $0 <HOSTNAME>" | |
| exit 1 | |
| fi | |
| IP_ADDRESS=$(dig +short A "$HOST" 2>/dev/null) |
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 | |
| # Configuration | |
| SERVICE_NAME="gemini" | |
| KEY_ATTRIBUTE="api-key" | |
| PREDEFINED_PROMPT="Answer the following question directly and provide the single best answer." | |
| # Functions |