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
/** | |
* Based on Vertx EventBus Client (https://github.com/vert-x3/vertx-bus-bower) | |
* Requires SockJS Client | |
*/ | |
import {EventEmitter, Injectable} from "@angular/core"; | |
import * as SockJS from 'sockjs-client'; | |
@Injectable() | |
export class EventBusService { |
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
language: groovy | |
jdk: oraclejdk8 | |
sudo: false # To use new Travis docker-based infrastructure | |
env: | |
global: | |
# $AWS_ACCESS_KEY_ID | |
- secure: "..." | |
# $AWS_SECRET_ACCESS_KEY | |
- secure: "..." |
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 agorapulse.core.dynamo | |
import com.amazonaws.services.dynamodbv2.AmazonDynamoDBClient | |
import com.amazonaws.services.dynamodbv2.datamodeling.* | |
import com.amazonaws.services.dynamodbv2.model.* | |
import grails.plugin.awssdk.AmazonWebService | |
import org.apache.log4j.Logger | |
import java.lang.reflect.Field | |
import java.lang.reflect.Method |
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
"6-9,12,14-19".tokenize(',').collect{it.find('-')?[*evaluate(it.replace('-','..'))]:it}.flatten() |