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
Hello | |
01 - docker version - Checa a versão do docker | |
02 - docker run hello-world - Cria e inicializa um container com a imagem hello-world | |
Básico | |
01 - docker ps - Lista os container que estão rodando | |
02 - docker run ubuntu - Cria e iniciliza um container com a imagem do ubuntu | |
03 - docker ps -a - Lista todos os container, inclusive os parados |
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
# Created by https://www.gitignore.io/api/unity | |
# Edit at https://www.gitignore.io/?templates=unity | |
# Jetbrain Rider Cache | |
.idea/ | |
Assets/Plugins/Editor/JetBrains* | |
# Visual Studio Code | |
.vscode/ |
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
[Serializable] | |
public struct RangedFloat | |
{ | |
public float minValue; | |
public float maxValue; | |
} | |
public class MinMaxRangeAttribute : Attribute | |
{ | |
public float Min { get; } |
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
public abstract class AudioEvent : ScriptableObject | |
{ | |
public abstract void Play(AudioSource source); | |
} | |
[CreateAssetMenu(menuName="Audio Events/Simple")] | |
public class SimpleAudioEvent : AudioEvent | |
{ | |
public AudioClip[] clips; |
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
/* | |
9 - Considerando a estrutura de uma árvore binária: | |
public class BinaryTree { | |
int valor; | |
BinaryTree left; | |
BinaryTree right; | |
} | |
Desenvolva um método que dado um nó da árvore calcule a soma de todos os nós | |
subsequentes. | |
*/ |
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
/* | |
8 - Dados dois numeros inteiros A e B, crie um terceiro inteiro C seguindo as seguintes | |
regras: | |
- O primeiro número de C é o primeiro número de A; | |
- O segundo número de C é o primeiro número de B; | |
- O terceiro número de C é o segundo número de A; | |
- O quarto número de C é o segundo número de B; | |
Assim sucessivamente… | |
- Caso os números de A ou B sejam de tamanhos diferentes, completar C com o restante | |
dos números do inteiro maior. Ex: A = 10256, B = 512, C deve ser 15012256. |
NewerOlder