Skip to content

Instantly share code, notes, and snippets.

@ifnotak
ifnotak / README.txt
Created April 6, 2020 23:32 — forked from ncw/README.txt
Client side certificates with go
This demonstrates how to make client side certificates with go
First generate the certificates with
./makecert.sh test@test.com
Run the server in one terminal
go run server.go
@ifnotak
ifnotak / client.go
Created March 25, 2020 19:56 — forked from xjdrew/client.go
golang tls client and server, require and verify certificate in double direction
package main
import (
"crypto/tls"
"crypto/x509"
"flag"
"io"
"io/ioutil"
"log"
"os"
@ifnotak
ifnotak / Keybase proof
Created October 10, 2019 06:55
Keybase proof
### Keybase proof
I hereby claim:
* I am ifnotak on github.
* I am ifnotak (https://keybase.io/ifnotak) on keybase.
* I have a public key ASB25XnvXSZEpiHRz8fQeCxjX1gs2Fmv3O2hjLsIQaeCzQo
To claim this, I am signing this object:
@ifnotak
ifnotak / tictactoe.go
Last active January 3, 2024 23:09
Tic Tac Toe Golang Implementation
/* Original work Copyright (c), March 2019
* Abdullah G. Khalil <agalalkh@gmail.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*