Skip to content

Instantly share code, notes, and snippets.

@aereal
Created December 23, 2010 15:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aereal/753162 to your computer and use it in GitHub Desktop.
Save aereal/753162 to your computer and use it in GitHub Desktop.
#!/usr/bin/env ruby
tracks = [] << %w(鮮やか な 殺人) << %w(テレキャスター の 真実) <<
%w(Sadistic Summer) << %w(ターボチャージャー ON) << %w(Acoustic) <<
%w(O F T) << %w(CRAZY 感情 STYLE) << %w(トルネード G) << %w(傍観) <<
%w(TK in the 夕景) << %w(想像 の Security) << %w(感覚 UFO) <<
%w(秋 の 気配 の アルペジオ) << %w(ラスト ダンス レボリューション) <<
%w(Sergio Echigo) << %w(nakano kill you) << %w(COOL J) << %w(DISCO FLIGHT) <<
%w(knife vacation) << %w(am 3:45) << %w(赤い 誘惑) << %w(1/f の 誘惑) <<
%w(i not crazy am you are) << %w(夕景 の 記憶) << %w(Telecastic fake show) <<
%w(Re automation) << %w(24 REVERSE) << %w(ハカイヨ ノ ユメ) <<
%w(Hysteric phase show) << %w(Tremolo + A) << %w(JPOP Xfile) <<
%w(a 7days wonder) << %w(a over die) << %w(moment A rhythm) <<
%w(seacret cm) << %w(mib 126) << %w(I was music) << %w(シークレット G) <<
%w(シャンディ) << %w(this is is this ?) << %w(a symmetry) << %w(eF) <<
%w(Can you kill a secret ?) << %w(illusion is mine)
if ARGV.include? '--help'
puts "Usage: \n\truby #{$0} [time [words]]"
exit
end
(ARGV[0] || 10).to_i.times do
tracks.flatten.uniq.shuffle.take(rand((ARGV[1] || 5).to_i + 1)).each {|i| print i, ' ' }
puts
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment