Skip to content

Instantly share code, notes, and snippets.

View Maxime66410's full-sized avatar
🖥️
Indie Game and Open Source Developer 🖥🎮

Maxime66410 Maxime66410

🖥️
Indie Game and Open Source Developer 🖥🎮
View GitHub Profile
@Maxime66410
Maxime66410 / README.md
Created January 21, 2024 21:51 — forked from joyrexus/README.md
curl tutorial

An introduction to curl using GitHub's API.

Basics

Makes a basic GET request to the specifed URI

curl https://api.github.com/users/caspyin

Includes HTTP-Header information in the output

@Maxime66410
Maxime66410 / C++
Created October 9, 2023 11:09
Get User and Note => Average => To JSON
#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;
@Maxime66410
Maxime66410 / Simple User Information Input C++
Created October 2, 2023 14:47
Simple User Information Input C++
#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.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 + "`"
@Maxime66410
Maxime66410 / MiseAJourEtRécupérationDesAdressesMACPourLesBalises.psd
Created June 3, 2022 08:59
MiseAJourEtRécupérationDesAdressesMACPourLesBalises.psd
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Maxime66410
Maxime66410 / ConditionParcourLGDF.psd
Created June 1, 2022 06:11
ConditionParcourLGDF.psd
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Maxime66410
Maxime66410 / ConditionParcourLGDFv2.psd
Created June 1, 2022 06:11
ConditionParcourLGDFv2.psd
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file has been truncated, but you can view the full file.
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,