Find the Android SDK path, here is a link to help you find it.
For Mac is some like: /Users/<yout-user-name>/Library/Android/sdk"
Open the .rc
file in your favorite editor:
# if you use ZSH
nano ~/.zshrc
# This setup works pretty well for OPL with a network link that travels through | |
# two UniFi switches and connects to a Samba server running inside Docker. The | |
# host OS is Debian with a ZFS filesystem and the container OS is also Debian. | |
# Latest Samba (4.11+). | |
[global] | |
# ====================== | |
# General Samba settings | |
# ====================== | |
log level = 1 |
set fish_greeting "" | |
# aliases | |
alias ls "ls -p -G" | |
alias la "ls -A" | |
alias ll "ls -l" | |
alias lla "ll -A" | |
alias g git | |
import React from 'react'; | |
import { | |
View, | |
Text, | |
TextInput, | |
TouchableOpacity, | |
ImageBackground, | |
StyleSheet, | |
StatusBar, | |
} from 'react-native'; |
set -gx PATH node modules/.bin $PATH | |
set -Ux JAVA_HOME (/usr/libexec/java_home -v 11) | |
set -Ux ANDROID_HOME $HOME/Library/Android/sdk | |
set -gx PATH $ANDROID_HOME/tools $PATH | |
set -gx PATH $ANDROID_HOME/tools/bin $PATH | |
set -gx PATH $ANDROID_HOME/platform-tools $PATH | |
set -gx PATH $ANDROID_HOME/emulator $PATH | |
Find the Android SDK path, here is a link to help you find it.
For Mac is some like: /Users/<yout-user-name>/Library/Android/sdk"
Open the .rc
file in your favorite editor:
# if you use ZSH
nano ~/.zshrc
{ | |
"name": "my-app", | |
"version": "0.1.0", | |
"private": true, | |
"dependencies": { | |
"react": "^16.8.6", | |
"react-dom": "^16.8.6", | |
"react-scripts": "3.0.1" | |
}, | |
"devDependencies": { |
convert(`name, | |
subname, | |
users{ | |
name, | |
id, | |
casas{ | |
id, | |
} | |
}, | |
address{ |
swagger: "2.0" | |
info: | |
description: "This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters." | |
version: "1.0.0" | |
title: "Swagger Petstore" | |
termsOfService: "http://swagger.io/terms/" | |
contact: | |
email: "apiteam@swagger.io" | |
license: | |
name: "Apache 2.0" |
#My react native alias: http://tuliocalil.blogspot.com/2020/07/linux-e-unix-alias-atalhos-produtivos.html | |
alias rnand='npx react-native run-android' | |
alias rnios='npx react-native run-ios' | |
alias rnapk='cd android && ./gradlew assembleRelease && cd..' | |
alias rnbundle='cd android && ./gradlew bundleRelease && cd..' | |
alias rnd='npx react-native doctor' | |
alias rnlink='npx react-native link' |