# Python 3 | |
#FOR TAKING USER PREDEFINED SCREENSHOTS | |
# SCREENSHOT | |
from PIL import ImageGrab | |
# GUI | |
import PySimpleGUI as sg | |
# FOLDER AND DIRECTORY | |
import os | |
# GENERIC NAMING |
<!-- begin snippet: js hide: false console: true babel: false --> | |
<!-- language: lang-js --> | |
$(function() { | |
var options = { | |
html: true, | |
title: "Optional: HELLO(Will overide the default-the inline title)", | |
//html element |
<div hidden > | |
<div data-name="popover-content"> | |
<div class="input-group"> | |
<input type="text" class="form-control form-control-sm" placeholder="Search" name="search"> | |
<div class="input-group-btn"> | |
<button class="btn btn-danger" type="submit"> | |
<i class="bi bi-search fa fa-search"></i> | |
</button> | |
</div> |
$(document).ready(function(){ | |
$("#loader").click(function(){ | |
$("#container").load("/jquery-load-shopping-basket/", | |
function(e){ | |
//Mix | |
$("empty-basket-search") | |
.prevObject[0] | |
.getElementById("empty-basket-search") |
$(document).ready(function(){ | |
$("#loader").click(function(){ | |
$("#container").load("/jquery-load-shopping-basket/", | |
function(e){ | |
$(this).find("#empty-basket-search") | |
.keypress(function(e){ | |
$("#single-label").text("You've clicked: ".concat(e.keyCode)) |
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta name='viewport' content='width=device-width, initial-scale=1'> | |
<meta name="author" content="Mgregchi, Michael Amadi, @Mgregchi"> | |
<meta name="email" content="[email protected]"> | |
<title>How to work with JQuery load() contents</title> | |
<link href='https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css' rel='stylesheet' onerror=""> | |
<script type='text/javascript' src='https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js'></script> |
[How to] Install mysql 5.7
Copy the key here to your clipboard
Save it in a file on your machine i.e. signature.key and then
sudo apt-key add signature.key
add the apt repo
Have you ever wondered what happens behind the scenes when you type "https://www.google.com" in your browser and hit Enter? It's like opening a magical door that leads you to the vast realm of the internet. Let's embark on an exciting journey filled with technical wonders and demystify the fascinating process step by step!
The first stop on our journey is the Domain Name System (DNS). When you enter "https://www.google.com," your browser sends a DNS request to find the corresponding IP address for the domain name. Think of it as asking a friendly wizard to translate the website's name into its secret location coordinates.
I struggled a whole day trying to solve the error below with no success.
Exception in thread django-main-thread:
Traceback (most recent call last):
File "C:\Users\USER-PC\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 1038, in _bootstrap_inner
self.run()
File "C:\Users\USER-PC\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 975, in run
self._target(*self._args, **self._kwargs)
File "C:\Users\USER-PC\Documents\ALX\vpnprobe\Lib\site-packages\django\utils\autoreload.py", line 64, in wrapper