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
import requests | |
''' | |
pip install requests | |
orgId can be retrieved in any url of the api manager, within the URL after the /organizations/ | |
token can be retrieved if you run the developper console (F12 on Chrome), in network tab, and then go in RuntimeManager then Load Balancers, this could be found in Authorization header, take the part after Bearer | |
''' | |
orgId = "insert yours" | |
token = "insert yours" |
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 <Arduino.h> | |
#include <SPI.h> | |
#include <ArduinoLowPower.h> | |
#include <Ethernet.h> | |
#include <SigFox.h> | |
byte mac[] = {0x9F, 0xAF, 0xDF, 0x0F, 0xAF, 0x7F}; |
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
# -*- coding: utf-8 -*- | |
import time | |
import sys | |
import requests | |
import json | |
import re | |
from decouple import config | |
import urllib.parse | |
import pyperclip |
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
# -*- coding: utf-8 -*- | |
# pip install pdf2image | |
from pdf2image import convert_from_path | |
import sys | |
if len(sys.argv) < 2: | |
print("Donner un fichier a convertir en argument") | |
sys.exit() | |
fichier = sys.argv[1][:-4] |