I hereby claim:
- I am fionn on github.
- I am fionn (https://keybase.io/fionn) on keybase.
- I have a public key whose fingerprint is BE71 49DD 3EEA 15D8 CD5B D7F6 18E5 CC17 7837 7A29
To claim this, I am signing this object:
#!/bin/bash | |
if [[ $# -ne 1 ]]; then | |
echo "Requires 1 argument; $# given" | |
exit 1 | |
fi | |
while true; do | |
python $1 | |
if [[ $? -ne 0 ]]; then |
[Unit] | |
Description=iperf3 server | |
After=network.target | |
[Service] | |
User=nobody | |
ExecStart=/usr/bin/iperf3 -s --rsa-private-key-path /etc/iperf3/private_not_protected.pem --authorized-users-path /etc/iperf3/iperf.auth | |
[Install] | |
WantedBy=multi-user.target |
#/bin/bash | |
if [ $(id -u) != 0 ]; then | |
echo "You must be root" | |
sudo "$0" "$@" | |
exit $? | |
fi | |
for file in $@; do | |
sed -i "s|^auth-user-pass$|& /etc/openvpn/client/provider/secret.password|" $file |
#!/bin/bash | |
if [[ $(id -u) -ne 0 ]]; then | |
echo "You must be root" | |
exit 1 | |
fi | |
sysctl -w net.ipv4.ip_forward=1 | |
sysctl -w net.ipv6.conf.all.forwarding=1 |
[Unit] | |
Description=Add IPv6 routes | |
After=network.target | |
Before=wg-quick@wg0.service openvpn-server@server.service | |
[Service] | |
Type=simple | |
ExecStart=/path/to/ipv6_routing.sh | |
StandardOutput=syslog | |
StandardError=syslog |
#!/bin/bash | |
# Remote virtual interface for a single iPhone | |
udid=$(instruments -s devices | grep -v "Simulator" | grep "iPhone" | awk -F '[][]' '{print $2}') | |
if [ -z "$udid" ]; then | |
echo "No UDID found" 1>&2 | |
exit 1 | |
else | |
echo "Found UDID $udid" |
import sys | |
import functools | |
import signal | |
import logging | |
def timeout(seconds: int): | |
def decorator(function): | |
def handle_timeout(signum, frame): |
#!/bin/bash | |
pw="yellow_submarine" | |
for arg in $*; | |
do | |
base=$(basename $arg .pdf) | |
pdftk $arg output ${base}_pw.pdf user_pw $pw | |
done |
Description='A descriptive name' | |
Interface=wlp3s0 | |
Connection=wireless | |
Security=wpa-configsection | |
ESSID=SSID | |
IP=dhcp | |
WPAConfigSection=( | |
'ssid="SSID"' | |
'key_mgmt=WPA-EAP' | |
'eap=PEAP' |
I hereby claim:
To claim this, I am signing this object: