BOM and DOM operations for JavaScript front-end development
[Directory]
I. BOM Operation
1. window Object
2. window child object
3. Hisry Object
4. location object (master)
5. Pop-up box
6. Timer-related
2. DOM Manipulation
1. DOM-related concepts
2. Find labels
3. Node Operation
4. Get Value Operation
5. class, css operations
(Here's what you do with a browser in a mac notebook (check the con ...
Posted by timcapulet on Mon, 18 May 2020 18:20:38 +0200
Learning VTK on a Mac
Compilation on MAC OS X:
https://www.vtk.org/Wiki/VTK/Building/MacOSX
Compile vtk to make QT version 5
cmake configure:
cmake ./ -G "Unix Makefiles" \
-DVTK_USE_QVTK:BOOL=ON \
-DCMAKE_INSTALL_PREFIX=/usr/local \
-DVTK_USE_GUISUPPORT:BOOL=ON \
-DVTK_QT_VERSION=5 \
-DModule_vtkGUISupportQt:BOOL=ON \
-DModule_vtkGUISu ...
Posted by stuartc1 on Fri, 03 Jan 2020 11:27:07 +0100
CF1120D Power Tree
A very interesting question.
You can number each leaf first. Just follow the order in which DFS arrives. (assume $1 to $k $)
Then the number of all leaves under its jurisdiction is calculated for each point. Because it's a DFS sequence, it must be an interval. Set the interval of $u $[l_, r_] $.
Interval plus operation, considering the diffe ...
Posted by Akinraze on Mon, 04 Nov 2019 21:51:34 +0100
python practice project 8: generate random test paper file
Description: matches the capitals of 50 states in the United States.
Here are the tasks the program needs to complete:
Create 35 different test papers.
Create 50 multiple choice questions for each test paper in random order.
Provide each question with a correct answer and 3 random wrong answers in random order.
• write test papers int ...
Posted by davidtube on Fri, 01 Nov 2019 23:03:16 +0100
Reptiles, zol Wallpapers
Crawling zol wallpaper with java
First find the wallpaper page
Get ur: http://desk.zol.com.cn/showpic/1920x1080_4000_10.html
Then check the source code to find the information of the picture
<img src="https://desk-fd.zol-img.com.cn/t_s1920x1080c5/g5/M00/01/0E/ChMkJ1bKwfWIK7FbAAiTgt3qkBkAALGggICr ...
Posted by gtcol on Wed, 30 Oct 2019 21:24:55 +0100
web crawler explanation - urllib repository crawler - state - exception handling - browser masquerading technology, user agent settings
If the crawler does not have exception handling, the program will crash and stop working if an error occurs during the crawl, and exception handling will continue even if an error occurs
1. Common status codes
301: Redirect to a new URL, permanent302: Redirect to temporary URL, not permanent304: Requested resource not updated400: Illegal reque ...
Posted by Quinton1337 on Wed, 28 Aug 2019 01:20:06 +0200
Node Server Zero Foundation-Automatic Overloading of Development Environment Files
Include for use, modification and reprint have been obtained Tencent Cloud To grant authorization
Preface
In web front-end development, we will use the Watch module of Grunt, Gulp and Webpack tools to monitor file changes. What should the server do? In fact, file changes can still be monitored with the help of build tools, but we also need to ...
Posted by Daguse on Tue, 02 Jul 2019 00:04:00 +0200
Deep Understanding of Objective-C: Category
abstract
No matter how perfect a class design is, there may be some unpredictable situations in the future demand evolution. So how do you extend existing classes? Generally speaking, inheritance and combination are good choices. However, in Objective-C 2.0, category is also provided, which can dynamically add new behaviors to existing classes ...
Posted by m7_b5 on Tue, 25 Jun 2019 01:51:07 +0200