Periodically ping a list of URLs. A fun exploration of Ruby's malleability.
EM plumbing is inspired by stevegraham/uptime. The rest is inspired by jashkenas/underscore and readevalprintlove/ulithp.
$ git clone https://github.com/invisiblefunnel/ping-func.git
$ cd ping-func/
$ bundle
$ cp sample.env .env
$ gem install foreman
$ foreman start
$ heroku create <app name>
$ heroku config:set PING_INTERVAL=3600 PING_URLS='http://google.com,http://example.com'
$ git push heroku master