Skip to content

Instantly share code, notes, and snippets.

View supershabam's full-sized avatar
📴

Ian Hansen supershabam

📴
View GitHub Profile
@cbrammer
cbrammer / gist:1706616
Created January 30, 2012 20:52
Commit Message
## Commit Message Format:
[fixes #<ticket number from pivotal tracker>] Subject
Detailed description
- item one
- item two
rb: Who did the code review for this commit
@dustin
dustin / progress.go
Last active December 19, 2015 16:18
Uploading a ton of stuff to S3, I decided I wanted something that would take this boring *os.File and give me a progress indicator. Here's the thing I threw together. Sends this sort of thing to stdout ('\r'ing over itself every second): 10MB/72MB (14.6%)
package main
import (
"fmt"
"io"
"os"
"time"
"github.com/dustin/go-humanize"
)