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
# Simple PHP app served through AWS Application Load Balancer to Kubernetes cluster. | |
# Assumes you have setup a Kubernetes cluster with AWS Load Balancer Controller and External DNS | |
# https://kubernetes-sigs.github.io/aws-load-balancer-controller/latest/ | |
# https://github.com/kubernetes-sigs/external-dns/blob/master/docs/tutorials/aws.md | |
# https://github.com/kubernetes-sigs/external-dns/blob/master/docs/tutorials/alb-ingress.md | |
# There's a couple place holders near the bottom to be filled in. | |
apiVersion: v1 | |
kind: ConfigMap | |
metadata: |
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 example; | |
import io.netty.channel.ChannelHandler; | |
import io.netty.channel.ChannelInitializer; | |
import io.netty.channel.socket.SocketChannel; | |
import io.netty.handler.codec.LengthFieldBasedFrameDecoder; | |
import io.netty.handler.codec.LengthFieldPrepender; | |
import io.netty.handler.codec.string.StringDecoder; | |
import io.netty.handler.codec.string.StringEncoder; | |
import io.netty.util.CharsetUtil; |
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
/* | |
* Copyright 2012, Christopher A. Olson | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
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 org.me.sundry | |
import org.specs.Specification | |
import org.specs.mock.Mockito | |
import scala.util.continuations._ | |
class ContinuationTests extends Specification with Mockito { | |
class Rendezvous[T] { | |
private trait State { |