- https://app.pluralsight.com/course-player?clipId=e98f7d8f-aa52-48dd-b664-6f78aa6dd22e
- https://app.pluralsight.com/course-player?clipId=29bb7c4a-4b48-49fe-b7e7-ee6e6c82d04f
- https://app.pluralsight.com/course-player?clipId=40d999a8-24cc-4253-88e0-58dcf546e072
- https://app.pluralsight.com/course-player?clipId=6cc3cf43-6dbd-41ca-b4e1-0f68c4c12fab
- https://app.pluralsight.com/course-player?clipId=9f70ad6a-4df2-4de4-aba3-1b8a0f44949a
- https://app.pluralsight.com/course-player?clipId=f95a9758-7ea3-4c55-a015-c86e39343b88
This file contains hidden or 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/zsh | |
######################################## | |
######################################## | |
## ## | |
## Author: [email protected] ## | |
## Takes Markdown file `in.md` and ## | |
## converts it into a LaTeX PDF !! ## | |
## ## | |
######################################## |
This file contains hidden or 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
#!/usr/bin/env bash | |
sudo dnf upgrade --refresh | |
sudo dnf install dnf-plugin-system-upgrade | |
sudo dnf system-upgrade download --releasever=37 | |
sudo dnf system-upgrade reboot | |
sudo dnf install remove-retired-packages | |
remove-retired-packages | |
sudo dnf repoquery --unsatisfied | |
sudo dnf repoquery --duplicates |
This file contains hidden or 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
# Error: You have not chosen to trust USERTrust RSA Certification Authority (SSL error 61) | |
wget http://www.tbs-x509.com/USERTrustRSACertificationAuthority.crt | |
sudo cp USERTrustRSACertificationAuthority.crt /opt/Citrix/ICAClient/keystore/cacerts/USERTrustRSACertificationAuthority.pem | |
# alternatively, if it's intermediate put it in /opt/Citrix/ICAClient/keystore/intcerts/ | |
sudo /opt/Citrix/ICAClient/util/ctx_rehash |
This file contains hidden or 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
### BEFORE: | |
lmaly@localhost ~/Projects/gitops-environment-promotion/envs/staging-asia main cat kustomization.yml | |
--- | |
apiVersion: kustomize.config.k8s.io/v1beta1 | |
kind: Kustomization | |
namespace: staging | |
namePrefix: staging-asia- | |
This file contains hidden or 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/sh | |
matches=$(git diff-index --patch HEAD | grep '^+' | grep -Pi 'password|keyword2|keyword3') | |
if [ ! -z "$matches" ] | |
then | |
cat <<\EOT | |
Error: Words from the blocked list were present in the diff: | |
EOT | |
echo $matches | |
exit 1 | |
fi |
Q1. The metric node_cpu_temp_celcius
reports the current temperature of a nodes CPU in celsius. What query will return the average temperature across all CPUs on a per node basis? The query should return {instance=“node1”} 23.5 //average temp across all CPUs on node1 {instance=“node2”} 33.5 //average temp across all CPUs on node2.
node_cpu_temp_celsius{instance="node1", cpu="0"} 28
node_cpu_temp_celsius{instance="node1", cpu="1"} 19
node_cpu_temp_celsius{instance="node2", cpu="0"} 36
node_cpu_temp_celsius{instance="node2", cpu="1"} 31
- Security commensurate with the risk and the magnitude of harm resulting from the loss, misuse or unauthorized access to or modification of information.
Adequate Security
- Controls implemented through policy and procedures. Examples include access control processes and requiring multiple personnel to conduct a specific operation. Administrative controls in modern environments are often enforced in conjunction with physical and/or technical controls, such as an access-granting policy for new users that requires login and approval by the hiring manager.
Administrative Controls
- The ability of computers and robots to simulate human intelligence and behavior. > Artificial Intelligence
This file contains hidden or 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
IFS=$'\n'; for course in $(cat mkdir.txt); do mkdir ${course}; done; unset IFS |