Skip to content

Instantly share code, notes, and snippets.

View jbraeuer's full-sized avatar

Jens Braeuer jbraeuer

View GitHub Profile
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) {
@jbraeuer
jbraeuer / .gitignore
Last active December 13, 2015 17:18 — forked from karmi/.gitignore
Elasticsearch/Ruby/Tire Helloworld: Lets index your GMail inbox. See http://ephemera.karmi.cz/post/5510326335/gmail-elasticsearch-ruby
.DS_Store
*.log
Gemfile.lock