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 <NewPing.h> | |
| // Define the motor control pins | |
| const int LEFT_MOTOR_FORWARD = 5; | |
| const int LEFT_MOTOR_BACKWARD = 4; | |
| const int RIGHT_MOTOR_FORWARD = 3; | |
| const int RIGHT_MOTOR_BACKWARD = 2; | |
| // Define the ultrasonic sensor pins |
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
| /* Widget to be entered in FreshDesk Custom Widget | |
| <div id="leadsquared_widget" title="LeadSquared Data"> | |
| <div class="content"></div> | |
| <div class="error"></div> | |
| </div> | |
| <script type="text/javascript"> | |
| //The js file is a direct copy of the content of this Gist |
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
| /* Originaly based on Reddit Scraper written by Amit Agarwal */ | |
| /* Alexa script modified by hubertchristophe.com */ | |
| /* January 15, 2016 */ | |
| /* Replace URL with the Expected URL */ | |
| var ALEXA = "rooang.com"; | |
| function run() { | |
| deleteTriggers_(); |
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
| # Generic startup file. | |
| user {user} {group}; | |
| #usually equal to number of CPUs you have. run command "grep processor /proc/cpuinfo | wc -l" to find it | |
| worker_processes 2; | |
| error_log /var/log/nginx/error.log; | |
| pid /var/run/nginx.pid; | |
| # Keeps the logs free of messages about not being able to bind(). |
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 | |
| namespace App\Console\Commands; | |
| use Illuminate\Console\Command; | |
| use Illuminate\Support\Facades\DB; | |
| use Symfony\Component\Console\Input\InputOption; | |
| use Symfony\Component\Console\Input\InputArgument; | |
| class DropTables extends Command | |
| { |
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
| function JNE_tracking (awb){ | |
| var payload = | |
| { | |
| "username" : "APIUSER", | |
| "api_key" : "d8dedbecf40d6c09f22704342907d804" | |
| }; | |
| var options = | |
| { | |
| "method" : "post", | |
| "payload" : payload |