- Branch de produção: master
- Branch de teste e versionamento: release
- Branch do próximo release: develop
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 { Placeregion } from 'api/types' | |
| import React, { Fragment, useEffect, useState } from 'react' | |
| import { GoogleMap, InfoWindow, Marker, Polygon, withGoogleMap, withScriptjs } from 'react-google-maps' | |
| import { compose, withProps } from 'recompose' | |
| import { Loading } from '../Loading' | |
| interface Props { | |
| center?: { | |
| lat: number |
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
| version: '3' | |
| services: | |
| mongo-express: | |
| image: mongo-express | |
| ports: | |
| - 8081:8081 | |
| environment: | |
| ME_CONFIG_BASICAUTH_USERNAME: admin | |
| ME_CONFIG_BASICAUTH_PASSWORD: admin@123 |
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 styled, { IStyledProps } from 'theme' |
Elastic Beanstalk brings the benefits of PaaS (Platform as a service) providers such as Heroku to AWS infrastructure. This is a reference for the EB CLI, which is a commandline interface that is more user-friendly than standard AWS CLI commands.
Install / Update EB CLI
// Linux
$ pip install --upgrade --user awsebcli
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
| const parseAddress = (location) => { | |
| if (!location) return {} | |
| const mapsKey = '' | |
| const geraMapa = (lat, lng, zoom, w, h, type = 'fill') => { | |
| let link = 'http://maps.googleapis.com/maps/api/staticmap' + | |
| '?center=' + lat + ',' + lng + | |
| '&key='+ mapsKey + | |
| '&zoom=' + zoom + | |
| '&scale=1' + |
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width"> | |
| <title>JS Bin</title> | |
| </head> | |
| <body> | |
| <script src="https://cdn.jsdelivr.net/lodash/4/lodash.min.js"></script> |
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
| !/bin/bash | |
| sudo apt-get upgrade -y | |
| sudo apt-get install git-core zsh -y | |
| sudo sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" | |
| echo "# Launch Zsh | |
| if [ -t 1 ]; then | |
| exec zsh | |
| fi " >> .bashrc |