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
import copy | |
import hashlib | |
import io | |
import logging | |
import os | |
import pytz | |
import requests | |
import slack | |
import socket | |
import time |
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
#!/bin/bash | |
# ------------------------------------------------------------------------------------------ | |
# May 4, 2021 Update | |
# This is maintained here for reference, but it seems like the networksetup script | |
# is capable of doing this, at least in Big Sur. I haven't tested this on older versions. | |
# See https://gist.github.com/mrpnelson/c65302efed6c18300fb28c8da87bc69a#gistcomment-3731567 | |
# for details on using the native tooling | |
# ------------------------------------------------------------------------------------------ |