Skip to content

Instantly share code, notes, and snippets.

View mertozsaydi's full-sized avatar
Shipping software

mertozsaydi

Shipping software
  • Triverus Consulting
  • Boston, MA
View GitHub Profile
#!/usr/bin/env ruby
# Exit early if no sessions with my username are found
exit unless `who -q`.include? ENV['USER']
require 'net/telnet'
coffee_machine_ip = '10.10.42.42'
password = '1234'
password_prompt = 'Password: '