To enable full stack traces just add the command line argument -Dgrails.full.stacktrace=true
when calling grails
, e. g.:
grails -Dgrails.full.stacktrace=true run-app
println 'Defined beans:' | |
org.springframework.context.ApplicationContext ctx = grailsApplication.mainContext | |
ctx.beanDefinitionNames.sort().each { println "${it} (${ctx.getType(it)?.name})" } |
# This function returns a `Promise` that is resolved when a particular | |
# event on the given element occurs. | |
newEventPromise = (elem, event, action) -> | |
$ = jQuery | |
that = this | |
# First, we create a new `Deferred` object. | |
deferred = $.Deferred() | |
# Then, we register a handle for the given event type (e. g. "click"). |
.is-Transformed { | |
width: 50%; | |
margin: auto; | |
position: absolute; | |
top: 50%; left: 50%; | |
-webkit-transform: translate(-50%,-50%); | |
-ms-transform: translate(-50%,-50%); | |
transform: translate(-50%,-50%); | |
} |
#foo { | |
background: #C5C5C5; | |
background: -ms-linear-gradient( | |
left, #F4F4F4 0, #F4F4F4 25px, #EEE 26px, #C5C5C5 43%, #C5C5C5 57%, | |
#EEE 974px, #F4F4F4 975px, #F4F4F4 100% | |
); | |
background: -moz-linear-gradient( | |
left, #F4F4F4 0, #F4F4F4 25px, #EEE 26px, #C5C5C5 43%, #C5C5C5 57%, | |
#EEE 974px, #F4F4F4 975px, #F4F4F4 100% | |
); |
:-ms-input-placeholder { | |
color: red; | |
} | |
:-moz-placeholder { /* Firefox 18- */ | |
color: red; | |
} | |
::-moz-placeholder { /* Firefox 19+ */ | |
color: red; | |
} | |
::-webkit-input-placeholder { |
ssh-keygen -t rsa | |
cat ~/.ssh/id_rsa.pub | ssh user@host 'cat >>.ssh/authorized_keys2' |
# compute the effective POM | |
mvn help:effective-pom | |
# same, but without the dev profile | |
mvn -P'!dev' help:effective-pom |