Skip to content

Instantly share code, notes, and snippets.

@indare
Created May 18, 2012 02:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save indare/2722793 to your computer and use it in GitHub Desktop.
Save indare/2722793 to your computer and use it in GitHub Desktop.
nagoya.groovy
/**
* Created with IntelliJ IDEA.
* User: m_arino
* Date: 12/05/18
* Time: 11:10
* To change this template use File | Settings | File Templates.
*/
(0..100).toArray().each {
def printBuff = ""
if (it % 3 == 0 ){
printBuff += "mzp "
}
if (it % 4 == 0 ){
printBuff += "よんた "
}
if (it % 5 == 0 ){
printBuff += "bleis "
}
if (it % 6 == 0 ){
printBuff += "_maeda "
}
if (it % 15 == 0 ){
printBuff += "おまえもなごやにしてやろうか "
}
if (it % 30 == 0){
printBuff += "@kyon_mm: やめてください>< "
}
if (printBuff != ""){println printBuff}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment