Skip to content

Instantly share code, notes, and snippets.

@oliverzheng
oliverzheng / s3sync.sh
Created February 11, 2014 07:52
Sync directory to S3 bucket
#!/bin/bash
# E.g.
# s3sync.sh --dry-run s3://oliverzheng.com
# s3sync.sh s3://oliverzheng.com
s3cmd sync --rexclude '.*.git/*' --recursive --delete-removed . $@
@oliverzheng
oliverzheng / gist:4019421
Created November 5, 2012 18:23
1km in 5 minutes
{"email":"email@address.com","password":"password","date":{"year":2012,"month":11,"day":5,"hour":12,"minute":0},"distance": 1,"duration":300}