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
| using System; | |
| public class Classe | |
| { | |
| public int x; | |
| public Classe(int _x) | |
| { | |
| this.x = _x; | |
| } | |
| public Classe(Classe _x) |
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
| <?php | |
| $token = "your token"; | |
| $totalvoice_endpoint = "https://api.totalvoice.com.br"; | |
| $numero_destino = $_POST['numero_destino']; | |
| $mensagem = $_POST['mensagem']; | |
| $wait = false; | |
| $multi = true; | |
| $request = new HttpRequest($totalvoice_endpoint, HttpRequest::METH_POST); |
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 xPositions = []; | |
| var yPositions = []; | |
| var gera_arrays = function (quantidade_de_gotas) | |
| { | |
| for(var i = 0; i < quantidade_de_gotas; i++) | |
| { | |
| xPositions.push((Math.random()*400)+1); | |
| yPositions.push((Math.random()*400)+1); | |
| } |
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
| // original code - made by Adam Bene | |
| const merge = (a, b) => a.reduce( | |
| (acc,curr, i) => [...acc,curr,b[i]] | |
| , [] | |
| ); | |
| console.log("merge : "+merge([1,2],[3,4])) | |
| //[1,3,2,4] | |
| //But then Adrian Lemes worried about the index |
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
| #Based on the code of Rick Pine | |
| #Original Code : https://gist.github.com/RWhiteDev/75524a79ad5448c0f7597c8cda340019 | |
| import requests | |
| from bs4 import BeautifulSoup | |
| for i in range(1,6): | |
| print("page {} : ".format(i)) | |
| url = "https://www.amazon.com/Best-Sellers-Kindle-Store-Dystopian-Science-Fiction/zgbs/digital-text/6361470011/ref=zg_bs_pg_{}?_encoding=UTF8&pg={}&ajax=1".format(i,i) | |
| r = requests.get(url) |
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
| cgal_create_CMakeLists -s executable | |
| cmake -DCGAL_DIR=$HOME/CGAL-4.11.1 . | |
| make |
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> | |
| <!-- Latest compiled and minified CSS --> | |
| <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"> | |
| <!-- jQuery library --> | |
| <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> | |
| <!-- Latest compiled JavaScript --> |
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 <iostream> | |
| using namespace std; | |
| int calculo(int valorAtual, int proximoValor) | |
| { | |
| cout << valorAtual / proximoValor << " notas de "<< proximoValor << ",00" << endl; | |
| return valorAtual % proximoValor; | |
| } |
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
| //from https://www.youtube.com/watch?v=C-jp-_Dlz6E | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <X11/Xlib.h> | |
| #include <X11/Xutil.h> | |
| #include <X11/Xos.h> | |
| #include <X11/Xatom.h> | |
| /* GLX headers */ |
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
| /* | |
| * Descrição: | |
| * Este programa é um utilitario de inserção e recuperação de registros | |
| * de alunos. | |
| * | |
| * Autor: | |
| * Henrique Almeida Marcomini - 619957 | |
| * | |
| * Especificações: | |
| * https://drive.ufscar.br/d/2947e699b2/files/?p=/trabalhos/t1/trabalho_1_mobile.pdf |
OlderNewer