Skip to content

Instantly share code, notes, and snippets.

@michaljemala
michaljemala / tls-client.go
Last active November 12, 2024 23:20
SSL Client Authentication Golang sample
package main
import (
"crypto/tls"
"crypto/x509"
"flag"
"io/ioutil"
"log"
"net/http"
)
@glinscott
glinscott / gist:3763682
Created September 21, 2012 20:20
Example clop-cutechess-cli.sh for Stockfish tests
#!/usr/bin/python
# -*- coding: utf-8 -*-
"""
Usage: clop-cutechess-cli.py CPU_ID SEED [PARAM_NAME PARAM_VALUE]...
Run cutechess-cli with CLOP_PARAM(s).
CPU_ID Symbolic name of the CPU or machine that should run the game
SEED Running number for the game to be played
PARAM_NAME Name of a parameter that's being optimized