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
- name: Start a new AWS with ansible enabled | |
hosts: workers | |
become: true | |
become_method: sudo | |
vars: | |
root_password: ****** | |
tasks: | |
- name: create sudo user | |
password: "{{ root_password }}" | |
- name: create ansadmin |
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 helper from '../common/helper.js'; | |
import {login, logout} from '../actions'; | |
import {connect} from 'react-redux'; | |
import { Route, Router, Switch, Link, Redirect} from 'react-router-dom'; | |
import Manager from "./Manager.js" | |
import {Recover} from '../components/Recover.js' | |
import styled from 'styled-components'; | |
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
class Login extends React.Component{ | |
constructor(props){ | |
super(props); | |
this.state ={ | |
'username' : '', | |
'password' : '' | |
} | |
} | |
handleChange = (e) => { |
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 styled from 'styled-components/native'; | |
import {func, object, bool, string} from 'prop-types'; | |
import {TouchableOpacity, View, ScrollView} from 'react-native'; | |
import PropTypes from 'prop-types'; | |
import Swipeout from 'react-native-swipeout'; | |
// local | |
import {Text, IconUri, DatePicker, Icon, ScrollWrapper, Image, Button} from '~/components/shared'; | |
import {getNavigatorContext} from '~/enhancers'; |
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 from 'react'; | |
import { REST_URL } from './constants'; | |
import Select from './Select.js'; | |
class Dropdowns extends React.Component{ | |
constructor(props){ | |
super(props); | |
this.state = { | |
price : [], |
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 from 'react'; | |
class Select extends React.Component{ | |
constructor(props){ | |
super(props); | |
this.state = { | |
price : this.props.price, | |
block : this.props.block, | |
options : this.props.options, | |
id : this.props.id, |
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 from 'react'; | |
class Search extends React.Component { | |
constructor(props) { | |
super(props); | |
this.state = {city: 'Los Angeles'}; | |
this.handleSubmit = this.handleSubmit.bind(this); | |
this.handleChange = this.handleChange.bind(this); |
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 from 'react'; | |
var ReactBsTable =require('react-bootstrap-table'); | |
var BootstrapTable = ReactBsTable.BootstrapTable; | |
var TableHeaderColumn = ReactBsTable.TableHeaderColumn; | |
import '../public/css/react-bootstrap-table.css'; | |
import ReactModal from 'react-modal'; | |
import Client from './Client' | |
import Search from './Search' | |
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 from 'react'; | |
import Client from './Client' | |
class Search extends React.Component { | |
constructor(props) { | |
super(props); | |
this.state = { | |
city: "Los Angeles" | |
} |
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 from 'react'; | |
var ReactBsTable =require('react-bootstrap-table'); | |
var BootstrapTable = ReactBsTable.BootstrapTable; | |
var TableHeaderColumn = ReactBsTable.TableHeaderColumn; | |
import '../public/css/react-bootstrap-table.css'; | |
import wwtpdata from '../data/wwtp_ca.json'; | |
import ReactModal from 'react-modal'; | |
import Client from './Client'; | |
import axios from 'axios' |