Created
September 5, 2012 00:42
-
-
Save lazypower/3628575 to your computer and use it in GitHub Desktop.
Davinci Sleeper ruby script
This file contains hidden or 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
wait_time = ARGV.shift | |
puts "waiting #{wait_time}" | |
`sleep #{wait_time}` | |
`notify-send --urgency=critical -i "Get Davinci out" "Time to get davinci out"` |
LOL no - It was a wrapper script to illustrate how easy it is to write something like this in ruby vs bash.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
DaVinci virus?