show dbs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
Counter=14 | |
DisplayHeader="Time Temp CPU Core Health Vcore PMIC" | |
while true ; do | |
let ++Counter | |
if [ ${Counter} -eq 15 ]; then | |
echo -e "${DisplayHeader}" | |
Counter=0 | |
fi | |
Health=$(perl -e "printf \"%19b\n\", $(vcgencmd get_throttled | cut -f2 -d=)") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: cert-manager.io/v1 | |
kind: Issuer | |
metadata: | |
name: letsencrypt-staging | |
namespace: cert-manager | |
spec: | |
acme: | |
email: brian@liotti.io | |
server: https://acme-staging-v02.api.letsencrypt.org/directory | |
privateKeySecretRef: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This mounts the nfs volume claim into /mnt and continuously | |
# overwrites /mnt/index.html with the time and hostname of the pod. | |
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: test | |
spec: | |
replicas: 1 | |
selector: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: nfs-server | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: | |
role: nfs-server | |
template: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I'm verifying ownership of bliotti@protonmail.com at EarnCarrot. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I'm verifying ownership of bliotti@protonmail.com at EarnCarrot. |
##MONGODB & PYTHON
###Ubuntu Install
sudo apt-get install mongodb
pip install pymongo
Table - Collection
Column - Property
Row - Document