Created
August 10, 2016 16:10
-
-
Save eflukx/dec615a7268e76124e15596b1ceb7589 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/ruby | |
# probeersel van weleer. | |
current_terminal = `tty`.gsub(/\n/, '') | |
dev_handle = IO.sysopen(current_terminal, "w") | |
io_stream = IO.new(dev_handle, "w") | |
Process.daemon | |
while true do | |
io_stream.print "Howdy World #{RUBY_VERSION}" | |
sleep(1) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment