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
ApplicationContext applicationContext = | |
new GenericGroovyApplicationContext("classpath:config/appConfig.groovy"); |
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
var ws; | |
if (window.WebSocket) { | |
console.log("WebSocket supported in your browser"); | |
ws = new WebSocket("ws://localhost:8081"); | |
// Set event handlers. | |
ws.onopen = function () { | |
console.log("onopen"); | |
}; | |
ws.onmessage = function (e) { | |
// e.data contains received string. |
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
1 |
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 javax.script.ScriptEngine | |
import javax.script.ScriptEngineFactory | |
import javax.script.ScriptEngineManager; | |
//System.properties.each { k, v -> println("$k = $v") } | |
println System.properties['java.runtime.version'] | |
println "---------------------------------" | |
ScriptEngineManager manager = new ScriptEngineManager() | |
ScriptEngine nashorn = manager.getEngineByName("nashorn") | |
if (nashorn != null) { |
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/sh | |
version=3.5 | |
releaseRepo=https://repository-hazelcast-l337.forge.cloudbees.com/release/com/hazelcast | |
snapshotRepo=https://repository-hazelcast-l337.forge.cloudbees.com/snapshot/com/hazelcast | |
groupId="com.hazelcast" | |
artifactId="hazelcast-enterprise" | |
clientArtifactId="hazelcast-enterprise-client" | |
# install Hazelcast Enterprise |
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
package mx.automation.delegates.controls.superGridClasses | |
{ | |
import com.theriabook.controls.superGridClasses.DataGridItemRenderer; | |
import flash.display.DisplayObject; | |
import mx.automation.Automation; | |
import mx.automation.IAutomationObject; | |
import mx.automation.delegates.core.UITextFieldAutomationImpl; | |
import mx.core.mx_internal; |
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
package com.theriabook.automation.delegates.controls.superGridClasses | |
{ | |
import com.theriabook.controls.superGridClasses.Band; | |
import com.theriabook.controls.superGridClasses.DataGridItemRenderer; | |
import flash.display.DisplayObject; | |
import flash.events.Event; | |
import flash.events.KeyboardEvent; | |
import flash.events.MouseEvent; | |
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
package com.theriabook.controls.superGridClasses | |
{ | |
import flash.geom.Point; | |
import flash.geom.Rectangle; | |
import flash.utils.getQualifiedSuperclassName; | |
import flash.utils.getDefinitionByName; | |
import flash.utils.getQualifiedClassName; | |
import com.theriabook.controls.SuperGrid; | |
import mx.controls.listClasses.BaseListData; |
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
package com.javaheadbrain.experiments.amf; | |
import java.util.List; | |
import com.acme.supperapp.entities.UserEntity; | |
import clear.cdb.annotations.CX_FillMethod; | |
import clear.cdb.annotations.CX_JPQLMethod; | |
import clear.cdb.annotations.CX_Service; | |
import clear.cdb.annotations.CX_TransferInfo; |
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
if(args.size()!=1){ | |
println "start with sudo groovy install <version-number>" | |
System.exit 1 | |
} | |
final version = args[0] | |
final installDir = "/usr/lib/" | |
final base = "http://dist.groovy.codehaus.org/distributions/" | |
final urls = [ |