Skip to content

Instantly share code, notes, and snippets.

View mhfs's full-sized avatar

Marcelo Silveira mhfs

View GitHub Profile
@mhfs
mhfs / gist:12272814bf8a3145435a
Last active March 3, 2016 00:06
How to stream, uncompress and decode a CSV file straight from a remote URL.
package main
import (
"compress/gzip"
"encoding/csv"
"fmt"
"io"
"net/http"
"os"
)
@mhfs
mhfs / Gemfile
Last active August 29, 2015 14:15
check twitter username availability
# A sample Gemfile
source "https://rubygems.org"
ruby "2.1.2"
gem "httparty"
gem "pony"