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 -e | |
| ### 1. Script globally checks for all vagrant instances running under the user executing the script. | |
| ### 2. Assigns the instance ID's of any running instance to the variable "instances". | |
| ### 3. Checks for whether the variable "instances" is an empty string. | |
| ### 4. If not an empty string, then run a for loop to print vagrant instance information and halts (stops) it. | |
| vagrant_stop () { |
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 -e | |
| ############ VARIABLES ############ | |
| executable="ansible-galaxy" | |
| ############ VARIABLES ############ | |
| echo -e "\nThis script fetches role id of an ansible role that exists in Ansible Galaxy (https://galaxy.ansible.com/)\n" | |
| check_executable () { | |
| if command -v ${executable} &> /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
| #!/usr/bin/env python3 | |
| import requests | |
| ## This python3 code snippet checks for the bug reported on: | |
| ## https://community.letsencrypt.org/t/2020-02-29-caa-rechecking-bug/114591 | |
| ## This script can be run as: `python3 letsencrypt_caa_bugcheck.py` | |
| ## Replace the value for domains with appropriate domains you want to check against. | |
| domains = ["myfirstdomain.com", "myseconddomain.com"] |
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
| ## Assumes `curl` and `jq` are installed/available. | |
| curl --silent "https://api.github.com/users/darkwizard242/repos?per_page=100000&page=1" | jq -r '.[] | .name' |