I hereby claim:
- I am mbillow on github.
- I am mbillow (https://keybase.io/mbillow) on keybase.
- I have a public key whose fingerprint is AC99 1722 3FB8 960F A96A CB06 4C4E 7B20 2A40 377B
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
A simple service definition for Consul agents; meant to simplify the installation process of Consul.
This is based on the information provided by Hashicorp in the Consul Docs.
wget {raw_url} consul.xml
I have a Eufy Video doorbell that does a great* job with push notifications, 2K video streaming, and providing basic doorbell functionality; all without a monthy subscription. It comes with a basic 433MHz chime that you can pair and put anywhere in your house. This doesn't really work well with a two story house... it is no where near loud enough to hear it upstairs.
* Despite notifying me that the tree in my front yard is a person when it is windy enough.
let formatPhoneNumber = (str) => { | |
let cleaned = ('' + str).replace(/\D/g, ''); | |
let match = cleaned.match(/^(1|)?(\d{3})(\d{3})(\d{4})$/); | |
if (match) { | |
let intlCode = (match[1] ? '+' + match[1] : '+1') | |
return [intlCode + ' ', '(', match[2], ') ', match[3], '-', match[4]].join('') | |
} | |
return null; |