Regular expression crawling Chinese ancient poetry net and Douban popular books

1, Crawling through the Chinese poetry net import re import requests def handler_url(url):     header={         "User-Agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.87 Safari/537.36"     }     reponse=requests.get(url,header)     text=reponse.text     titles=re.findall(r'<div\sclass ...

Added by sanju on Sat, 15 Feb 2020 17:42:46 +0200

Quick packaging and deployment of springboot

Key knowledge points: Maven's assembly plug-in implements custom packaging deployment (including dependent jar packages) At present, there are several common deployment methods of spring boot project. 1. Use the docker container to deploy, build the application of springboot into a docker image, and then start the image through the containe ...

Added by ozestretch on Tue, 11 Feb 2020 15:15:00 +0200

Brief Analysis of Several Efficient Port Scanning Methods

Brief Analysis of Several Port Scanning Methods My Blog [My Blog]: New Zero Cloud Blog - Cloud Wing Campus Program Everyone can learn!!! Article Directory Brief Analysis of Several Port Scanning Methods My Blog [My Blog]: [New Zero Cloud Blog - Cloud Wing Campus Program] (http://112.124.15.70/ ...

Added by sh0tgun on Tue, 11 Feb 2020 05:52:02 +0200

SSM employee management system development-1

Recently I learned the integrated development of SSM framework. Now I try to develop an employee management system by myself. I hope I can skillfully use SSM framework in the process of writing BUG. The development of B/S end is adopted in this system, and the tools used are ideas, 019, navicat and mysq ...

Added by DJ_CARO on Mon, 10 Feb 2020 17:30:41 +0200

Database Middleware -- MyCat deployment and installation

Link to mycat:Mycat official websiteMycat download linkOfficial documents of Mycat,Baidu online disk official document download link, extraction code: f9nq. Mycat short document Before you start, read the brief Mycat documentation to get a general idea of it. Note: MyCAT supports a variety of database access, including mongodb, oracle, sqlser ...

Added by coolbeansdude51 on Mon, 10 Feb 2020 15:38:45 +0200

Is there an easy way to add borders at the top and bottom of Android View?

I have a TextView that I want to add black borders along its top and bottom borders. I try to put android:drawableTop and android:drawableBottom into textview, but this will only cause the whole view to turn black. <TextView android:background="@android:color/green" android:layout_width="fill_parent" android:layout_height="wra ...

Added by prem on Mon, 10 Feb 2020 07:52:35 +0200

Android learning notes: simple UI component ---- button component (radio button and check box)

Button class component (radio button and check box) Radio button Radio button: usually a circular icon, with some descriptive text beside it. In most cases, radio buttons appear in groups. Only one radio button in a group can be selected at the same time. In the activity main.xml file, use the Rad ...

Added by phice on Sun, 09 Feb 2020 10:03:57 +0200

How to quickly implement the function of automatic configuration in the lower version of Spring

Needs and problems Core demands Existing system, no reconstruction Spring version 3.x, do not plan to upgrade or introduce Spring Boot It is expected to realize some functional enhancements on the premise of less code changes For example, make a unified log for the whole site, add the summary of ...

Added by avatar.alex on Sat, 08 Feb 2020 12:59:53 +0200

Retrieving and parsing json-type data

Read and parse json type data 1. What is JSON?   JSON(JavaScript Object Notation) is a lightweight data exchange format that uses a language-independent text format. It is the ideal data exchange format, and JSON is the native JavaScript format. Ideal for interaction between server and JavaScript ...

Added by thipse_rahul on Sat, 08 Feb 2020 06:42:22 +0200

Spring learning 2: IOC container

Spring IOC container IOC container: Spring container is a core component of spring framework. It will create objects, connect them, configure them, and manage their whole life cycle from creation to destruction. IOC container is a container with the function of dependency injection. It can create o ...

Added by sharma on Fri, 07 Feb 2020 11:16:28 +0200