This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/swift | |
@preconcurrency import WebKit | |
@preconcurrency import Foundation | |
@preconcurrency import Darwin | |
// Disable everything written to stderr | |
freopen("/dev/null", "w", stderr) | |
struct Cookie { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from datetime import datetime | |
import locale | |
locale.setlocale(locale.LC_TIME, "nl_NL") | |
year = "2019" | |
for q in range (1,5): | |
qfirst = datetime.strptime(f"{year}-W{((q-1)*13)}-1", "%Y-W%W-%w").strftime("%a %d %b").capitalize() | |
qlast = datetime.strptime(f"{year}-W{((q-1)*13+12)}-0", "%Y-W%W-%w").strftime("%a %d %b").capitalize() | |
print(f"{year} Q{q}: {qfirst} - {qlast} {year}") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This file describes the network interfaces available on your system | |
# and how to activate them. For more information, see interfaces(5). | |
source /etc/network/interfaces.d/* | |
# The loopback network interface | |
auto lo | |
iface lo inet loopback | |
auto ens18 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# remove networks | |
docker network rm traefik | |
docker network rm trusted mgmt vpnout | |
docker network rm trusted_macvlan mgmt_macvlan vpnout_macvlan | |
# remove shims | |
ip link del mgmtshim | |
ip link del trustedshim | |
ip link del vpnoutshim |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Verifying that +mdbraber is my Bitcoin username. You can send me #bitcoin here: https://onename.io/mdbraber |