Skip to content

Instantly share code, notes, and snippets.

@donutbrew
donutbrew / status.json
Last active September 28, 2025 20:32
KS1
{
"active": false,
"volume": 50,
"testing": true
}
#!/bin/bash
# Place me in /etc/wireguard and run me as root with the new client name as the arg
#set -u
# set these
exthostname=""
port="51821"
@donutbrew
donutbrew / gist:ba9ac51dd595d6c4fea0621e0c99da30
Last active January 21, 2020 15:59
Outlook delivery failure
Received: from BN7NAM10HT155.eop-nam10.prod.protection.outlook.com (2603:10b6:5:1b4::30) by DM6PR07MB7195.namprd07.prod.outlook.com with HTTPS via DM6PR02CA0128.NAMPRD02.PROD.OUTLOOK.COM;
Tue, 21 Jan 2020 14:54:45 +0000 Received: from BN7NAM10FT043.eop-nam10.prod.protection.outlook.com (10.13.156.51) by BN7NAM10HT155.eop-nam10.prod.protection.outlook.com (10.13.157.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2644.19;
Tue, 21 Jan 2020 14:54:44 +0000 Authentication-Results: spf=pass (sender IP is 168.235.109.76) smtp.mailfrom=padens.us;
live.com;
dkim=pass (signature was verified) header.d=padens.us;
live.com;
dmarc=pass action=none header.from=padens.us;
Received-SPF: Pass (protection.outlook.com: domain of padens.us designates 168.235.109.76 as permitted sender) receiver=protection.outlook.com;
client-ip=168.235.109.76;
#!/bin/bash
#set -u
SERVER=test.com
PORT=51820
[[ ! -w $0 ]] && { echo "Must be root"; exit 1;}
ident=$1
[[ -z $ident ]] && { echo "Must supply a profile name" ;exit 1;}
#!/usr/bin/env perl
print("Hello World!\n");