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
# -*- encoding: latin-1 -* | |
# Importando a biblioteca de matematica | |
import math | |
# Importando a biblioteca de aleatoriedade | |
import random | |
# Inicialmente, não temos nenhum ponto 'dentro' do circulo | |
pontos_no_circulo = 0 |
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
package br.com.deveficiente.casadocodigo.compartilhado; | |
import java.util.List; | |
import javax.persistence.EntityManager; | |
import javax.persistence.PersistenceContext; | |
import javax.persistence.Query; | |
import javax.validation.ConstraintValidator; | |
import javax.validation.ConstraintValidatorContext; |
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
// SPDX-License-Identifier: GPL-3.0 | |
pragma solidity ^0.7.0; | |
contract Coin{ | |
address public minter; | |
mapping (address => uint) public balances; | |
event Transfer(address from, address to, uint amount); | |