- 13" Macbook Pro 3.3 GHz i7 (late 2016)
- Microsoft Surface Book (2016)
- Dell up3216q 32" monitor
| import React, { Component } from 'react'; | |
| import { View, StyleSheet, Text } from 'react-native'; | |
| import { TabViewAnimated, TabBar } from 'react-native-tab-view'; | |
| const styles = StyleSheet.create({ | |
| container: { | |
| flex: 1, | |
| marginTop: 20, | |
| }, | |
| tabbar: { |
| let isRefreshing = false; | |
| let refreshSubscribers = []; | |
| const instance = axios.create({ | |
| baseURL: Config.API_URL, | |
| }); | |
| instance.interceptors.response.use(response => { | |
| return response; | |
| }, error => { |
| import { TabNavigator } from 'react-navigation' | |
| import Ionicons from 'react-native-vector-icons/Ionicons' | |
| import { hook } from 'cavy' | |
| class Icon extends Component { | |
| render() { | |
| const { navigation, generateTestHook, routeName... } = this.props | |
| return <Ionicons ref={generateTestHook(`Navigation.${routeName}`)} onPress={() => navigation.navigate(routeName)} .../> | |
| } | |
| } |
| // This sample is a Work in Progress for JSI , and specific functions may change. | |
| #pragma once | |
| #include <string> | |
| #include <unordered_map> | |
| #include <jsi/jsi.h> | |
| // This SameplJSIObject needs to inheric from HostObject, and this is the object that will be exposed to JS. |
| import React, { useMemo, useRef } from 'react'; | |
| import { View } from 'react-native'; | |
| import { node } from 'prop-types'; | |
| import { PanGestureHandler, State, PinchGestureHandler } from 'react-native-gesture-handler'; | |
| import Animated from 'react-native-reanimated'; | |
| import styles from './styles'; | |
| /** styles.js | |
| import { StyleSheet } from 'react-native'; |
| import pandas as pd | |
| def rsi(ohlc: pd.DataFrame, period: int = 14) -> pd.Series: | |
| """See source https://github.com/peerchemist/finta | |
| and fix https://www.tradingview.com/wiki/Talk:Relative_Strength_Index_(RSI) | |
| Relative Strength Index (RSI) is a momentum oscillator that measures the speed and change of price movements. | |
| RSI oscillates between zero and 100. Traditionally, and according to Wilder, RSI is considered overbought when above 70 and oversold when below 30. | |
| Signals can also be generated by looking for divergences, failure swings and centerline crossovers. |
| name: Detox | |
| on: [push] | |
| jobs: | |
| build: | |
| runs-on: macOS-latest | |
| timeout-minutes: 15 | |
| env: |
| name: Android | |
| on: [push] | |
| jobs: | |
| build: | |
| runs-on: macos-latest | |
| steps: | |
| - name: Checkout |
| import React, { useCallback, useEffect, useState } from 'react' | |
| import { | |
| StyleSheet, | |
| View, | |
| Text, | |
| TouchableOpacity, | |
| Button, | |
| Image, | |
| } from 'react-native' |