This readme is for macOS and Anaconda installed with
brew
Creating python virtual environment wiht specific python version and preinstalled libraries:
cd /usr/local/anaconda3/bin
./conda create -n myenv python=3.6 scipy=0.15.0 astroid babel
const useCombinedInfo = (id, combineInfo) => { | |
const {realm} = useContext(MainContext); | |
const [info, setInfo] = useState(null); | |
const [isLoading, setIsLoading] = useState(false); | |
const [isError, setIsError] = useState(false); | |
const [serviceInfo, serviceLoading, serviceError] = useFetchSerial( | |
[getResource], | |
[{id, filter}], | |
); |
import React from 'react'; | |
import Modal from 'react-native-modal'; | |
import styled from 'styled-components/native'; | |
import {View, StyleSheet} from 'react-native'; | |
const styles = StyleSheet.create({ | |
primaryContainer: { | |
height: '30%', | |
justifyContent: 'center', | |
alignItems: 'center', |
import {useReducer, useEffect} from 'react'; | |
const A_FETCH_INIT = 'FETCH_INIT'; | |
const A_FETCH_SUCCESS = 'FETCH_SUCCESS'; | |
const A_FETCH_FAILURE = 'FETCH_FAILURE'; | |
const INITIAL_STATE = { | |
isLoading: false, | |
isError: false, | |
result: null, | |
}; |
'use strict'; | |
import React, {PureComponent} from 'react'; | |
import {StyleSheet, View, Alert} from 'react-native'; | |
import {RNCamera} from 'react-native-camera'; | |
class Scanner extends PureComponent { | |
constructor(props) { | |
super(props); | |
this.state = { | |
navigation: props.navigation, |
import React from 'react'; | |
import styled from 'styled-components/native'; | |
import {Color} from '../../styles'; | |
import {IconButton} from './IconButton'; | |
const MAX_STRING_LENGTH = 15; | |
const StyledView = styled.View` | |
flex: 1; | |
flex-direction: row; |
import React from 'react'; | |
import styled from 'styled-components/native'; | |
import {StyleSheet, TouchableOpacity, View} from 'react-native'; | |
import {Icon} from 'react-native-elements'; | |
import {Colors} from 'react-native/Libraries/NewAppScreen'; | |
import {Color} from '../styles'; | |
import {Table, Cell, Row, TableWrapper} from 'react-native-table-component'; | |
const HEIGHT_HEADER_AND_BTN = 30; |
import {useReducer, useEffect} from 'react'; | |
const A_FETCH_INIT = 'FETCH_INIT'; | |
const A_FETCH_SUCCESS = 'FETCH_SUCCESS'; | |
const A_FETCH_FAILURE = 'FETCH_FAILURE'; | |
const INITIAL_STATE = { | |
isLoading: false, | |
isError: false, | |
result: null, | |
}; |
import {useReducer, useEffect} from 'react'; | |
const A_FETCH_SET_PARAM = 'FETCH_SET_PARAM'; | |
const A_FETCH_INIT = 'FETCH_INIT'; | |
const A_FETCH_SUCCESS = 'FETCH_SUCCESS'; | |
const A_FETCH_FAILURE = 'FETCH_FAILURE'; | |
const A_FETCH_FAILURE_RESET = 'FETCH_FAILURE_RESET'; | |
const INITIAL_STATE = { | |
isLoading: false, | |
isError: false, |
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- this is really not | |
> needed... you can just build (or rename WAR file to) | |
> spring-boot-jboss.war this file goes on src/main/webapp/WEB-INF/jboss-web.xml | |
> --> | |
<!DOCTYPE jboss-web> | |
<jboss-web> | |
<context-root>/app</context-root> | |
</jboss-web> |