src: https://www.stationx.net/nmap-cheat-sheet
| Switch | Example | Description |
src: https://www.stationx.net/nmap-cheat-sheet
| Switch | Example | Description |
| #!/bin/bash | |
| set -e | |
| set -o pipefail | |
| # Add user to k8s using service account, no RBAC (must create RBAC after this script) | |
| if [[ -z "$1" ]] || [[ -z "$2" ]]; then | |
| echo "usage: $0 <service_account_name> <namespace>" | |
| exit 1 | |
| fi |
| k apply -f - <<EOF | |
| apiVersion: apps/v1 | |
| kind: Deployment | |
| metadata: | |
| name: tools | |
| spec: | |
| replicas: 1 | |
| selector: | |
| matchLabels: | |
| app: tools |
| apiVersion: apps/v1 | |
| kind: Deployment | |
| metadata: | |
| namespace: staging | |
| name: nginx | |
| labels: | |
| name: nginx | |
| spec: | |
| selector: | |
| matchLabels: |
| sintaxis | |
| awk options program file | |
| # Especificar el separador de archivos | |
| -F fs | |
| # file: programa awk | |
| -f file |
| # Querying Schema Privileges | |
| sampledb=# dn+ | |
| List of schemas | |
| Name | Owner | Access privileges | Description | |
| --------+----------+----------------------+------------------------ | |
| public | postgres | postgres=UC/postgres+| standard public schema | |
| | | =UC/postgres | | |
| (1 row) | |
| - the default-created schema named "public", described as "standard public schema", and owned by the role "postgres" | |
| -- ownership, unless specified otherwise, is set to the role which creates the schema. |
| |
SSL analysis https://www.ssllabs.com/ssltest/
Here’s a shorter list of 10 important GitHub Actions environment variables: