Skip to content

Instantly share code, notes, and snippets.

@b-coimbra
Last active September 6, 2017 23:20
Show Gist options
  • Save b-coimbra/50db2b165d3913ec1fb33485c12a13cd to your computer and use it in GitHub Desktop.
Save b-coimbra/50db2b165d3913ec1fb33485c12a13cd to your computer and use it in GitHub Desktop.
generates random text files
Thread.new{loop{open(rand(0..10e3).to_s+'.txt','w+'){|f|f<<rand(4000**2000).to_s(36)*10e2}}}.join rescue Errno::EACCESS abort 'Run as admin.'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment