Skip to content

Instantly share code, notes, and snippets.

View CJEnright's full-sized avatar

CJ Enright CJEnright

View GitHub Profile
@CJEnright
CJEnright / intro.md
Created August 30, 2019 14:14
Homework 1 Intro

CS 193 Homework 1 - GitHub and Your Own Website!

What is this assignment

Throughout this homework you will create a personal GitHub account, use that GitHub account to modify some code from the homework repository, and then submit it to us for grading! This same basic process will be used throughout CS193 to complete and turn in all of your homeworks. For this first one, we're focusing on getting you used to the process.

When is this due?

This homework will be due 9/2.

When will I know that I'm done

@CJEnright
CJEnright / gzip.go
Last active July 1, 2024 21:17
Idiomatic golang net/http gzip transparent compression, an updated version of https://gist.github.com/bryfry/09a650eb8aac0fb76c24
package main
import (
"net/http"
"compress/gzip"
"io/ioutil"
"strings"
"sync"
"io"
)

Keybase proof

I hereby claim:

  • I am cjenright on github.
  • I am cjen (https://keybase.io/cjen) on keybase.
  • I have a public key ASDzuTe15lWamawX5D2kQdVEYluUzSYTDuNL08POOmOS9Ao

To claim this, I am signing this object: