Skip to content

Instantly share code, notes, and snippets.

🌮
Smart Puck'in

Kevin Sidwar sidwarkd

🌮
Smart Puck'in
Block or report user

Report or block sidwarkd

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@sidwarkd
sidwarkd / isgovtdown.py
Last active Dec 24, 2015 — forked from eduardkoller/isgovtdown.py
Modified to add command line option for running on a Raspberry Pi using GPIO 17 and 18 to control status LEDs. Run from the command line with the argument "pi" to activate status LEDs. Assumes you have already installed the RPi.GPIO library.
View isgovtdown.py
#!/usr/bin/env python
#
# file: isgovtdown.py
#
# description: checks usa.gov for the "Government has shut down" message
#
# usage: ./isgovtdown.py [pi]
# Passing argument 'pi' causes status LEDs to be used
#
# or in a crontab:
You can’t perform that action at this time.