Skip to content

Instantly share code, notes, and snippets.

View paigeadelethompson's full-sized avatar
💭
🧫 making stuff

Paige Thompson paigeadelethompson

💭
🧫 making stuff
View GitHub Profile
@paigeadelethompson
paigeadelethompson / .env
Last active December 4, 2023 06:10
dockerfile configuration automation / interpolation with Jinja2
DEBIAN_RELEASE=bookworm
@paigeadelethompson
paigeadelethompson / .bashrc
Last active January 13, 2024 09:41
LineageOS Build Steps
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH"
fi
export USE_CCACHE=1
export CCACHE_EXEC=/usr/bin/ccache
ccache -M 50G
#!/bin/bash
ip -j addr | jq -r '.[] | select(.ifname | startswith("tun")) | .ifname +" "+ .addr_info[0].local' | awk '{print $2"%"$1}' | parallel -u -j8 iperf --bind {} -c 10.1.0.1 -p 443 -i
1
@paigeadelethompson
paigeadelethompson / nftables.nft
Last active November 5, 2023 11:52
nftables jul 19 2023
flush ruleset
table inet filter { # handle 127
synproxy default-synproxy { # handle 37
mss 1460
wscale 7
timestamp sack-perm
}
synproxy identd-synproxy { # handle 38
@paigeadelethompson
paigeadelethompson / other crap
Last active July 11, 2023 16:22
irc bubbletea
/alias m exec -o python3 -c 'import itertools, textwrap, sys, random\; print("".join(["\x03{}{}".format(x, y) for x, y in zip(itertools.cycle([61, 85, 83, 59, 58, 69, 81, 80]), itertools.chain.from_iterable([(lambda t, tt: t + list(" " + tt + " ") + t)(random.sample([chr(y) for y in range(0x2580, 0x2585)] * 128, 8), "".join(a).strip()) for a in textwrap.wrap(" ".join(sys.argv[1:]), 50) ])) ]))' \"$*\"
[General]
cleanup=true
noauth=false
unpack=true
bootstrap=Debian
aptsources=Debian
[Debian]
packages=wine wine32
source=http://deb.debian.org/debian

Keybase proof

I hereby claim:

  • I am paigeadelethompson on github.
  • I am iampaigeat (https://keybase.io/iampaigeat) on keybase.
  • I have a public key ASDC_-i0e75eNJJ4_VK39VFRUYTXLbJElFBvDP3dQBjjpgo

To claim this, I am signing this object:

table inet filter { # handle 43
limit udp_in_log_lim { # handle 33
rate 1024/minute
}
limit udp_fwd_log_lim { # handle 34
rate 1024/minute
}
limit udp_out_log_lim { # handle 35
time find /bin /sbin /lib /usr -type f -uid 0 | parallel --progress -j8 ./src/evmctl sign --imahash --key /etc/ssl/db.key --uuid=3cd7fb97-f042-4926-af3d-0cdbdec023bf {} '&>' /dev/null
Computers / CPU cores / Max jobs to run
1:local / 8 / 8
Computer:jobs running/jobs completed/%of started jobs/Average seconds to complete