#!/bin/zsh | |
# Credit: Original idea and script disable.sh by pwnsdx https://gist.github.com/pwnsdx/d87b034c4c0210b988040ad2f85a68d3 | |
# Disabling unwanted services on macOS Big Sur (11), macOS Monterey (12) and macOS Ventura (13) | |
# Disabling SIP is required ("csrutil disable" from Terminal in Recovery) | |
# Modifications are written in /private/var/db/com.apple.xpc.launchd/ disabled.plist, disabled.501.plist | |
# To revert, delete /private/var/db/com.apple.xpc.launchd/ disabled.plist and disabled.501.plist and reboot; sudo rm -r /private/var/db/com.apple.xpc.launchd/* | |
# user |
This steps assume we already have a Cluster created with VPC-native traffic routing
enabled.
Before the need of the HTTP(S) LoadBalancer, I would just apply the manifests provided by the NGINX DOCS page for the installation of the Nginx Ingress Controller and It would create a service of type LoadBalancer
which would, then, create a regional L4 LoadBalancer automatically.
But now that I need need to have Cloud Armor and WAF, the L4 Loadbalancer doesn't support it. A HTTP(S) Load Balancer is needed in order to Cloud Armor to work.
In order to have Nginx Ingress controller working with the new HTTPS(S) LoadBalancer we need to change the type: LoadBalancer
on the Nginx Ingress Controller service to ClusterIP
instead, and add the NEG annotation to it cloud.google.com/neg: '{"exposed_ports": {"80":{"name": "ingress-nginx-80-neg"}}}'
. We do that because we don't want it to generate a L4 LoadBalancer for us. Instead, we will manually create an HTTP(S) LoadBalancer and bind it t
import type { ComponentProps, ComponentType } from 'react' | |
import { | |
Platform, | |
Pressable, | |
Text, | |
TextProps, | |
ViewProps, | |
View, | |
} from 'react-native' | |
import { useLinkProps } from '@react-navigation/native' |
import { FormControl, Input } from 'native-base' | |
import React from 'react' | |
import { | |
Control, | |
Controller, | |
FieldError, | |
Path, | |
RegisterOptions, | |
} from 'react-hook-form' |
# Warning: This config does not include keys that have an unset value | |
# ~/.config/starship.toml | |
format = '''\[$time\] $status$cmd_duration$username@$hostname \[$directory\] | |
[> ](bold)''' | |
scan_timeout = 30 | |
command_timeout = 500 | |
add_newline = false | |
[aws] |
/**
* Default circular array size.
*/
export const DEFAULT_CIRCULAR_ARRAY_SIZE = 2000
/** Array with a maximum length shifting items when full. */
export class CircularArray<T> extends Array<T> {
/** @inheritdoc */
public size: number
import { DependencyList, useMemo } from "react"; | |
import { | |
ImageStyle, | |
RegisteredStyle, | |
StyleProp, | |
StyleSheet, | |
TextStyle, | |
ViewStyle, | |
} from "react-native"; |
// This code sample uses the 'node-fetch' library: | |
// https://www.npmjs.com/package/node-fetch | |
const fetch = require("node-fetch"); | |
const bodyData = `{ | |
"update": {}, | |
"fields": { | |
"summary": "Main order flow broken", | |
"parent": { | |
"key": "PROJ-123" |