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 <WiFi.h> | |
const int servoPin = 16; /* GPIO16 */ | |
const char* ssid = "ESP32-WiFi"; /* Add your router's SSID */ | |
const char* password = "12345678"; /*Add the password */ | |
int dutyCycle = 0; | |
//int position1 = 0; |
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
http://rpc.pingomatic.com/ | |
http://rpc.weblogs.com/RPC2 | |
http://rpc.blogbuzzmachine.com/RPC2 | |
http://rpc.aitellu.com | |
http://rpc.bloggerei.de/ping/ | |
http://rpc.reader.livedoor.com/ping | |
http://rpc.twingly.com/ | |
http://ping.feedburner.com | |
http://ping.bloggers.jp/rpc/ | |
http://ping.myblog.jp |
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
int LED13 = 13; | |
int LED12 = 12; | |
int LED11 = 11; | |
int LED10 = 10; | |
int LED9 = 9; | |
int LED8 = 8; | |
int LED7 = 7; | |
int LED6 = 6; | |
int LED5 = 5; | |
int LED4 = 4; |
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
<?php | |
$servername = "localhost"; | |
$username = "non-root"; | |
$password = "non-root-password"; | |
$conn = new mysqli($servername, $username, $password, $dbname); | |
if ($conn->connect_error){ | |
die("Connection failed: " . $conn->connect_error); | |
} | |
$sql = "INSERT INTO LED_status (id, status) |
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
<?php | |
$servername = "localhost"; | |
$username = "non-root"; | |
$password = "non-root-password"; | |
$dbname = "ESP32IoT"; | |
$conn = new mysqli($servername, $username, $password, $dbname); | |
if ($conn->connect_error) { | |
die("Connection failed: " . $conn->connect_error); | |
} |
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
<?php | |
$servername = "localhost"; | |
$username = "non-root"; | |
$password = "non-root-password"; | |
$conn = new mysqli($servername, $username, $password); | |
if ($conn->connect_error) { | |
die("Connection failed: " . $conn->connect_error); | |
} | |
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
# common settings | |
defaults | |
port 587 | |
auth on | |
tls on | |
tls_starttls on | |
tls_trust_file /etc/ssl/certs/ca-certificates.crt | |
logfile /var/log/msmtp/msmtp.log | |
# outlook smtp settings |
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
<?php | |
$to = "recipient@gmail.com"; | |
$from = "sender@hotmail.com"; | |
$subj = "sending email using php mail() function"; | |
$body = "This email is sent using php mail() function. This proves that your msmtp service is correctly configured with php."; | |
mail($to, $subj, $body); | |
?> |
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
.entry-author-name:after { | |
content: '\f058'; | |
font-family: FontAwesome; | |
font-size: 15px; | |
margin-left:5px; | |
margin-right:5px; | |
color:#0274be;} |
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
var binaryStr = "111111111111111111111111000011111111111111111111"; |
NewerOlder