Skip to content

Instantly share code, notes, and snippets.

View nejstastnejsistene's full-sized avatar

Peter Johnson nejstastnejsistene

View GitHub Profile
@nejstastnejsistene
nejstastnejsistene / webcrawler.go
Created May 5, 2014 17:01
My solution to the Go Tour Web Crawler
package main
import (
"fmt"
)
type Fetcher interface {
// Fetch returns the body of URL and
// a slice of URLs found on that page.
Fetch(url string) (body string, urls []string, err error)
@nejstastnejsistene
nejstastnejsistene / .gitignore
Last active August 29, 2015 13:56
partition_events.py
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
# C extensions
*.so
# Distribution / packaging
.Python
env/