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
[ | |
{ "id": 1, "team1": { "name": "Qatar", "flag": "https://upload.wikimedia.org/wikipedia/commons/6/65/Flag_of_Qatar.svg" }, "team2": { "name": "Ecuador", "flag": "https://upload.wikimedia.org/wikipedia/commons/e/e8/Flag_of_Ecuador.svg" }, "group": "A", "location": "Al Bayt Stadium", "datetime": "2022-11-20 19:00" }, | |
{ "id": 2, "team1": { "name": "Senegal", "flag": "https://upload.wikimedia.org/wikipedia/commons/f/fd/Flag_of_Senegal.svg" }, "team2": { "name": "Netherlands", "flag": "https://upload.wikimedia.org/wikipedia/commons/2/20/Flag_of_the_Netherlands.svg" }, "group": "A", "location": "Al Thumama Stadium", "datetime": "2022-11-21 19:00" }, | |
{ "id": 3, "team1": { "name": "England", "flag": "https://upload.wikimedia.org/wikipedia/en/b/be/Flag_of_England.svg" }, "team2": { "name": "Iran", "flag": "https://upload.wikimedia.org/wikipedia/commons/c/ca/Flag_of_Iran.svg" }, "group": "B", "location": "Khalifa International Stadium", "datetime": "2022-11-21 16:00" }, | |
{ "id": 4, "team1": { "name": "United St |
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
{ | |
"banks": [ | |
{ | |
"code": 1, | |
"bank": "Banco Do Brasil S.A (BB)" | |
}, | |
{ | |
"code": 237, | |
"bank": "Bradesco S.A." | |
}, |
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
javascript:a=document.querySelectorAll('div.r > a');document.body.innerHTML='';a.forEach(e=>document.body.innerHTML+=e.getAttribute('href')+'<br>'); |
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
[ | |
{ | |
"company": "FROSNEX", | |
"email": "[email protected]" | |
}, | |
{ | |
"company": "SOPRANO", | |
"email": "[email protected]" | |
}, | |
{ |
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
;(function() { | |
const phones = document.querySelectorAll('[type=tel]'); | |
[].forEach.call(phones, function(phone) { | |
phone.addEventListener('keyup', function(k){ | |
this.setAttribute('maxlength', 15); | |
let a = this.value; | |
a = a.replace(/\D/g, ""); | |
a = a.replace(/^(\d{2})(\d)/g, "($1) $2"); | |
if (a.length > 12) a = a.replace(/(\d)(\d{4})$/, "$1-$2"); | |
this.value = a; |
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
# My personal LEMP Script for Ubuntu 16.04 | |
#Update packages | |
apt-get update | |
#Install web server | |
apt-get install nginx | |
#Firewall | |
ufw allow ssh |
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
<template> | |
<button @click="download"><slot></slot></button> | |
</template> | |
<script> | |
export default { | |
props: ['data', 'filename', 'separator'], | |
computed: { | |
sep() { | |
return this.separator || ',' |
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
#include <stdio.h> | |
#define count 5 //Define a constante com o tamanho do vetor | |
void main(void) { | |
//Define as variaveis | |
int valores[count], i, aux, prox; | |
//Loop para alimentar o vetor | |
for (i=0;i<count;i++) { |