This is a repo of App Script examples. I'll be updating it periodically, but if it helps, please view the source, fork and use.