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
| def check(N): | |
| for i in range (1,N+1): | |
| if i%3 == 0: | |
| if i%5 == 0: | |
| print "Whazaa" | |
| else: | |
| print "Hip" | |
| elif i%5==0: | |
| print "Hop" | |
| else: |
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
| int latchPin = 10; | |
| int clockPin = 9; | |
| int dataSerial = 8; | |
| boolean currentValue[8] = {false, false, false, false, false, false, false, false}; | |
| int i; | |
| void setup() { | |
| // put your setup code here, to run once: | |
| pinMode(latchPin, OUTPUT); |
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
| $sql = "INSERT INTO user (userid,username,phoneno,address) VALUES ('$value1', '$value2',$value3', '$value4')"; | |
| $link->query($sql); | |
| $link->close(); |
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 <stdio.h> | |
| #include <string> | |
| int main() | |
| { | |
| int no=0,i,cnt=0,bcnt=0,alt=1; | |
| char hamm[20]; | |
| string data; | |
| hamm[0]=NULL; |
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<stdio.h> | |
| #include<conio.h> | |
| void addition(float a[][3],float b[][3],int n) | |
| { | |
| int i,j; | |
| float c[3][3]; | |
| printf("The value of addition of two matrix is:\n"); | |
| for(i=0;i<n;i++) |
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
| setInterval(function(){ | |
| $('.btn-diwali.btn-buy')[11].click(); | |
| console.log("Clicked") | |
| },1); |
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
| #!/bin/bash | |
| for sysdevpath in $(find /sys/bus/usb/devices/usb*/ -name dev); do | |
| ( | |
| syspath="${sysdevpath%/dev}" | |
| devname="$(udevadm info -q name -p $syspath)" | |
| [[ "$devname" == "bus/"* ]] && continue | |
| eval "$(udevadm info -q property --export -p $syspath)" | |
| [[ -z "$ID_SERIAL" ]] && continue | |
| echo "/dev/$devname - $ID_SERIAL" |
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
| #!/bin/bash | |
| start() { | |
| sudo usb_modeswitch -W -I -v 12d1 -p 1446 -M 55534243123456780000000000000011063000000100010000000000000000 | |
| sudo ifdown wlan0 | |
| sleep 10 | |
| while : ; do | |
| sudo wvdial | |
| sleep 900 | |
| done | |
| } |
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
| [ | |
| { | |
| "label": 1500883688, | |
| "value": 0 | |
| }, | |
| { | |
| "label": 1500883748, | |
| "value": 6 | |
| }, | |
| { |
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": 1, | |
| "name": "Customer A", | |
| "number": 1000, | |
| "countries": [ | |
| { | |
| "name": "India", | |
| "cities": [{ | |
| "id": 100, | |
| "name": "Goa", |
OlderNewer