I crawled down the national tourism data in Python and found that this place is the real tourist attraction.
Preface:
Python for me is also a process of gradually learning and mastering. The content of this tour starts from the beginning. Before entering the text, I attach the most coveted seafood feast on (du).
Data crawling:
In recent days, the circle of friends has been swiped by everyone's travel footprints, marveling at those friends who hav ...
Added by BIGjuevos on Fri, 25 Oct 2019 22:08:28 +0300
Precision of js operation
We all know that using js to do arithmetic will definitely encounter the problem of accurate calculation (or rounding error), but how to avoid these pits, here is my plan from the Internet, welcome to discuss.
Reasons for Accuracy Loss
The binary implementation of a computer and the number limitation of digits can not be expressed in finite nu ...
Added by allaboutthekick on Mon, 26 Aug 2019 08:46:52 +0300
Javascript of HTML-BOM Browser Object Model
Browser Object Model (BOM): There is no formal standard yet.
I. Windows window Operation
All browsers support Windows objects. It represents the browser window.
All JavaScript global objects, functions, and variables automatically become members of ...
Added by harrylt on Fri, 23 Aug 2019 15:15:19 +0300
Solve the problem that jquery.qrcode.min.js produces two-dimensional codes in IE6-IE8 and does not print them
jquery.qrcode.min.js compatible with IE6
Usage
<!-- QR code -->
<div id = "qrcode"></div>
// Render 2D Code
$(function() {
var url = window.location.href;
$("#qrcode").qrcode({
render: "table", // Rendering methods are table and canvas
width: 150, //Default width
height: 150, //Default height ...
Added by Nirvana on Fri, 23 Aug 2019 05:36:36 +0300
Using PowerShell to Realize Unattended Installation of Server Common Software
Operating system: Windows Server 2016, Windows Server 2019
Software environment:
type
Name
Edition
system function
TelnetClien
IIS
Enable Asp.net 4.7
Hyper-V
Enabling Management
Common Software
Winrar
5.0
FireFox
67 CHS
SqlServer
2016
Enabling TCP 1436
Microsoft SQL Server Management Studio
14 ...
Added by xpherism on Fri, 09 Aug 2019 14:10:52 +0300
Deploying Wordpress Server with DOCKER
Deployment steps
1. Installing docker
yum install -y docker
systemctl enable docker
systemctl start docker
2. Look at the docker image. There is nothing in the container at this time.
docker images
3. Download docker image
docker pull mariadb
docker pull wordpress
docker pull phpmyadmin/phpmyadmin
...
Added by betman_kizo on Thu, 01 Aug 2019 12:28:41 +0300
Basic part of js-BOM
js--BOM
@ (js basic part)The meaning of BOM: BOM (Browser Object Document) is browser object model.
- BOM provides content-independent objects that interact with browser windows.
Because BOM is mainly used to manage the communication between windows, its core object is window.
- BOM consists of a series of related objects, and each object provi ...
Added by tlenker09 on Mon, 15 Jul 2019 22:01:19 +0300
The scripting operation of jacascript CSS style
Foreword: This is the author's own understanding and arrangement after learning. If there are any mistakes or doubts, please correct them and I will keep updating them.
There are three ways to introduce CSS: interline style, internal style and external style.
In practice, when we use javascript to manipulate CSS styles:
When we change a few st ...
Added by timclaason on Mon, 08 Jul 2019 01:04:39 +0300
insertAfter() - - Insert a node behind a node
DOM provides insertBefore() method, which can insert nodes in front of a node, but sometimes it needs to insert nodes behind a node. This is insertAfter() method. (From: JavaScript DOM programming art)
Function name: insertAfter()
Parameter: newElement: The node to be added, targetElement: Target node
1 function insertAfter(newElement,targetEl ...
Added by SurgeProto on Sat, 06 Jul 2019 00:10:16 +0300
Using animation of css3 to realize point-to-point loading animation effect (2)
The Docking Effect of box-shadow Implementation
brief introduction
box-shadow can theoretically generate arbitrary graphical effects, of course, it can also achieve point-to-point loading effect.
Realization Principle
First of all, you need to write the following html code and the class class class name:
In order submission <span class=" ...
Added by shock on Thu, 04 Jul 2019 01:30:04 +0300