This file contains hidden or 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
#! /usr/bin/env python | |
""" | |
Sort CSV file by multiple columns, writing output to sorted CSV file. | |
Recommended for files saved in Windows CSV format. | |
Useful for situations where data file is too large for Excel. | |
: param source_file.csv : source csv file. Must end in .csv | |
: param sort column 1 : first sort in Excel-like column number (i.e., 1 ... N) | |
Use negative number to indicate descending sort, | |
Positive number to indicate ascending sort_step |
This file contains hidden or 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
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) { |