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 | |
while true; do | |
curl -sm 30 www.google.com > /dev/null | |
if [[ "$?" == "0" ]]; then | |
say "Fuck yeah the internet is back!" | |
exit 0 | |
else | |
sleep 30 |
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
/* | |
Copied from https://community.particle.io/t/redis-client-library-cloud-based-key-value-store/2732 | |
RedisClient.cpp - A simple client library for Redis. | |
Original Code - Thomas Lohmüller | |
https://github.com/tht/RedisClient | |
Adapted for Spark Core by Chris Howard - chris@kitard.com | |
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
### Keybase proof | |
I hereby claim: | |
* I am jakewilkins on github. | |
* I am jwilkins (https://keybase.io/jwilkins) on keybase. | |
* I have a public key whose fingerprint is 237B 979B 632B A2B7 C657 93CE 870D 099D B427 C4E5 | |
To claim this, I am signing this object: |