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
| visible = { this.props.selected.indexOf(marker.display_type) > -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
| import * as actions from '../../actions' | |
| import * as types from '../../constants/actionTypes' | |
| import itemTypeReducer from './ItemTypeReducer' | |
| describe('itemTypeReducer', () => { | |
| it('Toggles the Hotel item into the selected array', function() { | |
| let initialState = { | |
| selected: [] | |
| }; | |
| let action = { |
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 * as actionTypes from '../../constants/actionTypes'; | |
| const initialState = { | |
| selected: ['Hotel'], | |
| } | |
| export default function itemTypeReducer(state = initialState, action) { | |
| let selected = state.selected.slice(0); | |
| let newArray = null; |
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 React, { Component } from 'react'; | |
| import ReactDOM from 'react-dom'; | |
| import ItemListCounter from '../../../lib/Helpers/ItemListCounter'; | |
| import Counter from '../../Counter'; | |
| require('./style.scss'); | |
| class ItemTypeSelector extends Component { | |
| constructor(props) { | |
| super(props); |
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
| kibana:$apr1$Z/5.LALa$P0hfDGzGNt8VtiumKMyo/0 |
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
| echo "Starting to delete versions of $APP" | |
| while read ver; do | |
| echo "Deleting version $ver" | |
| aws elasticbeanstalk delete-application-version --version-label $ver --profile $PROFILE --application-name $APP | |
| echo "Version $ver deleted!" | |
| done |
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
| user=your-username | |
| password=your-password | |
| db=your-database-name | |
| mysqldump -u $user -p$password --databases $db > `date +%Y%m%d`.$db.sql |
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
| Total download size: 30 M | |
| Downloading packages: | |
| http://repos.mesosphere.io/el/7/x86_64/RPMS/mesos-0.28.0%2Bgit20160221.1e65c7f-0.2.220.centos65.x86_64.rpm: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found" | |
| Trying other mirror. | |
| Error downloading packages: | |
| mesos-0.28.0+git20160221.1e65c7f-0.2.220.centos65.x86_64: failure: RPMS/mesos-0.28.0+git20160221.1e65c7f-0.2.220.centos65.x86_64.rpm from mesosphere: [Errno 256] No more mirrors to try. |
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
| provider "aws" { | |
| region = "${var.aws_region}" | |
| } | |
| module "base" { | |
| source = "../base" | |
| } | |
| resource "aws_security_group" "core-services" { | |
| name = "core-services" |
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
| Host ec2-*.*.compute.amazonaws.com | |
| User deploy | |
| UserKnownHostsFile /dev/null | |
| StrictHostKeyChecking no |