src: https://www.stationx.net/nmap-cheat-sheet
| Switch | Example | Description |
[user] | |
name = Pavan Kumar Sunkara | |
email = [email protected] | |
username = pksunkara | |
[core] | |
editor = vim | |
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol | |
excludesfile = ~/.gitignore | |
[sendemail] | |
smtpencryption = tls |
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 |
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/