Skip to content

Instantly share code, notes, and snippets.

{
"NumSets": 3,
"IsMatchInProgress": false,
"PlayerTeam": {
"PlayerId": "KE17",
"PlayerDisplayName": "N. Kyrgios",
"Set": [
{
"SetNumber": 0,
"ServePlacement": {
@paulfairless
paulfairless / gist:81eb87bd5a0e1b3a6d048ee913efc79a
Created April 4, 2017 13:09
Specify pool for spring-cloud-aws SQS listener
package com.endource.aws
import com.amazonaws.services.sqs.AmazonSQSAsync
import com.amazonaws.services.sqs.model.Message
import com.amazonaws.services.sqs.model.MessageAttributeValue
import org.slf4j.Logger
import org.slf4j.LoggerFactory
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty
import org.springframework.cloud.aws.messaging.config.SimpleMessageListenerContainerFactory
@paulfairless
paulfairless / gist:a3f4f472ea7059e4d97d
Created March 9, 2015 13:53
Base64 encode a file
openssl base64 < <file> | tr -d '\n' | pbcopy