Skip to content

Instantly share code, notes, and snippets.

@brenwell
brenwell / shell
Last active December 16, 2024 11:01
Open Firewall
RULE_NAME=BrendonClient
# Retrieve the current public IP address
MY_IP=$(curl -s https://ipinfo.io/ip)
# Check if the IP address was successfully retrieved
if [ -z "$MY_IP" ]; then
echo "Error: Unable to retrieve public IP address."
exit 1
fi
@brenwell
brenwell / qifi-qr.md
Created October 8, 2023 20:38
Wifi QR Codes
2023-06-24T21:02:11.314+1000 [INFO] backend/local: apply calling Apply
2023-06-24T21:02:11.314+1000 [DEBUG] Building and walking apply graph for NormalMode plan
2023-06-24T21:02:11.315+1000 [DEBUG] Resource state not found for node "oci_core_instance.ubuntu_instance", instance oci_core_instance.ubuntu_instance
2023-06-24T21:02:11.315+1000 [DEBUG] ProviderTransformer: "data.oci_identity_availability_domains.ads (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/hashicorp/oci"]
2023-06-24T21:02:11.315+1000 [DEBUG] ProviderTransformer: "oci_identity_compartment.tf-compartment (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/hashicorp/oci"]
2023-06-24T21:02:11.315+1000 [DEBUG] ProviderTransformer: "oci_core_instance.ubuntu_instance" (*terraform.NodeApplyableResourceInstance) needs provider["registry.terraform.io/hashicorp/oci"]
2023-06-24T21:02:11.315+1000 [DEBUG] ProviderTransformer: "oci_core_instance.ubuntu_instance (expand)" (*terr