Created
October 13, 2009 03:30
-
-
Save solson/208947 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
[/home/scott]$ time ./random.rb | |
Thu Sep 25 04:13:46 -0600 2008 | |
�<w�=0`������$u�c��7�!�@�=�9��U�P|Tآ�"�H��϶E9 �<Y�טTO��dȐv���Y�ĝ��p˵UW�+�F[scott�fDZܪ�K*�����u����Pge�j&n�4�~ѹ( | |
real 2073m13.828s | |
user 74m4.440s | |
sys 1808m39.267s | |
[/home/scott]$ cat ./random.rb | |
#!/usr/bin/env ruby | |
urand = open('/dev/urandom', 'r') | |
while line = urand.readline | |
if /scott/.match(line) | |
puts Time.now.to_s, line | |
exit | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment