Remove scripts folder
This commit is contained in:
parent
ea6020d425
commit
c822323536
@ -1,13 +0,0 @@
|
||||
require 'date'
|
||||
|
||||
def build(n)
|
||||
shipping_options = ['S', 'M', 'L']
|
||||
provider = ['MR', 'LP']
|
||||
today = Date.today
|
||||
n.times do |n|
|
||||
today + (n / 100.to_f)
|
||||
puts "#{(today + n).iso8601} #{shipping_options.sample} #{provider.sample}"
|
||||
end
|
||||
end
|
||||
|
||||
build(ARGV[0].to_i)
|
@ -1,13 +0,0 @@
|
||||
require 'date'
|
||||
|
||||
def build(n)
|
||||
shipping_options = ['S', 'M', 'L']
|
||||
provider = ['MR', 'LP']
|
||||
today = Date.today
|
||||
n.times do |i|
|
||||
date = today + (i / 10000.to_f)
|
||||
puts "#{date.iso8601} #{shipping_options.sample} #{provider.sample}"
|
||||
end
|
||||
end
|
||||
|
||||
build(ARGV[0].to_i)
|
@ -1,7 +0,0 @@
|
||||
File.open('./output.txt', 'w') do |f|
|
||||
File.foreach(ARGV[0]) do |line|
|
||||
f.write(line)
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user