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
| #mixin for repository | |
| class RepositoryMixin(): | |
| """ This class will served for base for all repository of project """ | |
| class Meta: | |
| model = None | |
| @classmethod | |
| def all(cls): | |
| """ | |
| Shortcut for get all entity from model |
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
| version: '3.4' | |
| services: | |
| pgadmin: | |
| image: dpage/pgadmin4 | |
| container_name: pgadmin | |
| environment: | |
| - [email protected] | |
| - PGADMIN_DEFAULT_PASSWORD=pgadmin | |
| - PGADMIN_LISTEN_PORT=5050 | |
| ports: |
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
| version: '3.5' | |
| services: | |
| unify: | |
| image: linuxserver/unifi-controller | |
| container_name: unifi-controller | |
| ports: | |
| - 10001:10001/udp | |
| - 8080:8080 | |
| - 8443:8443 |
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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Document</title> | |
| </head> | |
| <body> | |
| </body> |
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() { | |
| // Questão 1 | |
| var frutas = <String>[]; | |
| frutas.add("Caja"); | |
| frutas.add("Acerola"); | |
| frutas.add("Manja"); | |
| // Adicione suas frutas aqui | |
| assert(frutas.length == 3); | |
| // Questão 2 | |
| final numerosFixos = const [5, 10, 15]; |
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() { | |
| mensagemAtividade("01"); | |
| print(multiplicaNumeros(10, 50)); | |
| mensagemAtividade("02"); | |
| print(construirNomeCompleto("Lucas", "Resende")); | |
| mensagemAtividade("03"); | |
| print(construirNomeCompletoNullable("Lucas")); | |
| print(construirNomeCompletoNullable("Lucas", "Resende")); |