This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class DslEvaluator { | |
| def methodMissing(String name, args) { | |
| println "M >> $name $args" | |
| } | |
| def propertyMissing(String name, args) { | |
| println "P >> $name" | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| grails.plugin.admin.domains = [ | |
| "conferences.Room", | |
| "conferences.Attendee", | |
| "conferences.Conference", | |
| "conferences.Talk", | |
| "conferences.Speaker" | |
| ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| plugins { | |
| runtime ":admin-interface:0.6.4" | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| $ch = curl_init(); | |
| if (strcmp($_SERVER["REQUEST_METHOD"], "GET") == 0) { | |
| curl_setopt($ch, CURLOPT_URL, $_REQUEST["url"]); | |
| curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); | |
| $server_output = curl_exec ($ch); | |
| $contentType = curl_getinfo($ch, CURLINFO_CONTENT_TYPE); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Test { | |
| String a | |
| String b | |
| String c | |
| } | |
| class Test2 { | |
| String a | |
| String b | |
| String c |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ;; Map that represent the numeric value for roman numbers | |
| (def roman->num | |
| {\I 1 | |
| \V 5 | |
| \X 10 | |
| \L 50 | |
| \C 100 | |
| \D 500 | |
| \M 1000}) |