This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sendgrid | |
from sendgrid.helpers.mail import * | |
sg = sendgrid.SendGridAPIClient(apikey="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") | |
from_email = Email("test@example.com") | |
subject = "Hello World from the SendGrid Python Library!" | |
to_email = Email("bcollazo2010@gmail.com") | |
content = Content("text/plain", "Hello, Email!") | |
mail = Mail(from_email, subject, to_email, content) | |
response = sg.client.mail.send.post(request_body=mail.get()) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
git checkout master | |
git pull | |
rm -rf dist | |
ember build --environment production | |
git checkout gh-pages | |
git pull |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters