This file contains hidden or 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
| // abstract class, not intended to be instantiated directly | |
| class CalendarItem { | |
| static #UNSET = Symbol("unset") | |
| static #isUnset(v) { | |
| return v === this.#UNSET; | |
| } | |
| static { | |
| for (let [idx,msg] of [ | |
| "ID is already set.", | |
| "ID is unset.", |
- Reolink PoE 5MP RLC-522 - https://www.amazon.ca/gp/product/B01AL5D85W/ref=ppx_yo_dt_b_asin_title_o06_s00
- Mokerlink 1 to 4 port PoE switch - https://www.amazon.ca/MokerLink-Ethernet-Support-IEEE802-3af-Fanless/dp/B07SGBQNLM/ref=sr_1_4
- (Kind of works) Raspberry Pi 4 - https://www.amazon.ca/CanaKit-Raspberry-Starter-Kit-4GB/dp/B07WRMR2CX/ref=sr_1_4 3a. (Recommended) Nanopi R4S (Way better performance but likely has to ship from China, but it is the far superior device for same price)
- Recommended: Also get yourself a USB 3.0 portable hard drive, preferably 2TB+, of your preferred brand
Terraform state s3 bucket is used for storing your terraform state in a terraform backend
This file contains hidden or 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 | |
| user_name="$1" | |
| echo "Removing user: ${user_name}" | |
| echo "Deleting Access Keys:" | |
| keys=("$(aws iam list-access-keys --user-name "${user_name}" | jq -r '.AccessKeyMetadata[] | .AccessKeyId')") | |
| if [[ "${#keys}" -gt "0" ]]; then | |
| # shellcheck disable=SC2068 |
This file contains hidden or 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
| # Dependencies | |
| # nginx_lua | |
| # lua uuid module (luarocks install uuid) | |
| http { | |
| # this will be the request id | |
| map $host $request_uuid { | |
| default ''; | |
| } |