Um resumo curto sobre o que o seu projeto faz
Um ou dois parágrafos sobre o seu projeto e o que ele faz.
OS X & Linux:
| import java.io.IOException; | |
| import java.io.PrintWriter; | |
| import java.net.URI; | |
| import java.net.http.HttpClient; | |
| import java.net.http.HttpRequest; | |
| import java.net.http.HttpResponse; | |
| import java.util.ArrayList; | |
| import java.util.Collections; | |
| import java.util.Comparator; | |
| import java.util.List; |
| import java.io.IOException; | |
| import java.io.PrintWriter; | |
| import java.math.BigInteger; | |
| import java.net.URI; | |
| import java.net.http.HttpClient; | |
| import java.net.http.HttpRequest; | |
| import java.net.http.HttpResponse; | |
| import java.security.MessageDigest; | |
| import java.security.NoSuchAlgorithmException; | |
| import java.util.ArrayList; |
| export function CheckColumns(expected, given) { | |
| const valid = expected.reduce( | |
| (state, curr) => { | |
| if (given.includes(curr)) { | |
| state.validWithMatch.push([curr, curr]) | |
| } else { | |
| state.validWithoutMatch.push(curr) | |
| } | |
| return state | |
| }, |
| def generate_cpf(self): | |
| cpf = [random.randint(0, 9) for x in range(9)] | |
| for _ in range(2): | |
| val = sum([(len(cpf) + 1 - i) * v for i, v in enumerate(cpf)]) % 11 | |
| cpf.append(11 - val if val > 1 else 0) | |
| return '%s%s%s.%s%s%s.%s%s%s-%s%s' % tuple(cpf) |