I hereby claim:
- I am gamussa on github.
- I am gamussa (https://keybase.io/gamussa) on keybase.
- I have a public key whose fingerprint is 1B76 A73D 0DCA 3B8F B09A 2027 EFC7 C238 C9E7 FE3C
To claim this, I am signing this object:
-- Adapted from these sources: | |
-- http://peterdowns.com/posts/open-iterm-finder-service.html | |
-- https://gist.github.com/cowboy/905546 | |
-- | |
-- Modified to work with files as well, cd-ing to their container folder | |
-- Modified to work with iTerm 2 night builds https://iterm2.com/applescript.html | |
on run {input, parameters} | |
tell application "Finder" | |
set my_file to first item of input | |
set filetype to (kind of (info for my_file)) |
#!/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 |
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) { |
1 |
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. |
ApplicationContext applicationContext = | |
new GenericGroovyApplicationContext("classpath:config/appConfig.groovy"); |
package config | |
import com.farata.course.mwd.auction.data.DataEngine | |
import com.farata.course.mwd.auction.service.ProductService | |
beans { | |
xmlns([context: 'http://www.springframework.org/schema/context']) | |
context.'property-placeholder'(location: 'classpath:app.properties') | |
context.'component-scan'('base-package': "com.farata.course.mwd") |
task karma(type: Exec){ | |
workingDir "${project.webAppDirName}" | |
executable 'karma' | |
args 'start', '--single-run', 'true' | |
} | |
test { | |
doLast{ | |
tasks.karma.execute() | |
} |
runTest | |
"java.lang.AssertionError: Failed executing test test/script/basic/JDK-8048079_2.js | |
at jdk.nashorn.internal.test.framework.ScriptRunnable.runTest(ScriptRunnable.java:76) | |
at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source) | |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.lang.reflect.Method.invoke(Method.java:483) | |
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80) | |
at org.testng.internal.Invoker.invokeMethod(Invoker.java:714) | |
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901) | |
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231) |
I hereby claim:
To claim this, I am signing this object: