Skip to content

Instantly share code, notes, and snippets.

View mjs's full-sized avatar
💭
curl -s http://104.196.37.21/|grep -Eo '^\S+'

Menno Finlay-Smits mjs

💭
curl -s http://104.196.37.21/|grep -Eo '^\S+'
View GitHub Profile
@mjs
mjs / timeout.go
Last active August 29, 2015 14:02 — forked from darkhelmet/timeout.go
func Download(out chan string, urls... string) {
for url := range(urls) {
go func() {
out <- HttpGet(url)
}()
}
}
func Process(in chan string) {
select {