Skip to content

Instantly share code, notes, and snippets.

View Dushyantsingh-ds's full-sized avatar
🦁
Being alive

Dushyant Singh Dushyantsingh-ds

🦁
Being alive
View GitHub Profile
```
import json
import boto3
from boto3.dynamodb.conditions import Key
client = boto3.client('iot-data', region_name='ap-south-1')
dynamodb_client = boto3.client('dynamodb')
dynamodb = boto3.resource('dynamodb')
table = dynamodb.Table("Research_esp32_dbtable")
@Dushyantsingh-ds
Dushyantsingh-ds / Public_Time_Servers.md
Created May 24, 2022 16:59 — forked from mutin-sa/Top_Public_Time_Servers.md
List of Top Public Time Servers

Google Public NTP [AS15169]:

time.google.com

time1.google.com

time2.google.com

time3.google.com

#include <ESP8266WiFi.h>
#include <WiFiClientSecure.h>
#include <PubSubClient.h>
#include <ArduinoJson.h>
#include <time.h>
#include "secrets.h"
#define AWS_IOT_PUBLISH_TOPIC "ESP8266/pub"
#define AWS_IOT_SUBSCRIBE_TOPIC "ESP8266/sub"
<?PHP
$top = "<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd"><html>";
$bottom = "<body></body></html>";
$blank = ' ';
$sep = "\r\n";
$subject = $_POST['subject'];
$name = $_POST['name'];
$email = $_POST['email'];
$phone = $_POST['phone'];
$message = $_POST['message'];