sms-with-slack.rb
Slack bot that uses Twilio to send an SMS to a given phone number.
screw-you-pingdom.rb
Checks if server is online, if not, sends you an email (marks as Urgent) and sends you an SMS using Twilio.
dont-send-me-passwords.rb
Checks if you got someone stupid in your company sending you emails asking for passwords in plain text.ruby sms-with-slack.rb
ruby screw-you-pingdom.rb 127.0.0.1
ruby dont-send-me-passwords.rbInstall the following gems: gem install dotenv twilio-ruby gmail net/ping slack-ruby-client phonelib
# Runs `screw-you-pingdom.rb` every 5 minutes.
*/5 * * * * /path/to/automations/screw-you-pingdom.rb 127.0.0.1 >> /path/to/automations/logs/screw-you-pingdom.log 2>&1
# Runs `dont-send-me-passwords.rb` every 30 minutes.
*/30 * * * * /path/to/automations/dont-send-me-passwords.rb >> /path/to/automations/logs/dont-send-me-passwords.log 2>&12016-01-05 - Added sms-with-slack.rb
2015-12-31 - Added dont-send-me-passwords.rb
2015-12-30 - Added logs and cron job to screw-you-pingdom.rb
2015-12-29 - Added screw-you-pingdom.rb1 - Auto happy birthday on Facebook.
2 - Get DB dump from production and import DB on you local env.