A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | No | Author | Size | Code | Link | Who's next? | |||||||||||||||
2 | 1 | @kazuchika | 104 | java.awt.Desktop.desktop.browse('http://asciiset.com/figlet.php?text=hello%20world&font=banner'.toURI()) | http://twitter.com/#!/kazuchika/status/87017925583716352 | @kiy0taka | |||||||||||||||
3 | 2 | @kiy0taka | 92 | new groovy.swing.SwingBuilder().edt { optionPane().showMessageDialog(null, "Hello World!") } | http://twitter.com/kiy0taka/status/87082346804809728 | @nobeans | |||||||||||||||
4 | 3 | @nobeans | 73 | def propertyMissing(String name) { name }; println([h, e, l*2, o].join()) | http://twitter.com/nobeans/status/87411489044054016 | @fumokmm | |||||||||||||||
5 | 4 | @fumokmm | 100 | println 'http://t.co/wR5YpJG'.toURL().getText('UTF-8').find(~/<title>(.+?)<\/title>/){it[1]}[33..43] | http://twitter.com/fumokmm/status/87442731907039232 | @orange_clover | |||||||||||||||
6 | - | @orange_clover | 47 | "Hello World".each { printf("%#x%n", (int)it) } | http://twitter.com/orange_clover/status/87451299968319488 | - | |||||||||||||||
7 | 5 | @orange_clover | 111 | s = "";[0x48,0x65,0x6c,0x6c,0x6f,0x20,0x57,0x6f,0x72,0x6c,0x64].each{ s+= ((Character)it).toString()};println s | http://twitter.com/orange_clover/status/87464500822945792 | @kyon_mm | |||||||||||||||
8 | - | @kazuchika | 92 | println([0x48,0x65,0x6c,0x6c,0x6f,0x20,0x57,0x6f,0x72,0x6c,0x64].collect{it as char}.join()) | http://twitter.com/kazuchika/status/87488225995796480 | - | |||||||||||||||
9 | - | @kiy0taka | 76 | println ([0x48,0x65,0x6c,0x6c,0x6f,0x20,0x57,0x6f,0x72,0x6c,0x64] as char[]) | http://twitter.com/kiy0taka/status/87495942361718784 | - | |||||||||||||||
10 | - | @kyon_mm | 36 | new AntBuilder().echo('Hello World') | http://twitter.com/kyon_mm/status/87508612779487232 | - | |||||||||||||||
11 | 6 | @kyon_mm | 120 | import groovy.xml.MarkupBuilder new MarkupBuilder(new File('g.html').newPrintWriter()).html{body{strong('Hello World')}} | http://twitter.com/kyon_mm/status/87509098056261632 | @bluepapa32 | |||||||||||||||
12 | 7 | @bluepapa32 | 123 | new groovy.swing.SwingBuilder().edt{frame(show:true,size:[600,375]){label icon:imageIcon(new URL("http://bit.ly/lnfk9H"))}} | http://twitter.com/bluepapa32/status/87588395357978624 | @irof | |||||||||||||||
13 | 8 | @irof | 114 | def json='{"k1":"Hello","k2":"world"}';new groovy.json.JsonSlurper().parseText(json).with{println "${k1}, ${k2}!"} | http://twitter.com/#!/irof/status/87726023982067713 | @mike_neck | |||||||||||||||
14 | - | @irof | 129 | @Grab('org.twitter4j:twitter4j-core:2.2.3')def g;print new twitter4j.TwitterFactory().instance.showStatus(87716550802546688).text | http://twitter.com/#!/irof/status/87727148986675200 | - | |||||||||||||||
15 | - | @irof | 131 | println new groovy.json.JsonSlurper().parseText(new URL('http://api.twitter.com/1/statuses/show/87716550802546688.json').text).text | http://twitter.com/#!/irof/status/87730829652008960 | - | |||||||||||||||
16 | - | @mike_neck | 72 | "cmd /C echo Hello World".execute().text.eachLine{print it} //to Windows | http://twitter.com/#!/mike_neck/status/87731215930630145 | - | |||||||||||||||
17 | 9 | @mike_neck | 60 | echo Hello World".execute().text.eachLine{print it} //to Mac | http://twitter.com/#!/mike_neck/status/87731215930630145 | @kimukou_26 | |||||||||||||||
18 | - | @nightmare_tim | 74 | Are='H';Groovy='el';ve=' W';duty='ld!' println "$Are$Groovy lo$ve or$duty" | http://twitter.com/#!/nightmare_tim/status/87737431226466306 | - | |||||||||||||||
19 | 10 | @kimukou_26 | 126 | val=new URL("http://goo.gl/ICVRP").getText("utf-8");println val.substring(val.indexOf("<title>")+7,val.indexOf("</title>")-12) | http://twitter.com/#!/kimukou_26/status/87754968911708160 | @tyuki39 | |||||||||||||||
20 | - | @xnrghzjh | 58 | "Hello World.".each() {print it; sleep(it==" "? 500:100);} | http://twitter.com/#!/xnrghzjh/status/87814207554334720 | - | |||||||||||||||
21 | - | @xnrghzjh | 112 | r = { new java.awt.Robot().keyPress(it);sleep(100)}; l=[47,47,72,69,76,76,79,32,87,79,82,76,68] ;l.each(){r(it)} | http://twitter.com/#!/xnrghzjh/status/87820045782228992 | - | |||||||||||||||
22 | - | @irof | 100 | println([Are:'H',Groovy:'el',ve:' W',duty:'ld!'].with{"$Are$Groovy lo$ve or$duty"}[0..2,4..7,9..13]) | http://twitter.com/irof/status/87864131515985920 | - | |||||||||||||||
23 | 11 | @tyuki39 | 115 | class C{public def HelloWorld} C.class.fields.each{it.name.with{if(it[0]=='H') println it[0..4] + ' ' + it[5..-1]}} | http://twitter.com/tyuki39/status/87910038131318784 | @nightmare_tim | |||||||||||||||
24 | - | @irof | 108 | class C{public def HelloWorld};println C.class.fields.name.find{it[0]=='H'}.with{it[0..4] + ' ' + it[5..-1]} | http://twitter.com/irof/status/87925998804402176 | - | |||||||||||||||
25 | 12 | @nightmare_tim | 120 | def hl=['H','e','l','l','o',' ','W','o','r']; hl.each {h -> print h}; hl[9]='l';hl[10]='d!'; for(w in hl[9..10])print w; | http://twitter.com/nightmare_tim/status/88047245538246656 | @backpaper0 | |||||||||||||||
26 | - | @tyuki39 | 78 | println (["HIJ",101.456,"l",0x6C,"o",32,'W',0x6F,'r',108.123,'def'] as char[]) | http://twitter.com/tyuki39/status/88100346509008897 | - | |||||||||||||||
27 | - | @tyuki39 | 63 | println "Mjqqt%\\twqi".collect({(int)it} >> {it - 5}) as char[] | http://twitter.com/tyuki39/status/88176358009733121 | - | |||||||||||||||
28 | 13 | @backpaper0 | 51 | groovy -e "println 'hello work'.replace('k', 'ld')" | http://twitter.com/backpaper0/status/88212647299911681 | @uehaj | |||||||||||||||
29 | - | @kazuchika | 31 | "say 'Hello, World!'".execute() | http://twitter.com/kazuchika/status/88217180252016640 | - | |||||||||||||||
30 | 14 | @uehaj | 109 | print Class.getResource("/com/sun/org/apache/xerces/internal/impl/XMLEntityManager.class").text[11775..11786] | http://twitter.com/#!/uehaj/status/88272695942332416 | @nagai_masato | |||||||||||||||
31 | 15 | @nagai_masato | 120 | 15819185555510392819193937191919393930191939191939363839173'.each{n->n=n.toInteger();print n?n<5?'#'*n:' '*(10-n):'\n'} | http://twitter.com/nagai_masato/status/88674717174743040 | @toby55kij | |||||||||||||||
32 | 16 | @toby55kij | 70 | new groovy.json.JsonBuilder()(Hello:'World').each{k,v->println"$k $v"} | http://twitter.com/toby55kij/status/89260748341125120 | @nobusue | |||||||||||||||
33 | 17 | @nobusue | 98 | new javax.script.ScriptEngineManager().getEngineByName("javascript").eval('print("Hello World!")') | http://twitter.com/nobusue/status/89585754484899841 | @tsubame959 | |||||||||||||||
34 | 18 | @tsubame959 | 124 | (0..10).each{n->s=0;[0xd2,0x1d0,0x6de,0x29d,0x140,0x7be,0x7df].eachWithIndex{it,i->s=s+(((it>>n)&0x01)<<i)}print(s as char)} | http://twitter.com/primnum/status/89883510927663104 | @torazuka | |||||||||||||||
35 | 19 | @torazuka | 83 | println "Oh! Well, Lord!".getAt( [1,5,6,7,11,8,3,4,0,12,10,13,2,14] ).toUpperCase() | http://twitter.com/torazuka/status/90036601442414592 | @bikisuke | |||||||||||||||
36 | 20 | @bikisuke | 132 | @Grab('org.spockframework:spock-core:0.5-groovy-1.7')class g extends spock.lang.Specification{def"h"(){expect:println'Hello World'}} | http://twitter.com/bikisuke/status/90092422616453120 | @masanobuimai | |||||||||||||||
37 | 21 | @masanobuimai | 95 | package hello; class World { static void main(args) { println World.class.name.capitalize() } } | http://twitter.com/masanobuimai/status/90260870340411392 | @lemur314 | |||||||||||||||
38 | 22 | @lemur314 | 32 | println('dlroW olleH'.reverse()) | http://twitter.com/lemur314/status/90368144492863488 | @touchez_du_bois | |||||||||||||||
39 | 23 | @touchez_du_bois | 125 | println new groovy.text.SimpleTemplateEngine().createTemplate('println "$hello, $world!"').make([hello:'Hallo',world:'Welt']) | http://twitter.com/touchez_du_bois/status/90617303259037696 | @tyama | |||||||||||||||
40 | 24 | @tyama | 103 | def 笑,涙,っすか,せっかく={},逃げてたのに={},まっマジ={a,b->println '!dlrow olleh'.reverse()}; まっマジ っすか,せっかく(涙);;逃げてたのに(笑) | http://twitter.com/tyama/status/90685185963720704 | @kanemu | |||||||||||||||
41 | 25 | @kanemu | 99 | [e:"o",g:"w",c:"l",d:"l",f:",",j:"l",k:"d",l:"!",a:"h",b:"e",h:"o",i:"r"].sort().each{k,v->print v} | http://twitter.com/kanemu/status/90750379490410496 | @osimajp | |||||||||||||||
42 | 26 | @osimajp | 31 | Hello World!.each{ println it } | http://twitter.com/osimajp/status/90771519155871744 | @fumokmm | |||||||||||||||
43 | 27 | @fumokmm | 97 | actor = groovyx.gpars.actor.Actors.reactor{reply "$it World"}; println actor.sendAndWait('Hello') | http://twitter.com/fumokmm/status/90788766821793792 | @kazuchika | |||||||||||||||
44 | 28 | @kazuchika | 136 | class Event{def name;void finalize(){println "Thanks for joining $name!"}} new Event(name:"#ghello") System.with{gc();runFinalization()} | http://twitter.com/kazuchika/status/91128712128495616 | ||||||||||||||||
45 | |||||||||||||||||||||
46 | |||||||||||||||||||||
47 | |||||||||||||||||||||
48 | |||||||||||||||||||||
49 | |||||||||||||||||||||
50 | |||||||||||||||||||||
51 | |||||||||||||||||||||
52 | |||||||||||||||||||||
53 | |||||||||||||||||||||
54 | |||||||||||||||||||||
55 | |||||||||||||||||||||
56 | |||||||||||||||||||||
57 | |||||||||||||||||||||
58 | |||||||||||||||||||||
59 | |||||||||||||||||||||
60 | |||||||||||||||||||||
61 | |||||||||||||||||||||
62 | |||||||||||||||||||||
63 | |||||||||||||||||||||
64 | |||||||||||||||||||||
65 | |||||||||||||||||||||
66 | |||||||||||||||||||||
67 | |||||||||||||||||||||
68 | |||||||||||||||||||||
69 | |||||||||||||||||||||
70 | |||||||||||||||||||||
71 | |||||||||||||||||||||
72 | |||||||||||||||||||||
73 | |||||||||||||||||||||
74 | |||||||||||||||||||||
75 | |||||||||||||||||||||
76 | |||||||||||||||||||||
77 | |||||||||||||||||||||
78 | |||||||||||||||||||||
79 | |||||||||||||||||||||
80 | |||||||||||||||||||||
81 | |||||||||||||||||||||
82 | |||||||||||||||||||||
83 | |||||||||||||||||||||
84 | |||||||||||||||||||||
85 | |||||||||||||||||||||
86 | |||||||||||||||||||||
87 | |||||||||||||||||||||
88 | |||||||||||||||||||||
89 | |||||||||||||||||||||
90 | |||||||||||||||||||||
91 | |||||||||||||||||||||
92 | |||||||||||||||||||||
93 | |||||||||||||||||||||
94 | |||||||||||||||||||||
95 | |||||||||||||||||||||
96 | |||||||||||||||||||||
97 | |||||||||||||||||||||
98 | |||||||||||||||||||||
99 | |||||||||||||||||||||
100 |