We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de59b60 commit 96fc4b2Copy full SHA for 96fc4b2
fucking_coffee.rb
@@ -3,6 +3,9 @@
3
# Skip on weekends
4
exit if Time.now.saturday? || Time.now.sunday?
5
6
+# Exit early if no sessions with my_username are found
7
+exit if `who`[/my_username/].nil?
8
+
9
require 'net/telnet'
10
11
coffee_machine_ip = '10.10.42.42'
0 commit comments