Skip to content

Instantly share code, notes, and snippets.


Paul Mach paulmach

  • Cisco Inc.
  • Oakland, CA
View GitHub Profile
paulmach / serve.go
Last active Aug 1, 2020
Simple Static File Server in Go
View serve.go
Serve is a very simple static file server in go
-p="8100": port to serve on
-d=".": the directory of static files to host
Navigating to http://localhost:8100 will display the index.html or directory
listing file.
package main
paulmach / consistent.go
Last active Aug 29, 2015
Check uniformity of consistent hash using crc32
View consistent.go
package main
import (
View gist:91a60f80a653addad5da9b045425e38f
### Keybase proof
I hereby claim:
* I am paulmach on github.
* I am paulmach ( on keybase.
* I have a public key ASD-u3EKAps9Uwzwr6IwdhMRJCaJw8yLXM2JzoiKI6KarQo
To claim this, I am signing this object:
You can’t perform that action at this time.