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
| import 'package:dio/dio.dart'; | |
| import 'package:flutter/material.dart'; | |
| import 'package:google_fonts/google_fonts.dart'; | |
| import 'package:transparent_image/transparent_image.dart'; | |
| import '../shared/const/image_api.dart'; | |
| import '../shared/repositories/get_image.dart'; | |
| import '../widgets/search_bar/search_bar.dart'; | |
| import 'home_controller.dart'; |
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
| // Todo código foi feito por josé lucas da silva. | |
| #include <iostream> | |
| #include <cmath> | |
| struct point2D | |
| { | |
| double x; | |
| double y; | |
| }; |
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
| import 'package:flutter/material.dart'; | |
| import 'package:flutter_mobx/flutter_mobx.dart'; | |
| import 'package:flutter_modular/flutter_modular.dart'; | |
| import '../../shared/widgets/profile_button/profile_button.dart'; | |
| import '../../shared/widgets/repository_card/repository_card.dart'; | |
| import 'home_controller.dart'; | |
| class HomePage extends StatefulWidget { | |
| @override |
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
| import os | |
| def trocar(arquivo): | |
| if ' ' in arquivo: | |
| new_file = arquivo.replace(' ', '-') | |
| os.rename(arquivo, new_file) | |
| return new_file | |
| return arquivo |
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
| import random | |
| class Perceptron: | |
| def __init__(self, limiar, parada, taxa_aprendizado = 0.1): | |
| self.pesos = [] | |
| self.limiar = limiar | |
| self.parada = parada | |
| self.taxa_aprendizado = taxa_aprendizado |
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
| Building wheel for pillow (setup.py) ... error | |
| ERROR: Command errored out with exit status 1: | |
| command: /home/lucas/Documents/programacao/gerador-provas/venv/bin/python3.8 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-1dogez7b/pillow/setup.py'"'"'; __file__='"'"'/tmp/pip-install-1dogez7b/pillow/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-s9_73yr7 --python-tag cp38 | |
| cwd: /tmp/pip-install-1dogez7b/pillow/ | |
| Complete output (172 lines): | |
| running bdist_wheel | |
| running build | |
| running build_py | |
| creating build | |
| creating build/lib.linux-x86_64-3.8 |
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="pt-br" > | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>Formulário de Login</title> | |
| <link rel="stylesheet" href="{{ url_for('static', | |
| filename="css/style.css") }}"> | |
| </head> |
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
| import sqlite3 | |
| def create_table(): | |
| c.execute('create table IF NOT EXISTS dados(id INTEGER PRIMARY KEY AUTOINCREMENT,\ | |
| nome text,\ | |
| data_nascimento text,\ | |
| email text,\ | |
| senha text)') | |
| def read_data(): |
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
| n = int(input()) | |
| n1 = int(input()) | |
| n2 = int(input()) | |
| n3 = n - (n1 + n2) | |
| if n1 > n2 and n1 > n3: | |
| print(n1) | |
| elif n2 > n1 and n2 > n3: | |
| print(n2) |
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
| def fatorial(n): | |
| fat = 1 | |
| for i in range(n): | |
| fat *= (n - i) | |
| return fat | |
| def decremento(n): | |
| newNumber = "" |