Use this code:
ruby -e ‘C=`stty size`.scan(/d+/)[1].to_i;S=[“2743”.to_i(16)].pack(“U*”);a={};puts ” 33[2J”;loop{a[rand(C)]=0;a.each{|x,o|;a[x]+=1;print ” 33[#{o};#{x}H 33[#{a[x]};#{x}H#{S} 33[0;0H”};$stdout.flush;sleep 0.1}’
Monkey business for the geek in you!
Use this code:
ruby -e ‘C=`stty size`.scan(/d+/)[1].to_i;S=[“2743”.to_i(16)].pack(“U*”);a={};puts ” 33[2J”;loop{a[rand(C)]=0;a.each{|x,o|;a[x]+=1;print ” 33[#{o};#{x}H 33[#{a[x]};#{x}H#{S} 33[0;0H”};$stdout.flush;sleep 0.1}’