This file contains 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
Please see https://github.com/dashorst/wicket-rfcs/blob/master/wicket-rfc-0001.txt for the RFC. | |
Please comment either inline in the github repository, or reply to the message | |
thread on the dev@wicket.apache.org mailing list. |
This file contains 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
import groovy.transform.* | |
class HtmlBuilder { | |
def html(@DelegatesTo(Html) Closure c) { | |
c.delegate = new Html() | |
println "<html>"; c(); println "</html>" | |
} | |
} | |
class Html { | |
def head(@DelegatesTo(Head) Closure c) { | |
c.delegate = new Head() |
This file contains 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
#!/bin/bash | |
SHA_REMOTE=`git rev-parse upstream/production` | |
SHA_LOCAL=`git rev-parse production` | |
if [ "$SHA_LOCAL" != "$SHA_REMOTE" ]; then | |
echo "different" | |
else | |
echo "same" | |
fi |