Skip to content

Instantly share code, notes, and snippets.

View basejump's full-sized avatar
🚀
GO

Joshua Burnett basejump

🚀
GO
View GitHub Profile
@basejump
basejump / quickstart.md
Created November 11, 2023 07:53
quickstart

Why use Markdown?

  • It is easy to learn, use, and read.
  • It is portable. Markdown formatted text can be opened using any editor, so you need not worry about formatting issues.
  • It is platform-independent. You can create and use .md files on any device running any operating system.

Written with StackEdit.

//import org.grails.plugins.coffee.compiler.CoffeeCompilerManager
import grails.util.GrailsUtil
import grails.util.Environment
printMessage = { String message -> event('StatusUpdate', [message]) }
errorMessage = { String message -> event('StatusError', [message]) }
configSlurp = { -> new ConfigSlurper(GrailsUtil.environment).parse(new File("./grails-app/conf/Config.groovy").toURL())}
eventCleanStart = {
def config = configSlurp()