This is an OpenPGP proof that connects my OpenPGP key to this Github account. For details check out https://keyoxide.org/guides/openpgp-proofs
[Verifying my OpenPGP key: openpgp4fpr:7FD9 D652 BF5F D2EC 5F13 91B0 798F 1E35 CB4D 38A9]
#!/bin/sh | |
# Set TOKEN following steps in https://docs.joinmastodon.org/client/authorized/ | |
$SERVER=$1 | |
tr , ' ' | \ | |
while read DOMAIN SEVERITY COMMENT; do | |
curl -H "Authorization: Bearer $TOKEN" \ | |
-F domain=$DOMAIN \ | |
-F severity=$SEVERITY \ | |
-F public_comment="$PUBLIC_COMMENT" \ | |
https://$SERVER/api/v1/admin/domain_blocks |
This is an OpenPGP proof that connects my OpenPGP key to this Github account. For details check out https://keyoxide.org/guides/openpgp-proofs
[Verifying my OpenPGP key: openpgp4fpr:7FD9 D652 BF5F D2EC 5F13 91B0 798F 1E35 CB4D 38A9]
I hereby claim:
To claim this, I am signing this object:
# . . . | |
script-security 2 | |
up '/etc/openvpn/vpn-init start' | |
down '/etc/openvpn/vpn-init stop' | |
down-pre |
#!/bin/bash | |
INTERNAL=eDP1 | |
COMMAND=$(xrandr |awk '/^Screen|^'$INTERNAL'|disconnected/ { output=0; next } | |
/\<connected\>/ { output=$1 } | |
/^ /{if(output && $0 ~ /+/) print "xrandr --output "output" --mode "$1" --above '$INTERNAL'"}') | |
[ -n "$COMMAND" ] && $COMMAND |