Sync with my repo

Update examples for rust 0.11-pre, add more examples.