Skip to content

Instantly share code, notes, and snippets.

View svenmueller's full-sized avatar

Sven Müller svenmueller

  • commercetools GmbH
  • Munich
View GitHub Profile
@svenmueller
svenmueller / play.rb
Last active August 29, 2015 13:57 — forked from dgouyette/play.rb
# Recipe for play-2.1.1
require 'formula'
class Play < Formula
homepage 'http://www.playframework.org/'
url 'http://downloads.typesafe.com/play/2.1.1/play-2.1.1.zip'
md5 '1ec0b736f9836f760b3c135154fd9a4b'
version '2.1.1'
import javax.net.ssl.SSLSocket;
import javax.net.ssl.SSLSocketFactory;
import java.io.*;
/** Establish a SSL connection to a host and port, writes a byte and
* prints the response. See
* http://confluence.atlassian.com/display/JIRA/Connecting+to+SSL+services
*/
public class SSLPoke {
public static void main(String[] args) {