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
# TYPE test01_a counter | |
# HELP test01_a counter_exemplars | |
test01_a_total 0 123 | |
# TYPE test02_a counter | |
# HELP test02_a counter_exemplars_empty_brackets | |
test02_a_total{} 0 123 | |
# HELP test03_cc_seconds counter_unit | |
# TYPE test03_cc_seconds counter | |
# UNIT test03_cc_seconds seconds | |
test03_cc_seconds_total 1.0 |
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
package redisotel | |
import ( | |
"context" | |
"strings" | |
"sync" | |
"github.com/redis/go-redis/v9" | |
"go.opentelemetry.io/otel/propagation" | |
"go.opentelemetry.io/otel/trace" |
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/bash | |
# This script will download, configure, compile, run and compare 20 code responses to Matt | |
# Parker's "Can you find: five five-letter words with twenty-five unique letters?" video. | |
# Please run the script twice with the first execution elevated (sudo). | |
## INSTALL SYSTEM DEPENDENCIES | |
if [ "$EUID" -eq 0 ] | |
then |
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
package main | |
import ( | |
"bufio" | |
"fmt" | |
"io" | |
"math" | |
"os" | |
"runtime" | |
"sort" |
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/bash | |
if [ "$#" -lt 1 ] | |
then | |
echo "Scan keys in Redis matching a pattern using SCAN (safe version of KEYS)" | |
echo "Usage: $0 <host> [port] [database] [pattern]" | |
exit 1 | |
fi | |
host=${1:-} | |
port=${2:-6379} |
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
### Keybase proof | |
I hereby claim: | |
* I am nathanbaulch on github. | |
* I am nathanbaulch (https://keybase.io/nathanbaulch) on keybase. | |
* I have a public key ASClmd0yeLMqsAvBrpbGYyfhBZd9S5wm6PzNLaNDAQltgAo | |
To claim this, I am signing this object: |