From: Mark Tearle Date: Sat, 13 Dec 2014 13:06:39 +0000 (+0800) Subject: Reorganise list of idlers X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=61859e5c0e1516b35dd42d7fd80d9024964c0b8d;p=uccvend-vendserver.git Reorganise list of idlers --- diff --git a/VendServer/VendServer.py b/VendServer/VendServer.py index 0962697..2759c6f 100755 --- a/VendServer/VendServer.py +++ b/VendServer/VendServer.py @@ -252,28 +252,34 @@ idler = None def setup_idlers(v): global idlers, idler idlers = [ - GrayIdler(v), + # + GrayIdler(v), + GrayIdler(v,one="*",zero="-"), + GrayIdler(v,one="/",zero="\\"), + GrayIdler(v,one="X",zero="O"), + GrayIdler(v,one="*",zero="-",reorder=1), + GrayIdler(v,one="/",zero="\\",reorder=1), + GrayIdler(v,one="X",zero="O",reorder=1), + # + ClockIdler(v), + ClockIdler(v), + ClockIdler(v), + # + StringIdler(v), # Hello Cruel World StringIdler(v, text="Kill 'em all", repeat=False), - GrayIdler(v,one="*",zero="-"), StringIdler(v, text=CREDITS), - GrayIdler(v,one="/",zero="\\"), - ClockIdler(v), - GrayIdler(v,one="X",zero="O"), - FileIdler(v, '/usr/share/common-licenses/GPL-2',affinity=2), - GrayIdler(v,one="*",zero="-",reorder=1), StringIdler(v, text=str(math.pi) + " "), - ClockIdler(v), - GrayIdler(v,one="/",zero="\\",reorder=1), StringIdler(v, text=str(math.e) + " "), - GrayIdler(v,one="X",zero="O",reorder=1), StringIdler(v, text=" I want some pizza - please call Broadway Pizza on +61 8 9389 8500 - and order as Quinn - I am getting really hungry", repeat=False), - PipeIdler(v, "/usr/bin/getent", "passwd"), - FortuneIdler(v), - ClockIdler(v), - StringIdler(v), - TrainIdler(v), # "Hello World" in brainfuck StringIdler(v, text=">+++++++++[<++++++++>-]<.>+++++++[<++++>-]<+.+++++++..+++.[-]>++++++++[<++++>-] <.>+++++++++++[<++++++++>-]<-.--------.+++.------.--------.[-]>++++++++[<++++>- ]<+.[-]++++++++++."), + # + TrainIdler(v), + # + FileIdler(v, '/usr/share/common-licenses/GPL-2',affinity=2), + # + PipeIdler(v, "/usr/bin/getent", "passwd"), + FortuneIdler(v), ] disabled = [ ]