Created
July 28, 2016 00:53
-
-
Save vznvzn/851d00dd9f25193bbc24cde38b04a804 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
l = File.open("db.txt").readlines | |
l.each_with_index \ | |
{ | |
|z, i| | |
x = Kernel.eval(z) | |
puts([i, i / 100, x['r']].join("\t")) | |
puts if ((i + 1) % 100 == 0) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment