This file contains hidden or 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 | |
| $token = ''; | |
| if(isset($_REQUEST['hub_challenge'])){ | |
| $challenge = $_REQUEST['hub_challenge']; | |
| $token = $_REQUEST['hub_verify_token']; | |
| } | |
| if($token === "ar"){ | |
| echo $challenge; | |
| } |
This file contains hidden or 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 | |
| $token = ''; | |
| if(isset($_REQUEST['hub_challenge'])){ | |
| $challenge = $_REQUEST['hub_challenge']; | |
| $token = $_REQUEST['hub_verify_token']; | |
| } | |
| if($token === "ar"){ | |
| echo $challenge; | |
| } |
This file contains hidden or 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 <SoftwareSerial.h> | |
| const byte rxPin = 2; | |
| const byte txPin = 3; | |
| SoftwareSerial SIM900(rxPin, txPin); | |
| char msg; | |
| float voltageB = 0; | |
| float amp = 0; |
This file contains hidden or 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 <SoftwareSerial.h> | |
| const byte rxPin = 2; | |
| const byte txPin = 3; | |
| SoftwareSerial SIM900(rxPin, txPin); | |
| char msg; | |
| void setup() { | |
| // put your setup code here, to run once: | |
| Serial.begin(9600); |
This file contains hidden or 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
| CREATE PROCEDURE `post`(IN `p_id` VARCHAR(50), | |
| IN `name` VARCHAR(50), | |
| IN `kha_name` VARCHAR(50), | |
| IN `kha_type` VARCHAR(50), | |
| IN `kha_details` VARCHAR(50), | |
| IN `kha_price` VARCHAR(50), | |
| IN `kha_qnty` VARCHAR(50), | |
| IN `kha_img1` VARCHAR(50), | |
| IN `kha_img2` VARCHAR(50), | |
| IN `kha_img3` VARCHAR(50), |
This file contains hidden or 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
| /* | |
| BoxAndTaka Processing | |
| created 18 Dec 2009 | |
| For HVL (Unilever Bangladesh Project) | |
| by Arnob Almazee | |
| ProjectCity TecTeam | |
| */ | |
| #include <SPI.h> | |
| #include <Ethernet.h> |
This file contains hidden or 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
| // written by stupid@arnob | |
| #include <SoftwareSerial.h> | |
| #include <TinyGPS.h> | |
| SoftwareSerial SIM900(2, 3); // RX, TX | |
| TinyGPS gps; | |
| SoftwareSerial ss(6, 7);// RX, TX | |
This file contains hidden or 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 | |
| date_default_timezone_set("Asia/Dhaka"); | |
| header_remove('Access-Control-Allow-Origin'); | |
| header('Access-Control-Allow-Origin: *'); | |
| $servername = ""; | |
| $username = "";; | |
| $password = ""; | |
| $dbname = ""; |
This file contains hidden or 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 "HX711.h" | |
| #include <LiquidCrystal.h> | |
| // initialize the library by associating any needed LCD interface pin | |
| // with the arduino pin number it is connected to | |
| const int rs = 32, en = 30, d4 = 28, d5 = 26, d6 = 24, d7 = 22; | |
| LiquidCrystal lcd(rs, en, d4, d5, d6, d7); | |
| // Weight |
This file contains hidden or 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 | |
| $target_dir = "uploads/"; | |
| $filename = $_POST["filename"]; | |
| $target_file = $target_dir . $filename; |