Skip to content

Instantly share code, notes, and snippets.

View josephsmartinez's full-sized avatar
🐝
Buzzy

JSONmart josephsmartinez

🐝
Buzzy
  • Amazon
  • Seattle
View GitHub Profile

AWS Golang SDK examples

@josephsmartinez
josephsmartinez / curl.md
Created July 10, 2019 08:37 — forked from subfuzion/curl.md
curl POST examples

Common Options

-#, --progress-bar Make curl display a simple progress bar instead of the more informational standard meter.

-b, --cookie <name=data> Supply cookie with request. If no =, then specifies the cookie file to use (see -c).

-c, --cookie-jar <file name> File to save response cookies to.

@josephsmartinez
josephsmartinez / chat.go
Created July 8, 2019 07:25
simple golang chat server
package main
import (
"bufio"
"net"
)
type Client struct {
incoming chan string
outgoing chan string