Skip to content

Instantly share code, notes, and snippets.

@eduardkoller
eduardkoller / isgovdown.py
Created January 13, 2019 09:18
Checks the U.S. Government's Official Web Portal for the "Government Shutdown" message: Due to a lapse in funding, the USA.gov website will be available, but not updated
#!/usr/bin/env python
#
# file: isgovdown.py
#
# description: checks usa.gov for the "the USA.gov website will be available, but not updated" message
#
# usage: ./isgovdown.py
#
# or in a crontab:
# */5 * * * * /path/to/isgovdown.py && mailx -s 5s [email protected]

Keybase proof

I hereby claim:

  • I am eduardkoller on github.
  • I am eduardk (https://keybase.io/eduardk) on keybase.
  • I have a public key whose fingerprint is F3E5 8ED8 496F F301 AC63 2B60 A364 F344 62C9 F9D2

To claim this, I am signing this object:

@eduardkoller
eduardkoller / isgovtdown.py
Created October 1, 2013 20:22
Checks the U.S. Government's Official Web Portal for the "Government Shutdown" message: "Due to a lapse in funding, the U.S. federal government has shut down"
#!/usr/bin/env python
#
# file: isgovtdown.py
#
# description: checks usa.gov for the "Government has shut down" message
#
# usage: ./isgovtdown.py
#
# or in a crontab:
# */5 * * * * /path/to/isgovtdown.py && mailx -s 5s [email protected]