openssl x509 -in certificate.crt -text -noout
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
| # | |
| # BEGIN all purpose associative array via temp fs | |
| # | |
| prefix=$(basename -- "$0") | |
| mapdir=$(mktemp -dt ${prefix}) | |
| trap 'rm -r ${mapdir}' EXIT | |
| put() { | |
| [ "$#" != 3 ] && exit 1 | |
| mapname=$1; key=$2; value=$3 | |
| [ -d "${mapdir}/${mapname}" ] || mkdir "${mapdir}/${mapname}" |
- create a chat session with https://chat.openai.com/chat
- paste into the chat this transcript, asking it how could the agent could have done better.
Here is a conversation between a call center agent and a customer transcribed by automatic speech recognition:
"agent - Thank you for calling member services my name is Amber can I have your member ID and Social Security number to validate your . account
customer - , um sure I thought I just put that near IB our system but let me take it up . again
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
| View: Pods(<namespace>)[number of pods listed] | |
| NAME pod name | |
| READY number of pods in ready state / number of pods to be in ready state | |
| RESTARTS number of times the pod has been restarted so far | |
| STATUS state of the pod life cycle, such as Running | ... | Completed | |
| CPU current CPU usage, unit is milli-vCPU | |
| MEM current main memory usage, unit is MiB | |
| %CPU/R current CPU usage as a percentage of what has been requested by the pod | |
| %MEM/R current main memory usage as a percentage of what has been requested by the pod |
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
| openssl x509 -in certificate.crt -text -noout |
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 python3 | |
| import sys | |
| import re | |
| from collections import defaultdict | |
| def parse_thread_dump(content): | |
| thread_pattern =\ | |
| r'"(.*?)"\s+#\d+\s+.*?cpu=(.*?)ms\s+elapsed=(.*?)s\s+tid=.*' |
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 | |
| # Check if username argument is passed | |
| if [ -z "$1" ] | |
| then | |
| echo "No argument supplied. Please provide username as an argument." | |
| exit 1 | |
| fi | |
| username="$1" # The username is taken from the first command line argument |
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 | |
| # Check if username argument is passed | |
| if [ -z "$1" ] | |
| then | |
| echo "No argument supplied. Please provide username as an argument." | |
| exit 1 | |
| fi | |
| username="$1" # The username is taken from the first command line argument |
OlderNewer