Skip to content

Instantly share code, notes, and snippets.

View caleblloyd's full-sized avatar

Caleb Lloyd caleblloyd

View GitHub Profile
@citizenmatt
citizenmatt / Whatever.sln
Last active June 24, 2016 13:58
Sample solution and .xproj file for .net core RC2
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2013
VisualStudioVersion = 12.0.0.0
MinimumVisualStudioVersion = 10.0.0.1
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Whatever", "Whatever\Whatever.xproj", "{A2B3B3E1-6D88-4BF8-A709-4F2F3296E21E}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@fiorix
fiorix / sse.go
Last active June 27, 2024 02:15
Go and Server Sent Events for HTTP/1.1 and HTTP/2.0
// Go and Server Sent Events for HTTP/1.1 and HTTP/2.0
//go:generate go run $GOROOT/src/crypto/tls/generate_cert.go -host localhost
package main
import (
"fmt"
"io"
"log"
"net/http"