Crawling the data with map display in the web page using Python graph
Recently, there is a need to crawl the official website information of a logistics company. I saw the official website, which is basically static pages. Unlike that kind of information type, e-commerce type websites have complex results, strict anti climbing, many AJAX, and I am secretly glad that when I further analyzed, I found that they are ...
Added by unbreakable9 on Thu, 21 Nov 2019 18:01:05 +0200
See through interface abstraction and factory
Preface
I'm going to take you through a new way to understand what interface polymorphism is. Many people, including me, feel helpless when they first learn this thing. They can't understand it. They can't understand it. They just know how to write interfaces, and then they won't be useful. I'll show you how to understand the interface through ...
Added by gmdavis on Wed, 20 Nov 2019 15:09:48 +0200
AssemblyScript Getting Started Guide
Author: Danny GuoTranslate: Crazy Technology House
Original: https://blog.logrocket.com/th...
Reproduction is strictly prohibited without permission
WebAssembly (Wasm) is a relatively new feature in Web browsers, but it expands the functional potential of using the Web as a service application platform.
Learning to use Web Assembly can be a di ...
Added by Avalanche on Wed, 20 Nov 2019 07:19:44 +0200
Visual Studio 2019 Tutorial: How to add a Web API to an ASP.NET Core application
Open Project
Open the ASP.NET Core application in Visual Studio 2019.
Add an API controller
Right-click the item and add a new folder named Api.Then, right-click the folder and select Add > New Scaffolded Item.Use the Entity Framework to select the API Controller with actions.Now select an existing model class and click Add.
View generated ...
Added by Red Blaze on Wed, 20 Nov 2019 01:22:27 +0200
Android app auto update summary (adapted to 9.0)
1. configuration:
1.1 add permissions and FileProvider in Android manifest.xml:
--------------------------------------------------------------------------------------------------------------------
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.READ_EX ...
Added by 2levelsabove on Tue, 19 Nov 2019 20:30:55 +0200
session verification and template rendering syntax based on Flask (jinja2)
Catalog
1.http transfer request header parameters
2. Processing of request.data parameter in flask
3. request.json parameter in flask
4. session management in flask
5. Template syntax in flask (if,for syntax data processing)
6. Template syntax in flask (custom function method)
...
Added by fgm on Tue, 19 Nov 2019 08:53:52 +0200
Brief analysis of JSON.stringify & JSON.parse
There are many scenarios that used JSON before, but they haven't been studied carefully. In recent days, I took advantage of a requirement to sort out the relevant usage.
I. JSON.stringify()
1. Syntax JSON. Stringify (value [, replace [, space]])
2. Let's talk about the next two optional parameters
space: it is a blank string for specify ...
Added by macmonkey on Mon, 18 Nov 2019 10:48:59 +0200
RocketMQ local cluster configuration
RocketMQ local cluster configuration
More complete configuration parameters reference
Modify the default port of NameServer to reach the local cluster configuration
Create a new configuration file conf/namesrv.properties in the conf directory. The file content is:
listenPort=2058
Use mqnamesrv - C.. / conf / namesrv.propert ...
Added by friedice on Sat, 16 Nov 2019 22:54:39 +0200
Complete pseudo static rules of AMH host panel
Compared with lightweight application servers or virtual hosts, Alibaba cloud ECS cloud servers need higher technical capabilities. Users can use AMH panel or pagoda and other panels to make Web projects simpler. Yuntun store shares the complete pseudo-static rules of AMH host panel:
Complete pseudo static rules of AMH host panel
Pseudo static ...
Added by my8by10 on Fri, 15 Nov 2019 19:43:47 +0200
Prometheus installation and configuration
I. Prometheus installation and configuration
1. Download and unzip the installation package
cd /usr/local/src/
export VER="2.13.1"
wget https://github.com/prometheus/prometheus/releases/download/v${VER}/prometheus-${VER}.linux-amd64.tar.gz
mkdir -p /data0/prometheus
groupadd prometheus
useradd -g prometheus prometheus -d /data0/prometheus
...
Added by corcode on Tue, 12 Nov 2019 13:48:18 +0200