Probably one of the easiest things you'll ever do with gpg
Install Keybase: https://keybase.io/download and Ensure the keybase cli is in your PATH
First get the public key
keybase pgp export | gpg --import
Next get the private key
| #!/bin/bash | |
| # /volume1/UDMBackup is the path to the NFS share on the Synology | |
| # /nfs/UDMBackup is the mount point on the local Linux server where the script runs | |
| # /opt/scripts/UDM_pass is a text file containing the root account password on the UDM | |
| # I run this script on an Ubuntu VM for ease of maintenance and save the backups on a Synology using NFS | |
| LOGFILE="/opt/scripts/udmpro-backup.log" | |
| BKUPSCRIPT="sshpass -f /opt/scripts/UDM_pass scp -o StrictHostKeyChecking=no -r root@<<UDM PRO IP ADDRESS>>:/mnt/data/unifi-os/unifi/data/backup/autobackup/* /nfs/UDMBackup" | |
| mount <<SYNOLOGY IP ADDRESS>>:/volume1/UDMBackup /nfs/UDMBackup |
| # Install keybase and pinentry-mac | |
| brew update | |
| brew install keybase pinentry-mac | |
| # Create a Keybase.io account and key | |
| keybase signup | |
| # Or if you have an account | |
| keybase login |
Probably one of the easiest things you'll ever do with gpg
Install Keybase: https://keybase.io/download and Ensure the keybase cli is in your PATH
First get the public key
keybase pgp export | gpg --import
Next get the private key
| #!/usr/bin/env bash | |
| # TODO: Need to figure out the settings for the following: | |
| # 1) Dock: Items with order (not capturing binary data - since that is dependent on installed apps) | |
| # 2) Security & Privacy Preferences: Full Disk Access, Camera, Microphone | |
| # 3) Login items for my user (i.e. apps started when I login) | |
| # 4) Retina displays | |
| ## | |
| # This is a script with useful tips taken from: |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| 000000 Officially Xerox | |
| 000001 SuperLAN-2U | |
| 000002 BBN (was internal usage only, no longer used) | |
| 000003 XEROX CORPORATION | |
| 000004 XEROX CORPORATION | |
| 000005 XEROX CORPORATION | |
| 000006 XEROX CORPORATION | |
| 000007 XEROX CORPORATION | |
| 000008 XEROX CORPORATION | |
| 000009 powerpipes? |
| #!/bin/bash | |
| set -o errexit | |
| echo "Removing exited docker containers..." | |
| docker ps -a -f status=exited -q | xargs -r docker rm -v | |
| echo "Removing dangling images..." | |
| docker images --no-trunc -q -f dangling=true | xargs -r docker rmi |