DEA - Debit increases Expenses and Assets
CLI - Credit increases Liabilities and Income
| Assets | Liabilities (Equity) | Income (Revenue) | Expenses | |
|---|---|---|---|---|
| Debit | ↑ | ↓ | ↓ | ↑ |
| Credit | ↓ | ↑ | ↑ | ↓ |
| #!/bin/sh | |
| sudo adduser --disabled-password --gecos "Admin" admin | |
| sudo usermod -aG sudo admin | |
| echo "admin ALL=(ALL) NOPASSWD:ALL" | sudo tee /etc/sudoers.d/admin | |
| sudo chmod 440 /etc/sudoers.d/admin | |
| sudo -u admin ssh-keygen -t ed25519 -f /home/admin/.ssh/id_ed25519 -N "" | |
| sudo cp /root/.ssh/authorized_keys /home/admin/.ssh/authorized_keys | |
| sudo chown -R admin:admin /home/admin/.ssh | |
| sudo chmod 600 /home/admin/.ssh/authorized_keys |
| bindsym XF86LaunchA exec env WOFI_ARGS="-W 100% -H 10% -y 0 -x 0 -I -w 1" /usr/local/bin/screenshot | |
| input "1452:834:Apple_SPI_Trackpad" { | |
| natural_scroll disabled | |
| tap enabled | |
| dwt enabled | |
| } |
| kubectl get pods --all-namespaces -o custom-columns=NAMESPACE:.metadata.namespace,NAME:.metadata.name,REASON:.status.phase --field-selector=status.phase=Failed --no-headers | awk '{print $1 " " $2}' | while read ns pod; do echo kubectl delete pod $pod -n $ns |
| 3RD PARTY LICENSES | |
| This document contains the list of Third Party Software included with | |
| <PROJECT_NAME>, along with the license information. | |
| Third Party Software may impose additional restrictions and it is the | |
| user's responsibility to ensure that they have met the licensing | |
| requirements of <PROJECT_NAME> and the relevant license of | |
| the Third Party Software they are using. |
To set-up wal shipping in primary cluster:
pod_environment_configmap: postgres-pod-config
---
apiVersion: v1
kind: ConfigMap
metadata:
| [Desktop Entry] | |
| Version=1.0 | |
| Terminal=false | |
| Type=Application | |
| Name=Apache Directory Studio | |
| Exec=/opt/ApacheDirectoryStudio/ApacheDirectoryStudio | |
| Icon=/opt/ApacheDirectoryStudio/features/org.apache.directory.studio.nls.feature_2.0.0.v20170904-M13/studio.png | |
| Categories=Network;Development | |
| Keywords=ldap; |
| [Desktop Entry] | |
| Encoding=UTF-8 | |
| Version=2.2.3 | |
| Type=Application | |
| Terminal=false | |
| Exec="/opt/android-studio/bin/studio.sh" | |
| Name=Android Studio | |
| Comment=Android Studio | |
| Categories=Programming; | |
| Icon=/opt/android-studio/bin/studio.png |
| NAMESPACE= | |
| CLUSTER_ID= | |
| kubectl get namespace $NAMESPACE -o json | jq '.spec = {"finalizers":[]}' > temp.json | |
| curl -k -H "Content-Type: application/json" \ | |
| -X PUT --data-binary @temp.json \ | |
| 127.0.0.1:8001/k8s/clusters/$CLUSTER_ID/api/v1/namespaces/$NAMESPACE/finalize |
| cat tls.crt | base64 -d | tr '\n' '~' | \ | |
| sed 's/-\+END CERTIFICATE-\+~-\+BEGIN CERTIFICATE-\+/~/g' | \ | |
| awk '{split($0,array,"~~~")} END{print array[1]}' | tr '~' '\n' > cert.pem | |
| echo "-----END CERTIFICATE-----" >> cert.pem | |
| echo >> cert.pem | |
| echo "-----BEGIN CERTIFICATE-----" > fullchain.pem | |
| cat tls.crt | base64 -d | tr '\n' '~' | \ | |
| sed 's/-\+END CERTIFICATE-\+~-\+BEGIN CERTIFICATE-\+/~/g' | \ | |
| awk '{split($0,array,"~~~")} END{print array[2]}' | tr '~' '\n' >> fullchain.pem |