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
document.addEventListener('DOMContentLoaded', function() { | |
const checkElement = setInterval(() => { | |
const commandDialog = document.querySelector(".quick-input-widget"); | |
if (commandDialog) { | |
// Apply the blur effect immediately if the command dialog is visible | |
if (commandDialog.style.display !== "none") { | |
runMyScript(); | |
} | |
// Create an DOM observer to 'listen' for changes in element's attribute. | |
const observer = new MutationObserver((mutations) => { |
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
.line-numbers { | |
position: relative !important; | |
width: 35px !important; | |
font-size: 16px !important; | |
font-family: 'Geist Mono' !important; | |
opacity: .3; | |
} | |
/* Code canvas top shadow */ |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
<!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 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
<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 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
# 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 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
# 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 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
<!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> |
NewerOlder