Usage:
```
$ mkdir RHEL9Doc
$ cd RHEL9Doc
$ fetchdoc.sh https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9
```
Prerequirement: curl, GNU Parallel
2024-11-21: fix for docs.redhat.com update
Usage:
```
$ mkdir RHEL9Doc
$ cd RHEL9Doc
$ fetchdoc.sh https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9
```
Prerequirement: curl, GNU Parallel
2024-11-21: fix for docs.redhat.com update
| # How to use acme.sh to set up Let's Encrypt, with the script being run | |
| # mostly without root permissions | |
| # See https://github.com/Neilpang/acme.sh for more | |
| # These instructions use the domain "EXAMPLE.COM" as an example | |
| # These instructions: | |
| # - work on Ubuntu 18.04 and 20.04 with nginx | |
| # - use CloudFlare DNS validation |
| #!/bin/bash | |
| # variables | |
| LOGFILE="/var/log/nginx/access.log" | |
| LOGFILE_GZ="/var/log/nginx/access.log.*" | |
| RESPONSE_CODE="200" | |
| # functions | |
| filters(){ | |
| grep -w $RESPONSE_CODE \ |
Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)
First one found from of
| #!/usr/bin/python | |
| ######### | |
| # About # | |
| ######### | |
| # This script uses a Raspberry Pi to sense for the presense or absense of water. | |
| # If there is water, an email is sent and a buzzer goes off. | |
| # When it's dry again, another email is sent, and the buzzer turns off. |