This file contains hidden or 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
Boa tarde. | |
Alguns comandos interessando para quem quiser instalar o Node, Npm e o Yarn no Linux "Derivados do Debian" | |
// Atuliazação do sistema | |
apt-get update | |
This file contains hidden or 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
// Importando as dependencias | |
import React, { Component } from "react"; | |
import { | |
KeyboardAvoidingView, | |
View, | |
Text, | |
TextInput, | |
TouchableOpacity, | |
StyleSheet, | |
AsyncStorage |
This file contains hidden or 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
Instalação e configurações do React Native Firebase, para utilizar no Android. | |
Antes mais nada, vamos iniciar um novo projeto através do terminal. | |
Entre na pasta aonde irar salvar o projeto. | |
cd pasta | |
Iniciando o novo projeto usando react native | |
react-native init nomeProjeto | |
Vamos entrar na pasta no novo projeto | |
cd nomeProjeto |
This file contains hidden or 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
Instalação e configurações do React Native Firebase, para utilizar no Android. | |
Antes mais nada, vamos iniciar um novo projeto através do terminal. | |
Entre na pasta aonde irar salvar o projeto. | |
cd pasta | |
Iniciando o novo projeto usando react native | |
react-native init nomeProjeto | |
Vamos entrar na pasta no novo projeto | |
cd nomeProjeto |
This file contains hidden or 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
<?php | |
// Criando uma Classe | |
class Pessoa{ // Nomes de Classe sempre a primeira letra e Maiuscula | |
private $nome; | |
function setNome($nome){ | |
// não pode usar espaços | |
// $this -> nome = $nome; errado | |
$this->nome = $nome; | |
} | |
function getNome(){ |
This file contains hidden or 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
// Iniciando um container docker | |
docker run hello-world | |
// Iniciando o docker como bash | |
docker run -it ubuntu bash | |
// Lista todos os container ativo | |
docker ps | |
// Lista todos os container ativado e desativado |
This file contains hidden or 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
// Iniciando um novo Repositorio Git usanod Git Flow | |
git flow init | |
// Listar os branch | |
// O branch é a solução perfeita, pois cria uma ramificação do código principal para que seja possível | |
// fazer alterações sem nenhum tipo de problema. É importante ressaltar que uma ramificação não depende | |
// da outra para ser desenvolvida. | |
git branch | |
// Criando uma nova Feature |
This file contains hidden or 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
void main() { | |
print( | |
"Sejam bem-vindos a loja Cuidapet! Em breve teremos um sistema de autoatendimento", | |
); | |
} |