Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env ruby
# Speedtest cli to ifttt.com wrapper
# based on https://github.com/HenrikBengtsson/speedtest-cli-extras
# More: https://www.iamyourfather.de/dsl-speedtest-mit-dem-raspberry-pi (german)
# Original: http://makezine.com/projects/send-ticket-isp-when-your-internet-drops/
require 'json'
secret_key = "XXXXXXXXXXX"
speedtest = `/usr/local/bin/speedtest-cli --share`
@oscarmorrison
oscarmorrison / IFTTTDate.md
Last active December 3, 2023 21:44
Make IFTTT Date Format play nice with Google Spreadsheets

##Date and Time

=TIMEVALUE(SUBSTITUTE("{{OccurredAt}}"," at ", " ")) + DATEVALUE(SUBSTITUTE("{{OccurredAt}}"," at ", " "))

##Date

=DATEVALUE(SUBSTITUTE("{{OccurredAt}}"," at ", " "))

##Time