Skip to content

Instantly share code, notes, and snippets.

Avatar

Liz Fong-Jones lizthegrey

View GitHub Profile
@lizthegrey
lizthegrey / _roles.txt
Last active Mar 17, 2021
Lizzes' hardware
View _roles.txt
lily: main amd64 workstation used primarily for gaming, secondarily for work
daisy: main arm64 workstation used primarily for work
foxglove: secondary amd64 workstation used for recording videos, streams, podcasts, etc. in a soundproof booth -- or for quiet focus time
View jolokia-kafka.conf
[[inputs.jolokia2_agent]]
## Collect the Kafka broker version.
[[inputs.jolokia2_agent.metric]]
name = "server"
mbean = "kafka.server:type=app-info"
paths = ["version"]
[[processors.regex]]
order = 1
namepass = ["kafka.server"]
View signal_safety_number.asc
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
My old Signal safety number half is 21206 32848 87531 48888 99188 93737
My new Signal safety number half is 14867 13816 13221 58653 66349 78397
-----BEGIN PGP SIGNATURE-----
iF0EARECAB0WIQQfdxTX7DRB0s7MJGBqP4sA+93SpAUCXkyxlgAKCRBqP4sA+93S
pCaYAJ9pjgj2ioYRWa2/qGoIpEkTUa/7QACfRHKx/M7x/PHTjWG54CV++Vo0gsM=
=jHVH
View stack.txt
2019/09/03 19-00-51.865795 finish fibClient (14.78012ms) [ whatevs=nooooo service=server component=main span_id=fe34179dc34f182d trace_id=a4ab4898edff46d09c5f8e110fc84c34 ]
panic: scope not found 311
[recovered]
panic: scope not found 311
goroutine 57 [running]:
go.opentelemetry.io/experimental/streaming/sdk.(*span).Finish(0xc0002c7860, 0x0, 0x0, 0x0)
...
go.opentelemetry.io/plugin/httptrace.(*clientTracer).close(0xc00021a370, 0x7c50b7, 0xc)
/app/pkg/mod/go.opentelemetry.io@v0.0.0-20190903180351-a776e95c6132/plugin/httptrace/clienttrace.go:74 +0x6a
go.opentelemetry.io/plugin/httptrace.(*clientTracer).gotConn(0xc00021a370, 0x843e80, 0xc000010110, 0x100000000000001, 0x0)
View keybase.md

Keybase proof

I hereby claim:

  • I am lizthegrey on github.
  • I am lizthegrey (https://keybase.io/lizthegrey) on keybase.
  • I have a public key ASBTo01gcLwNFaRarOdeliehSq-5sSy02O4Jxcs7M8dtYwo

To claim this, I am signing this object:

@lizthegrey
lizthegrey / attributes.rb
Last active Aug 7, 2021
Hardening SSH with 2fa
View attributes.rb
default['sshd']['sshd_config']['AuthenticationMethods'] = 'publickey,keyboard-interactive:pam'
default['sshd']['sshd_config']['ChallengeResponseAuthentication'] = 'yes'
default['sshd']['sshd_config']['PasswordAuthentication'] = 'no'
View test.go
package main
import (
"fmt"
"reflect"
)
func main() {
var empty []string
empty2 := []string{}