This file contains 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
namespace GameBackend.Models; | |
public class User | |
{ | |
public int UserId { get; set; } | |
public string Name { get; set; } | |
public string Email { get; set; } | |
public string Password { get; set; } | |
} |
This file contains 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
#!/usr/bin/env python2 | |
# -*- coding: utf-8 -*- | |
""" | |
Árvore AVL em Python | |
Copyright (c) 2009 Vindemiatrix Almuredin. | |
É dada permissão para copiar, distribuir e/ou modificar este documento | |
sob os termos da Licença de Documentação FAIL, | |
Versão 97.545.668.112.666.002 Build 69 Release 42; | |
Uma cópia da licença talvez esteja inclusa na seção entitulada |
This file contains 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
// Programação Orientada a Objeto | |
// DDD - Domain-Driven Design (Eric Evans) | |
// Value Object | |
class Endereco { | |
String logradouro; | |
String numero; | |
String cidade; | |
String estado; | |
This file contains 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
class Endereco { | |
String cidade; | |
String estado; | |
Endereco({this.cidade, this.estado}); | |
} | |
class Pessoa { | |
// atributos: |
This file contains 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
create database Biblioteca | |
go | |
use Biblioteca | |
go | |
create table Usuario | |
( | |
IdUsuario int primary key identity, | |
Nome varchar(100) not null, |
This file contains 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 'dart:io'; | |
import 'package:flutter/material.dart'; | |
import 'package:image_picker/image_picker.dart'; | |
import 'package:firebase_ml_vision/firebase_ml_vision.dart'; | |
import 'package:translator/translator.dart'; | |
void main() => runApp(MyApp()); | |
class MyApp extends StatelessWidget { | |