This file contains 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<stdlib.h> | |
int main(){ | |
FILE *fptr1, *fptr2; | |
char c; | |
fptr1=fopen("First.txt","w"); | |
fptr2=fopen("Copy.txt","w"); | |
if(fptr1==NULL && fptr2==NULL){ | |
printf("THE FILES ARE NOT SAVED:-"); |
This file contains 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 Header file | |
#include <LiquidCrystal.h> | |
LiquidCrystal lcd(12, 11, 5, 4, 3, 2); //Declearing lcd pins | |
int pinLED = 9; //Declearing LED pin for Android input | |
int PIN_OUT = 13; //Define the LED Pin for MorseCode | |
#define UNIT_LENGTH 250 //Define unit length in ms |
This file contains 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
/* | |
******************************** | |
* Magical Pattern printing * | |
* By - Arkadip * | |
* Time - 12/23/2018 8:41PM * | |
* ****************************** | |
**/ | |
#include<stdio.h> |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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 Torch.nn | |
from torch import nn | |
#Declaring Class | |
class Network(nn.Module): | |
def __init__(): | |
super(type(self), self).init() | |
self.hidden = nn.Linear(784, 256) | |
self.output = nn.Linear(256, 10) | |
self.sigmoid = nn.Sigmoid() |
This file contains 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 numpy as np | |
import cv2 | |
import os | |
os.environ["OPENCV_FFMPEG_CAPTURE_OPTIONS"] = "rtsp_transport;0" | |
cap = cv2.VideoCapture('rtsp://192.168.0.102:5554/camera') | |
while(True): | |
# Capture frame-by-frame | |
ret, frame = cap.read() |
This file contains 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
# Problem 1 | |
# EXUNA | |
# Weird Modulo Problem | |
no=int(input()) | |
for _ in range(no): | |
input() | |
l=list(map(int,input().split())) | |
l.sort() | |
print(l[0]) |
This file contains 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
dependencies { | |
implementation "androidx.camera:camera-core:1.0.0-beta08" | |
implementation "androidx.camera:camera-camera2:1.0.0-beta08" | |
implementation "androidx.camera:camera-lifecycle:1.0.0-beta08" | |
implementation "androidx.camera:camera-view:1.0.0-alpha15" | |
implementation "androidx.camera:camera-extensions:1.0.0-alpha15" | |
} |
This file contains 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
# Take Multiple integer Input in single line | |
# and Store the inputs in a list(Python Array). | |
numbers = list(map(int, input("Enter space separated inputs").split())) | |
#print inputs | |
print(numbers) |
This file contains 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
#!/usr/bin/env node | |
'use strict' | |
console.log("Hello world") |
OlderNewer