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
| /Coded by Yash Desai | |
| //Coded on 30/08/16 | |
| String voice; | |
| int Tubelight = 2; | |
| int Fan = 3; | |
| int Ledstrip = 4; | |
| int Led = 5; | |
| int Ledlight = 6; | |
| int Tube = 7; | |
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
| { | |
| "id": "ec078e30-f2e6-4f0d-9fc8-4f2a2ce89851", | |
| "timestamp": "2017-09-15T09:27:59.441Z", | |
| "lang": "en", | |
| "result": { | |
| "source": "agent", | |
| "resolvedQuery": "turn the light on", | |
| "action": "smarthome.lights.switch.on", | |
| "actionIncomplete": false, | |
| "parameters": { |
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
| /* | |
| open browser and hit | |
| 192.168.1.167/?1 to ON | |
| 192.168.1.167/?0 to OFF | |
| */ | |
| #include <ESP8266WiFi.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
| import time #Importing the time library to check the time of code execution | |
| import sys #Importing the System Library | |
| import os | |
| import requests | |
| #import urllib2 | |
| import discord | |
| client = discord.Client() | |
| @client.event |
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
| <LinearLayout | |
| android:id="@+id/linearLayout" | |
| android:layout_width="match_parent" | |
| android:layout_height="wrap_content" | |
| android:layout_alignParentBottom="true" | |
| android:layout_alignParentLeft="true" | |
| android:layout_alignParentStart="true" | |
| android:orientation="horizontal"> | |
| <ImageButton |
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
| <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
| xmlns:tools="http://schemas.android.com/tools" | |
| android:layout_width="match_parent" | |
| android:layout_height="wrap_content" | |
| android:layout_marginLeft="@dimen/activity_horizontal_margin" | |
| android:layout_marginStart="@dimen/activity_horizontal_margin" | |
| android:orientation="vertical"> | |
| <ImageView | |
| android:id="@+id/photoImageView" |
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 <ESP8266WiFi.h> | |
| const char* ssid = "HT"; | |
| const char* password = "123456789"; | |
| int tb = 13; // GPIO13 | |
| int fan = 12; // GPIO12 | |
| int led = 14; // GPIO14 | |
| int tube = 5; //GPIO5 | |
| int ll = 4; //GPIO4 |
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
| //This code is for Prosthetic Hand by Arduino using Muscle Sensor as Input and Servo Motor as Output | |
| //Written by Yash on 10/04/2018 | |
| //Contact me at [email protected] | |
| #include <Servo.h> | |
| //Setting the Value for the Servo Output | |
| int servo1 = x; | |
| //Setting the Value for the Muscle Sensor Input |
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
| <!--Tracking number input box.--> | |
| <input type="text" id="YQNum" maxlength="50"/> | |
| <!--The button is used to call script method.--> | |
| <input type="button" value="TRACK" onclick="doTrack()"/> | |
| <!--Container to display the tracking result.--> | |
| <div id="YQContainer"></div> |
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
| <!--Script code can be put in the bottom of the page, wait until the page is loaded then execute.--> | |
| <script type="text/javascript" src="//www.17track.net/externalcall.js"></script> | |
| <script type="text/javascript"> | |
| function doTrack() { | |
| var num = document.getElementById("YQNum").value; | |
| if(num===""){ | |
| alert("Enter your number."); | |
| return; | |
| } |
OlderNewer