Skip to content

Instantly share code, notes, and snippets.

View lizthegrey's full-sized avatar

Liz Fong-Jones lizthegrey

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

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:

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)
-----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
[[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"]
@lizthegrey
lizthegrey / _roles.txt
Last active August 11, 2022 13:22
Lizzes' hardware
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
{
"results": {
"A": {
"frames": [
{
"schema": {
"meta": {
"executedQueryString": "select \n sub.name as username\nfrom (\n select row_number() over (order by sum(value) desc) as \"Rank\",\n split_part(name, '$$$', 1) as name,\n sum(value) as value\n from\n shdev\n where\n series = 'hdev_contributionsallall'\n and period = 'y'\n group by\n split_part(name, '$$$', 1)\n) sub where sub.value >= 20"
},
"fields": [
{"results":{"A":{"frames":[{"schema":{"refId":"A","meta":{"executedQueryString":"select \n sub.\"Rank\",\n sub.name as name,\n sub.value \nfrom (\n select row_number() over (order by sum(value) desc) as \"Rank\",\n split_part(name, '$$$', 1) as name,\n sum(value) as value\n from\n shdev\n where\n series = 'hdev_contributionsallall'\n and period = 'y'\n group by\n split_part(name, '$$$', 1)\n) sub"},"fields":[{"name":"Rank","type":"number","typeInfo":{"frame":"int64","nullable":true}},{"name":"name","type":"string","typeInfo":{"frame":"string","nullable":true}},{"name":"value","type":"number","typeInfo":{"frame":"float64","nullable":true}}]},"data":{"values":[[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110
@lizthegrey
lizthegrey / mati-summary-2022-09-30.txt
Created September 30, 2022 19:12
mati-summary-2022-09-30.txt
Kiwfarms Owner Joshua Moon's MATI Live Stream 2022-09-30 (Notes by twitter.com/DropKiwifarms)
- Describes the hack where his forum was deleted
- "The main issue is not network attacks, but application level attacks"
- calls his attackers extremely juvenile, will add 'more computer' to it when he has more time.
- describes the attack as 'low bandwidth but high impact'
- doesn't think the people working against him are particularly intelligent.
- he's so tired of being told by 'faggot companies' what he can do
- He talks about getting dropped by cloudns, complains about losing even his parking page
- Epik doesn't have fast TTL on dns, and he needs it, so he set up his own DNS servers, which he will have to fortify.