Skip to content

Instantly share code, notes, and snippets.

Avatar

Austregecilio Cruz Neto austre

View GitHub Profile
View gist:8a0df667da93b004679ba9c7be0f4775
PS C:\> docker-machine create GoStackVM --virtualbox-no-vtx-check
Running pre-create checks...
Creating machine...
(GoStackVM) Copying C:\Users\austr\.docker\machine\cache\boot2docker.iso to C:\Users\austr\.docker\machine\machines\GoStackVM\boot2docker.iso...
(GoStackVM) Creating VirtualBox VM...
(GoStackVM) Creating SSH key...
(GoStackVM) Starting the VM...
(GoStackVM) Check network to re-create if needed...
(GoStackVM) Windows might ask for the permission to create a network adapter. Sometimes, such confirmation window is minimized in the taskbar.
(GoStackVM) Found a new host-only adapter: "VirtualBox Host-Only Ethernet Adapter #2"
View index.tsx
import React,{useState,useEffect} from 'react';
import {View,Text,StyleSheet,TouchableOpacity,ScrollView,Image,Alert} from 'react-native';
import Constants from 'expo-constants';
import {Feather as Icon} from '@expo/vector-icons';
import {useNavigation, useRoute} from '@react-navigation/native';
import MapView,{Marker} from 'react-native-maps';
import {SvgUri} from 'react-native-svg';
import api from '../../services/api';
import * as Location from 'expo-location';