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 boto3 | |
import sys, traceback | |
from datetime import datetime | |
from time import sleep | |
def stop_rds_instances(): | |
start_time = datetime.now() | |
# starting ec2 client for list regions | |
ec2_client = boto3.client('ec2') |
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 boto3 | |
import sys, traceback | |
from datetime import datetime | |
from time import sleep | |
def start_rds_instances(): | |
start_time = datetime.now() | |
# starting ec2 client for list regions | |
ec2_client = boto3.client('ec2') |
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 boto3 | |
import sys, traceback | |
from datetime import datetime | |
from time import sleep | |
def stop_ec2_instances(): | |
start_time = datetime.now() | |
ec2_client = boto3.client('ec2') |
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 boto3 | |
import sys, traceback | |
from datetime import datetime | |
from time import sleep | |
def start_ec2_instances(): | |
start_time = datetime.now() | |
ec2_client = boto3.client('ec2') |
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
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Effect": "Allow", | |
"Action": [ | |
"logs:CreateLogGroup", | |
"logs:CreateLogStream", | |
"logs:PutLogEvents" | |
], |
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 autoprefixer = require("gulp-autoprefixer"); | |
const csso = require("gulp-csso"); | |
const del = require("del"); | |
const gulp = require("gulp"); | |
const htmlmin = require("gulp-htmlmin"); | |
const runSequence = require("run-sequence"); | |
const sass = require("gulp-sass"); | |
const uglify = require("gulp-uglify"); | |
const cleanCSS = require("gulp-clean-css"); | |
const rename = require("gulp-rename"); |
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 React, { Component } from "react"; | |
import { connect } from "react-redux"; | |
import { compraMateriais } from "./action"; | |
class HomeComponent extends Component { | |
render() { | |
const { materiais, compraMateriais } = this.props; | |
return ( |
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 React, { Component } from "react"; | |
import { Provider } from "react-redux"; | |
import store from "./store"; | |
import Home from "./home"; | |
class App extends Component { | |
render() { | |
return ( | |
<Provider store={store}> |
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 React, { Component } from "react"; | |
import { Provider } from "react-redux"; | |
import store from "./store"; | |
class App extends Component { | |
render() { | |
return ( | |
<Provider store={store}> | |
<div className="App"> | |
<header className="App-header">Teste Redux</header> |
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 { combineReducers } from "redux"; | |
import reducer from "./reducer"; | |
const reducers = combineReducers({ | |
reducer, | |
// caso tenha mais reducers, inclua aqui | |
}); | |
export default reducers; |
NewerOlder