Skip to content

Instantly share code, notes, and snippets.

View Ruben-E's full-sized avatar

Ruben Ernst Ruben-E

  • Netherlands
View GitHub Profile
@derekwyatt
derekwyatt / ACoupleOfUseExamples.scala
Created July 18, 2012 20:51
Scalatest Fixtures and Akka - parallel fixture isolation - sequential fixture isolation - and no fixture
// Examples showing how to use the specification helpers
//
import akka.actor.ActorSystem
import akka.testkit.{TestKit, ImplicitSender}
import org.scalatest.{WordSpec, BeforeAndAfterAll}
import org.scalatest.matchers.MustMatchers
// Sequentially runs the tests, isolating the Fixture in each test. The Fixture carries the TestKit
// so each test gets its own ActorSystem
class MyAkkaTestSpec extends SequentialAkkaSpecWithIsolatedFixture {
@mtigas
mtigas / gist:952344
Last active August 27, 2025 05:41
Mini tutorial for configuring client-side SSL certificates.

Client-side SSL

For excessively paranoid client authentication.


Updated Apr 5 2019:

because this is a gist from 2011 that people stumble into and maybe you should AES instead of 3DES in the year of our lord 2019.

some other notes: