Some snippets that I use with Google Spreadsheet to automate some tasks