Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no"> | |
<title>Blog Post - Brand</title> | |
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous"> | |
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Inter&display=swap"> | |
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Raleway&display=swap"> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> |
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
<div class="container" id="animation"> | |
<h1 id="headline">ZENZZEN Under Maintenance</h1> | |
<div id="countdown"> | |
<ul> | |
<li><span id="days"></span>days</li> | |
<li><span id="hours"></span>Hours</li> | |
<li><span id="minutes"></span>Minutes</li> | |
<li><span id="seconds"></span>Seconds</li> | |
</ul> | |
</div> |
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
# First you need to install opencv | |
# $ pip install opencv-python | |
import cv2 | |
cap = cv2.VideoCapture(0) # Here 0 says that capture the video from default web cam. Basically it's called id. | |
while True: | |
ret , frame = cap.read() #Here ret is a boolean value | |
# gray_scale = cv2.cvtColor(frame,cv2.COLOR_BGR2GRAY) | |
# Try the command above the line to convert video into grayscale |
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
# First install libraries of Python | |
# ---Libraries--- : numpy , matplotlib , pandas , pandas_datareader , tensorflow , scikit-learn | |
# Import files in our Code | |
import numpy as np | |
import matplotlib.pyplot as plt | |
import pandas as pd | |
from pandas.core.algorithms import mode | |
import pandas_datareader as web | |
import datetime as dt |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Know Your Geolocation</title> | |
</head> | |
<body> | |
<h1>Geolocation</h1> |
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
Let's see Logic behind the code🤘 | |
We have declared four variables .. | |
curr = Current element | |
first = Will be largest number | |
second = Will be second max number | |
i = So that we can break the while loop | |
while(i==1) | |
-> It checks whether i is 1 or not. |
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
In First case what happens main function gets the input from user and pass it as Parameter to function called factorial | |
Let's assume n = 4 | |
int factorial(int n) | |
{ | |
cout<<n<<endl; // Here we display n | |
if(n==0){ // if n becomes 0 we return 1 | |
return 1; | |
} |
NewerOlder