Skip to content

Instantly share code, notes, and snippets.

View jakewilkins's full-sized avatar
🏖️

Jake Wilkins jakewilkins

🏖️
  • GitHub
  • Los Angeles
View GitHub Profile
@jakewilkins
jakewilkins / poll-for-internet
Last active February 25, 2020 22:48
Poll for internet
#!/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
@jakewilkins
jakewilkins / RedisClient
Created September 27, 2018 19:46
Particle Redis Client
/*
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
### 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: