This file contains 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 | |
# search-non-inclusive-language.sh | |
# Recursively search the current directory for non-inclusive language. | |
# | |
# Typical usage: | |
# cd <site>/web/modules/custom | |
# /path/to/advotools/scripts/advo/search-non-inclusive-language.sh | |
# cd <site>/web/themes/custom | |
# /path/to/advotools/scripts/advo/search-non-inclusive-language.sh | |
# |
This file contains 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
# Crontab entry to shut down Lando/Docker. | |
0 4 * * * /path/to/file/below/docker-shutdown.sh > /dev/null 2>&1 | |
# Here’s the script: | |
#!/bin/bash | |
# docker-shutdown | |
# Shutdown Lando, then Docker. | |
docker_running=`ps -fU $USER | grep -i "com.docker.hyperkit" | grep -v "grep"` |