News for hackers. Stuff that matters.
Re:A few fun python lines for your deploy script if you're o... by wonginator1221 on Tuesday June 22, 2010 @09:29AM (#1451789)
Shell script version

  #!/bin/bash
  VOICES=("agnes" "kathy" "princess" "vicki" "victoria" "bruce" "fred" "junior" "ralph" "albert" "bad" "bahh" "bells" "boing" "bubbles" "cellos" "deranged" "good" "hysterical" "pipe" "trinoids" "whisper")
  MSGS=("deploy is now complete" "deploy complete" "deploy completed" "sir the deployment has finished" "hey the deploy is done" "look at this cool deploy" "deployment completeed")
  VOICE=$RANDOM%${#VOICES[@]}
  MSG=$RANDOM%${#MSGS[@]}
  say -v ${VOICES[VOICE]} ${MSGS[MSG]}

There are no comments on this comment yet.