An introduction to curl
using GitHub's API.
Makes a basic GET request to the specifed URI
curl https://api.github.com/users/caspyin
Includes HTTP-Header information in the output
An introduction to curl
using GitHub's API.
Makes a basic GET request to the specifed URI
curl https://api.github.com/users/caspyin
Includes HTTP-Header information in the output
#include <fstream> | |
#include <iostream> | |
#include <windows.data.json.h> | |
#include "single_include/nlohmann/json.hpp" | |
using namespace std; | |
void save_to_json(string* userInfo, float* nbrEnter) | |
{ | |
cout << "Enregistrement des informations en cours..." << endl; |
#include <iostream> | |
#include <windows.data.json.h> | |
using namespace std; | |
int main(int argc, char* argv[]) | |
{ | |
// Global design of console | |
system("color 0a"); | |
SetConsoleOutputCP(CP_UTF8); |
<div id="canvas"></div> | |
<div class="controls"> | |
<a id="auth"> | |
<svg xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300.00006 244.18703" height="30" width="30" version="1.1" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/"> | |
<g style="" transform="translate(-539.18 -568.86)"> | |
<path d="m633.9 812.04c112.46 0 173.96-93.168 173.96-173.96 0-2.6463-0.0539-5.2806-0.1726-7.903 11.938-8.6302 22.314-19.4 30.498-31.66-10.955 4.8694-22.744 8.1474-35.111 9.6255 12.623-7.5693 22.314-19.543 26.886-33.817-11.813 7.0031-24.895 12.093-38.824 14.841-11.157-11.884-27.041-19.317-44.629-19.317-33.764 0-61.144 27.381-61.144 61.132 0 4.7978 0.5364 9.4646 1.5854 13.941-50.815-2.5569-95.874-26.886-126.03-63.88-5.2508 9.0354-8.2785 19.531-8.2785 30.73 0 21.212 10.794 39.938 27.208 50.893-10.031-0.30992-19.454-3.0635-27.69-7.6468-0.009 0.25652-0.009 0.50661-0.009 0.78077 0 29.61 21.075 54.332 49.051 59.934-5.1376 1.4006-10.543 2.1516-16. |
var fieldTarget = 'By Maxime66410'; | |
var discordWebhookUrl = ''; // change this! | |
/** use discord webhooks to send the message */ | |
function discordWebhook(txt) { | |
Logger.log('posting...'); | |
var payload = { | |
//"avatar_url": "https://cdn.discordapp.com/emojis/732123527225933849.png", // remove this if u want to put your own avatar | |
"content": "`" + txt + "`" |
0x4F, 0x67, 0x67, 0x53, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7F, 0x60, | |
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x07, 0xB1, 0x0D, 0x1D, 0x01, 0x1E, 0x01, 0x76, 0x6F, 0x72, | |
0x62, 0x69, 0x73, 0x00, 0x00, 0x00, 0x00, 0x02, 0x80, 0xBB, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, | |
0x00, 0xF4, 0x01, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xB8, 0x01, 0x4F, 0x67, 0x67, 0x53, 0x00, 0x00, | |
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7F, 0x60, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, | |
0x22, 0xD3, 0x61, 0x0F, 0x11, 0x4A, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, | |
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x03, 0x76, 0x6F, 0x72, 0x62, 0x69, 0x73, 0x1D, 0x00, 0x00, | |
0x00, 0x58, 0x69, 0x70, 0x68, 0x2E, 0x4F, 0x72, 0x67, 0x20, 0x6C, 0x69, 0x62, 0x56, 0x6F, 0x72, | |
0x62, 0x69, 0x73, 0x20, 0x49, 0x20, 0x32, 0x30, 0x30, 0x32, 0x30, 0x37, 0x31, 0x37, 0x01, 0x00, | |
0x00, 0x00, 0x19, 0x00, 0x00, 0x00, 0x53, 0x6F, 0x6E, 0x79, 0x20, 0x4F, 0x67, 0x67, 0x20, 0x56, |