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> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
| <title></title> | |
| <meta name="description" content=""> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <link rel="stylesheet" href=""> |
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
| <div class="contagem"> | |
| Faltam apenas | |
| <mark><span class="numero" id="days"></span> DIAS, <span id="hours"></span> HORAS, | |
| <span class="numero" id="minutes"></span> MINUTOS</mark> E <mark><span class="numero" id="seconds"></span> SEGUNDOS</mark> | |
| </div> | |
| <script> | |
| var countDownDate = new Date("Aug 02, 2021 20:00:00").getTime(); | |
| var countdown = setInterval(function() { |
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
| <div class="contagem"> | |
| Faltam apenas | |
| <mark><span class="numero" id="dia"></span> DIAS, <span id="hora"></span> HORAS, | |
| <span class="numero" id="minuto"></span> MINUTOS</mark> E <mark><span class="numero" id="segundo"></span> SEGUNDOS</mark> | |
| </div> | |
| <script> | |
| var target_date = new Date("aug 02, 2021 20:00:00").getTime(); | |
| var dias, horas, minutos, segundos; | |
| var regressiva = document.getElementById("regressiva"); |
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> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title></title> | |
| <link href="" rel="stylesheet" type="text/css" /> | |
| </head> | |
| <style> | |
| select { |
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></title> | |
| <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> | |
| <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.0/js/bootstrap.min.js"></script> | |
| <link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css"> | |
| <style> |
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
| var pass = $("#id_pass") | |
| pass.on('keyup', function() { | |
| var pass = $("#id_pass").val() | |
| var confirm_pass = $("#id_confirm_pass").val() | |
| if ((pass !== "") || (pass !== confirm_pass)) { | |
| $("#id_submit").attr('disabled', true) | |
| $("#is_terms_accepted").prop("checked",false) | |
| $("#id_confirm_pass").val('') |
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 option1(): | |
| print("Você selecionou a opção 01!") | |
| def option2(): | |
| print("Você selecionou a opção 02!") | |
| def option3(): | |
| print("Você selecionou a opção 03!") |
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 datetime | |
| d1 = datetime.datetime.strptime("2020-05-18T12:00:00Z", "%Y-%m-%dT%H:%M:%SZ") | |
| d2 = datetime.datetime.strptime( | |
| "2020-05-18T12:00:00.000Z", "%Y-%m-%dT%H:%M:%S.%fZ") | |
| new_format = "%Y-%m-%d" | |
| print(d1.strftime(new_format)) |
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 soma(x, y): | |
| result = x + y | |
| return result | |
| print(soma(10, 20)) |
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
| //Valor que vou informar é: '1010'. | |
| const args = process.argv; | |
| const saldo = args[args.length - 1]; | |
| //console.log(saldo); | |
| //console.log('args', args); | |
| if (isNaN(saldo)) { | |
| console.log('Não é um número válido!!'); | |
| return; |