This file contains hidden or 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
from __future__ import division | |
import re | |
from pyparsing import ( | |
Word, | |
alphas, | |
ParseException, | |
Literal, | |
CaselessLiteral, | |
Combine, |
This file contains hidden or 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
var page = require('webpage').create(); | |
// for each widget['name'] generate a file with widget['output_file'] as name | |
var widgets = [ | |
{ | |
'name': 'Cloud Summary', | |
'output_file': 'cloud_summary.png', | |
}, | |
{ | |
'name': 'Performance Graph', |
This file contains hidden or 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 smtplib | |
from email.MIMEMultipart import MIMEMultipart | |
from email.MIMEText import MIMEText | |
from email.MIMEImage import MIMEImage | |
import os | |
widgets = [ | |
{ | |
'name': 'Cloud Summary', | |
'output_file': 'cloud_summary.png', |
This file contains hidden or 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
binary: | |
CGO_ENABLED=0 go build -v -o <project_name> . | |
.PHONY : binary | |
container: binary | |
docker build -t <project_name> -f Dockerfile . | |
.PHONY : container | |
clean: | |
rm -f <project_name> |