Author: Sean Gillies Version: 1.0
This document describes a GeoJSON-like protocol for geo-spatial (GIS) vector data.
| // You will also need to create a gmail filter to add the 'send-to-slack' label | |
| // to any emails you want sent to slack | |
| function sendEmailsToSlack() { | |
| var label = GmailApp.getUserLabelByName('send-to-slack'); | |
| var messages = []; | |
| var threads = label.getThreads(); | |
| for (var i = 0; i < threads.length; i++) { | |
| messages = messages.concat(threads[i].getMessages()) |
| # Was asked how I keep my zshrc config sync'd between my computers with Dropbox | |
| # Add a new directory in your Dropbox (or use an existing one) | |
| mkdir -p ~/Dropbox/ohmyzsh | |
| # move existing file to Dropbox | |
| mv ~/.zshrc ~/Dropbox/ohmyzsh/zshrc | |
| # symlink file back to your local directory | |
| ln -s ~/Dropbox/ohmyzsh/zshrc ~/.zshrc |