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> | |
| #include <stdlib.h> | |
| #define GB 1024 * 1024 * 1024 | |
| int main() { | |
| printf("hello world!\n"); | |
| printf("%d\n", GB); |
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
| let resultado = [3,5,9,40,42,47]; | |
| let validarNumerosMegaSena = (resultado, nodes) => { | |
| for(let c of nodes) { | |
| let n = Number.parseInt(c.textContent); | |
| if(resultado.indexOf(n) >= 0) { c.style.backgroundColor = 'yellow' } | |
| } | |
| } | |
| let nodes = document.querySelectorAll('#tabelaApostas tbody tr celula-prognostico span.margemVolante'); | |
| validarNumerosMegaSena(resultado, nodes); |
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
| buildStar(x, y, radius) { | |
| let pentagon = this.buildPolygonRegular(x, y, radius, 5); | |
| let p0 = lineIntersection(pentagon[0], pentagon[2], pentagon[1], pentagon[4]); | |
| let p1 = lineIntersection(pentagon[0], pentagon[2], pentagon[1], pentagon[3]); | |
| let p2 = lineIntersection(pentagon[2], pentagon[4], pentagon[3], pentagon[1]); | |
| let p3 = lineIntersection(pentagon[2], pentagon[4], pentagon[3], pentagon[0]); | |
| let p4 = lineIntersection(pentagon[0], pentagon[3], pentagon[1], pentagon[4]); | |
| let output = []; |
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
| return { | |
| filename: _filename, | |
| find: function(id) { | |
| js_database.forEach(function(entry) { | |
| if(id === entry.id) { | |
| return this.assetFromFile(entry.filename); | |
| } | |
| }); | |
| return null; | |
| }, |
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
| SELECT DISTINCT A.ID, A.title, A.file_path, B.Count | |
| FROM tracks A | |
| inner JOIN ( | |
| SELECT COUNT(*) as Count, B.title | |
| FROM tracks B | |
| GROUP BY B.title | |
| ) AS B ON A.title = B.title | |
| WHERE B.Count > 1 | |
| ORDER by A.title; |
NewerOlder