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
# Dont forget to set the env variables CERT_EMAIL and CERT_DOMAIN | |
Resources: | |
sslSecurityGroupIngress: | |
Type: AWS::EC2::SecurityGroupIngress | |
Properties: | |
GroupId: {"Fn::GetAtt" : ["AWSEBSecurityGroup", "GroupId"]} | |
IpProtocol: tcp | |
ToPort: 443 | |
FromPort: 443 |
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
var args = process.argv.slice(2); | |
if(args.length != 4){ | |
console.log('Usage example: node exportParseEmail.js _User.json france "06-01-2016" ./') | |
return; | |
} | |
var input = args[0]; | |
var market = args[1]; | |
var createdFrom = args[2]; | |
var outputDir = args[3]; |
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
// ############################################################################# | |
// ############################################################################# | |
// LEONARDO -------------------------------------------------------------------- | |
/* | |
pins_arduino.h - Pin definition functions for Arduino | |
Part of Arduino - http://www.arduino.cc/ | |
Copyright (c) 2007 David A. Mellis | |
This library is free software; you can redistribute it and/or |
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
<link rel="import" href="../core-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-toolbar/core-toolbar.html"> | |
<link rel="import" href="../core-header-panel/core-header-panel.html"> | |
<link rel="import" href="../paper-toggle-button/paper-toggle-button.html"> | |
<link rel="import" href="../core-animated-pages/core-animated-pages.html"> | |
<link rel="import" href="../core-animated-pages/transitions/hero-transition.html"> | |
<link rel="import" href="../core-animated-pages/transitions/cross-fade.html"> | |
<link rel="import" href="../core-animated-pages/transitions/slide-down.html"> | |
<link rel="import" href="../core-animated-pages/transitions/slide-up.html"> | |
<link rel="import" href="../core-animated-pages/transitions/tile-cascade.html"> |
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
var sync = function(){console.log('sync')} | |
var leftPage = false | |
var t = 0; | |
var c = function(){ | |
if((Date.now()-t) > 500){ | |
leftPage=true | |
} | |
else if(leftPage){ | |
leftPage=false; sync() | |
}; |
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
# Title | |
AIR QUALITY STATION | |
# Picture | |
media: http://s27.postimg.org/n9159lwpf/1604581_626258354094217_2010345751_n.jpg | |
# Objective | |
the main Objective of this project is to measure pollution percentage in the air specially carbon monoxide in cities and for industrial applications. we tend to make it like as a distributed stations around the world to make a map for the pollution in the world. | |
# Duration | |
3 days | |
# Age Group | |
all |
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
/** | |
* CSSData | |
* | |
* This class will create a bridge between CSS and JS, what will come in handy | |
* to for example, expose LESS varibles to your script. | |
* | |
* It works by creating an invisible dom element (*)div#cssdata, that will have it's | |
* (**)style.fontFamily filled via CSS. We then can access that property via | |
* window.getComputedStyle (use a pollyfill if needed), and parse the result to | |
* JSON. |
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
const int in = A0; | |
const int out = 9; | |
int freq = 0; | |
float v = 0; | |
void setup() { | |
pinMode(out, OUTPUT); | |
} |