Skip to content

Instantly share code, notes, and snippets.

View joeRinehart's full-sized avatar

Joe Rinehart joeRinehart

  • Asheville, NC
View GitHub Profile
<html>
<head>
<meta name="layout" content="godawful" />
<title>Howdy!</title>
</head>
<body>
<h1>Howdy!</h1>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<title><g:layoutTitle default="Ima Default Title" /></title>
<g:layoutHead />
</head>
<body>
<g:layoutBody />
&copy; <g:formatDate format="yyyy" date="${ new Date() }" />, whoever.
<!DOCTYPE html>
<html>
<head>
<title><g:layoutTitle default="Ima Default Title" /></title>
<g:layoutHead />
</head>
<body style="background: #a0a; color: #FF0; font-family: Comic Sans, Comic Sans MS, cursive">
<g:layoutBody />
&copy; <g:formatDate format="yyyy" date="${ new Date() }" />, whoever.
<html>
<head>
<meta name="layout" content="godawful" />
<title>Howdy!</title>
</head>
<body>
<h1>Howdy!</h1>
</body>
</html>
body {
background: #a0a; color: #FF0; font-family: Comic Sans, Comic Sans MS, cursive
}
<!DOCTYPE html>
<html>
<head>
<title><g:layoutTitle default="Ima Default Title" /></title>
<g:layoutHead />
<link rel="stylesheet" type="text/css" href="<g:resource dir="css" file="godawful.css" />"></link>
</head>
<body>
<g:layoutBody />
<html>
<head>
<title>Howdy!</title>
</head>
<body>
<h1>Howdy!</h1>
</body>
</html>
package grailsmodelspart1
class CoinToss {
static constraints = {
}
}
@joeRinehart
joeRinehart / sample1.groovy
Created August 15, 2012 16:03
Grails Data Binding Vuln
// If user has 'firstname', and the form has a 'firstname' input, it'll be assigned
userInstance.properties = params
@joeRinehart
joeRinehart / Song1.groovy
Created August 15, 2012 21:50
ModelsPart2
here