Skip to content

Instantly share code, notes, and snippets.

View robn's full-sized avatar
🤖
robots just like mama used to make

Rob N robn

🤖
robots just like mama used to make
View GitHub Profile
@robn
robn / gist:a3d90aa8f7c0b4ef2c13f3ec60324585
Last active August 10, 2017 06:03
just mail dns things
$ dig +short -t txt fastmail.com
"v=spf1 include:spf.messagingengine.com ?all"
$ dig +short -t txt spf.messagingengine.com
"v=spf1 ip4:66.111.4.0/24 ip4:107.150.24.0/24 -all"
dig +short -t cname fm1._domainkey.fastmail.com
fm1.fastmail.com.dkim.fmhosted.com.
$ dig +short -t txt fm1.fastmail.com.dkim.fmhosted.com.
;; Truncated, retrying in TCP mode.
"v=DKIM1\; k=rsa\; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA4aslbfO87x49Qy3uq70spE8y21YN22+PRgMjGZ6y2Tnqv/cbqeYYPqemesuTsyZNLhBNM8hzJ/RR4EDe4rpEMMWc7zyxQKO+SEkSfJyREANzDBCwLzIjQt9Vr7hQ+xpfz4m6c6bj8e7sWaH7AhacTw2nz7eqlo4K96BCc0tMmEXSYQZXdSLgT8In/Qu9qJNJw" "7sAuZEqIN7dNPoyRRdxEmnLaN2o8rI/IsQrfGcRCpKnpNcvPSXpe3o0/CSV3a+uSDNV8hrEWqNunGtPNMgiq2uA+uBM4z9EL6UTgN91D6V2vRnIHlzdG1uAkiy19TB8nAfo9GZ1pOnELXpM6EnKFwIDAQAB"
$ dig +short -t txt _dmarc.fastmail.com
.fat_score, .fat-score {
z-index:-9999;
}
.mc-advert,
.current-players,
.fat-score,
.stream-switcher,
.MC-streamButtons,
.MC-statsNav {
display: none;
@robn
robn / gist:9a3798ae011529a09f12ba439e097aa9
Created September 5, 2018 05:53
prom_file_exporter.pl
#!/usr/bin/env plackup
# grab all the .prom files from PROM_FILE_EXPORTER_METRICS_DIR PATH hand them to
# anyone that asks
use warnings;
use strict;
use Path::Tiny;
@robn
robn / zfs-chapoly.md
Created December 2, 2022 10:02
Initial performance checks for OpenZFS with Chacha20-Poly1305

Initial performance checks for OpenZFS with Chacha20-Poly1305

Setup:

# create a ramdisk, and an encryption key
mount -t tmpfs -o size=1024M none /mem
fallocate -l 1024M /mem/file
echo myzfskey > /tmp/zfskey