Skip to content

Instantly share code, notes, and snippets.

View shikloshi's full-sized avatar
🎯
Focusing

Aviad Shikloshi shikloshi

🎯
Focusing
View GitHub Profile
# Get InstanceId from specific describe-instances with role tag
aws ec2 describe-instances --filter="Name=tag:role,Values=blog" | jq '.Reservations[0].Instances[] | {"InstanceId": .InstanceId}'
@shikloshi
shikloshi / client.go
Created October 2, 2018 11:08 — forked from spikebike/client.go
TLS server and client
package main
import (
"crypto/tls"
"crypto/x509"
"fmt"
"io"
"log"
)