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 | |
# Sync Homebrew installations between Macs via Dropbox | |
# | |
BREW="/usr/local/bin/brew" | |
# first get local settings | |
echo "Reading local settings ..." | |
rm -f /tmp/brew-sync.* |
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
1.) Download the certificates from StartSSL: | |
Private Key (myserver.key) | |
Server Certificate | |
CA Certificate | |
Intermediate Certificate | |
2.) Copy the contents from the above certificates and paste them into a new server.crt file. | |
3.) Next, convert the cert from PEM to PKCS12 format using the following command: |
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
--- | |
- name: get sha256sum of /usr/local/libexec/nut/usbhid-ups | |
stat: | |
path: /usr/local/libexec/nut/usbhid-ups | |
checksum_algorithm: sha256 | |
get_checksum: yes | |
register: nut_orig | |
- name: backup original /usr/local/libexec/nut/usbhid-ups | |
copy: |