Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am mathewcsims on github.
  • I am mathewcsims (https://keybase.io/mathewcsims) on keybase.
  • I have a public key ASA10A4ydMjx1xh3BlmIY0tQTUzL2aRA03hkkOFiXRdibQo

To claim this, I am signing this object:

@mathewcsims
mathewcsims / con_check.py
Created February 21, 2021 11:06
Connection Checker - checks external IP address every 30 seconds and prints to terminal
"""
File to monitor external IPV4 address as a means of
determining when the connection fails over to the
4G backup, which has a different public IP.
"""
import json
import requests
import time
import datetime
@mathewcsims
mathewcsims / publickey.mathewsims@pm.me-29afcfdf39dfbdba584f4dfb0a8617b430f2ae7e.asc
Created December 6, 2019 17:38
publickey.mathewsims@pm.me-29afcfdf39dfbdba584f4dfb0a8617b430f2ae7e.asc
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: OpenPGP.js v4.7.1
Comment: https://openpgpjs.org
xsBNBFqZ1+gBCADxHUQaRWp5ZDxfaVyP744ob5436P4KsNT9Bz6vKRhScMN2
nl1k/qxzUWP8i4j+kja7oefM8eURCrh8eIxjoO16IlYYqOu+kMsrlpu/w//d
LaFhG1xMazboa7JocnYHXzD+p/TnHndp91mVnsX7YWO+1+a97Y+CWEMDj62Q
Ogh+Wy+YGrBQ2/CrxTBWxllGngV5RhhmB0JTwDCz1CUrpaQMCeldMgDVjnzN
TaCCbqlrege2uAfnn/OV9CHn9zk9bRou2QQUhcTa1vFEzbDS9KJiaiEPbUtz
nU4XrYnGU0Eoau3Ckw+KJ25Q8eD3yk3FrazUgqtBAsf4QjojwuqA5EQbABEB