This file contains 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
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🎯</text></svg>"> |
This file contains 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 time | |
import random | |
import string | |
#generate random number, that will declare how many letters | |
#will be added to the text.txt file. Each time we change the text.txt file | |
#we can made a commit and push it to the reote repo | |
#which will be considered as a github contribution | |
x = random.randrange(10) | |
random_letter = random.choices(string.ascii_letters,k=x) |
This file contains 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 <ESP8266HTTPClient.h> | |
#include <ESP8266WiFi.h> | |
const char* ssid = "YourSSID"; //your wifi SSID | |
const char* password = "YourWiFiPassword"; | |
byte tries = 10; | |
// Trying to connect to wireless AP |
This file contains 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
#Register ddnames account | |
import pprint | |
import requests | |
#change email and password to yours data | |
email = "[email protected]" | |
password = "yourpassword" | |
dictToSend = {'email':email,'password': password} | |
res = requests.post('https://ddnames.com:8000/register', json=dictToSend) | |
print ('response from server:',res.status_code,":", res.text) | |
print("res,json",res.json()) |