Skip to content

Commit cdaf2b0

Browse files
committed
add the 17-second delay to fucking_coffee
1 parent c6373cc commit cdaf2b0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

fucking_coffee.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,10 @@
1111
coffee_machine_ip = '10.10.42.42'
1212
password = '1234'
1313
password_prompt = 'Password: '
14+
delay_before_brew = 17
1415
delay = 24
1516

17+
sleep delay_before_brew
1618
con = Net::Telnet.new('Host' => coffee_machine_ip)
1719
con.cmd('String' => password, 'Match' => /#{password_prompt}/)
1820
con.cmd('sys brew')

0 commit comments

Comments
 (0)