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
eventCompileStart = { | |
def buildNumber = metadata.'app.buildNumber' | |
if(!buildNumber) { | |
buildNumber = 1 | |
} else { | |
buildNumber = Integer.valueOf(buildNumber) + 1 | |
} | |
metadata.'app.buildNumber' = buildNumber.toString() | |
metadata.'app.buildDate' = new Date().format("MM/dd/yyyy HH:mm:ss") | |
metadata.'app.buildProfile' = grailsEnv |
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
def updateCompanySubscription(companyId,duration) { | |
if(duration <= 0) { | |
return deactivateCompany(companyId) | |
} else if(duration > 0) { | |
def company = Company.get(companyId) | |
company.isActive = true | |
def today = new Date() | |
if(company.endDate < today ) { | |
company.startDate = today | |
company.endDate = today |
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
Ext.setup({ | |
onReady : function() { | |
var popup = Ext.create('Ext.Panel', { | |
modal : true, | |
centered : true, | |
width : 300, | |
height : 400, | |
layout : 'fit', | |
hideOnMaskTap:false, | |
items : [{ |
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
package extract.excel | |
import org.apache.poi.hssf.usermodel.HSSFWorkbook | |
import org.apache.poi.hssf.usermodel.HSSFSheet | |
import org.apache.poi.hssf.usermodel.HSSFRow | |
import org.apache.poi.hssf.usermodel.HSSFCell | |
import org.apache.poi.hssf.usermodel.HSSFDateUtil | |
/** |
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
createCard : function(recommendation) { | |
return { | |
xtype : 'DetailedReport', | |
record : recommendation, | |
title : recommendation.get('summary'), | |
checkmarks : true, | |
data : { | |
benefits : { | |
whyitmatters : recommendation.get('description'), | |
cost : recommendation.get('approx_cost'), |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
</head> | |
<body> | |
<form> | |
<textarea placeholder="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce at felis ut mauris porta facilisis. Morbi consectetur dui at ligula posuere porta. Nulla urna ipsum, rutrum vel vulputate ut, interdum quis purus. Vestibulum eget placerat est. Aliquam pharetra odio ac arcu viverra posuere. In tempus quam ac ante pharetra imperdiet. Vestibulum nec nisl eros, adipiscing viverra orci. Ut in dolor nunc."></textarea> | |
</form> | |
</body> | |
</html> |
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
package ihe.iti.xds_b._2007; | |
import javax.jws.WebMethod; | |
import javax.jws.WebParam; | |
import javax.jws.WebResult; | |
import javax.jws.WebService; | |
import javax.jws.soap.SOAPBinding; | |
import javax.xml.ws.BindingType; | |
import javax.xml.ws.soap.MTOM; |
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
{ | |
"account": "Straton#1", | |
"heroes": [182, 183, 184, 185, 186], | |
"artisan": [{ | |
"slug": "Blacksmith", | |
"level": 3, | |
"step": { "current": 4, "max": 5 } | |
},{ | |
"slug": "Jeweler", | |
"level": 1, |
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
{ | |
"id": 182, | |
"name": "Yharr", | |
"hardcore": false, | |
"hero_class": 1, | |
"level": 21, | |
"gender": 0, | |
"create_time": 1351949944, | |
"update_time": 1666805944, | |
"hireling": [{ |
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
Ext.define('PerfectPizza.controller.Main', { | |
extend : 'Ext.app.Controller', | |
config : { | |
views : [ | |
'EmployeeMain', | |
'ManagerMain', | |
'Order', | |
'EditCustomer' | |
], | |
models : [ |
OlderNewer