Skip to content

Instantly share code, notes, and snippets.

View potto007's full-sized avatar

Paul Otto potto007

View GitHub Profile
@potto007
potto007 / keybase.md
Created August 12, 2021 02:25
Keybase proof of Github ownership

Keybase proof

I hereby claim:

  • I am potto007 on github.
  • I am potto (https://keybase.io/potto) on keybase.
  • I have a public key ASDjfF0xEUjIFyz9SgSjM5ENSgDB3_fF8hQBwrDkl6Gf2wo

To claim this, I am signing this object:

@potto007
potto007 / deploy_elasticache_debug.log
Last active July 3, 2018 18:47
Terraform debug log for Issue #5064
This file has been truncated, but you can view the full file.
Running with gitlab-runner 10.4.0 (857480b6)
on gitlab-runner-deploy-gitlab-runner-666c975546-zqlcv (1f1d222a)
"Namespace" overwritten with "prd121"
Using Kubernetes namespace: prd121
Using Kubernetes executor with image ${DOCKER_PULL_HOST}/ticketmaster/<**REDACTED**> ...
section_start:1530563835:prepare_script
Waiting for pod prd121/runner-1f1d222a-project-23013-concurrent-0hfnmj to be running, status is Pending
Waiting for pod prd121/runner-1f1d222a-project-23013-concurrent-0hfnmj to be running, status is Pending
Waiting for pod prd121/runner-1f1d222a-project-23013-concurrent-0hfnmj to be running, status is Pending
Waiting for pod prd121/runner-1f1d222a-project-23013-concurrent-0hfnmj to be running, status is Pending
@potto007
potto007 / add_ssl_to_cloudkey.txt
Last active April 14, 2022 23:06
Set up Free SSL with Ubiquiti UniFi Cloud Key -- follow instructions in `add_ssl_to_cloudkey.txt`
1) Login to Cloud Key
2) Cloud Key ssh: `curl https://get.acme.sh | sh`
3) Cloud Key ssh: `acme.sh --upgrade --auto-upgrade --accountemail "myemail@example.com"`
4) Cloud Key ssh: Add `cloudkey-renew-hook.sh` file to `/root/.acme.sh`
5) Create free CloudFlare account (if not already member)
6) Login to CloudFlare
7) On CloudFlare: Create a zone for a domain you own (can add a cheap domain with namecheap.com or any number of alternatives)
8) On CloudFlare: Create an A record for your Cloud Key; ie: unifi.CHANGE.ME, 192.168.1.10
9) On UniFi Controller: Go to Settings; Click "Controller"; Change "Controller Hostname/IP" to the name entered in step 8.
10) On CloudFlare: go to Overview for your zone; click "Get your API key"