In 315 cities across the country, use python to crawl the store information of KFC grandpa
I think I have lived in this world for more than 20 years. The most popular restaurant I have ever been to is KFC's birthday when I was a child. Now I grow up, KFC has become my daily snack. When I go hungry from the front door after work, I will go in and buy a cup of coffee in the morning. It's mainly fast, delicious and full, and it's ...
Posted by integravtec on Wed, 29 Apr 2020 14:40:14 +0200
Python module - making the world map of new crown epidemic situation
Catalog
pyecharts module
brief introduction
Installing pyecharts
Test the pyecharts module
pyecharts Combat: novel coronavirus pneumonia map
requirement analysis
Request data
Extract data
Processing data
Making visual maps
Set up visualization map
Full code
Achieve ...
Posted by spoco on Wed, 29 Apr 2020 02:48:45 +0200
Asp.Net Core 3.1 learning 4. JWT based token verification and Swagger use in Web Api
1. Initial JWT
1.1 JWT principle
JWT (JSON Web Token) is the most popular cross domain authentication solution at present. Its advantage lies in that the server does not need to store tokens for distributed development, and provides data for the APP for the project of front-end and back-end separation. The items of the token generated by log ...
Posted by presence on Tue, 28 Apr 2020 07:06:22 +0200
Ainong payment express payment + payment form customs declaration demo
During the work period, the customer specifies to use this. During the actual work time, the other party has no demo, has an md5 signature that is also 1.0, and can't find the case through online search. The official website doesn't provide any related content of the document. Everything should be written according to the document provided by t ...
Posted by Sentosa on Mon, 27 Apr 2020 16:03:46 +0200
How to use Github hook for automatic deployment
Recently, I bought domain name and server by chance. It's not really a waste. In addition, I haven't owned my own personal website, so I plan to play on the server with hexo, so I don't have to worry about whether to use Github pages or Gitee pages. Of course, today's topic is not blog building, but how to use Github's hook to deploy blog code ...
Posted by CodeMama on Sun, 26 Apr 2020 04:50:10 +0200
Picture download of node crawler
Background: for some players who want to change their avatars, but don't know what avatars to use, as a code enthusiast, if they can use the program to solve the problem, they don't need to use the program to change their avatars, just do what they say, and then sort it out.
design sketch
Environment configuration
Install node environme ...
Posted by Ryan0r on Thu, 23 Apr 2020 17:04:00 +0200
Spring boot integrates rabbitmq
Before integration, rabbitMqJAR package should be introduced in springboot. The version number can be customized for you. This project follows the version of springboot
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-amqp</artifactId>
...
Posted by animedls on Wed, 22 Apr 2020 16:33:46 +0200
Websocket live room chat tutorial - go easy to quickly implement chat room
This tutorial and the full set of source code have been open-source on the OSChina code cloud and will be updated continuously. Please visit the latest version https://gitee.com/goeasy-io/GoEasyDemo-Live-Chatroom.git
That fire has been broadcast live in the last two years. It's really indescribable! Often a friend asks, I want to realize a live ...
Posted by Zup on Tue, 21 Apr 2020 05:25:39 +0200
Go language Gin Web Framework
Gin Web Framework
brief introduction
web framework developed based on httprouter: https://github.com/gin-gonic/gin
Provides Martini style API, but 40 times faster than Martini
Very lightweight, simple to use
Installation and use of Gin framework
Install: go get -u github.com/gin-gonic/gin
Basic use
import "github.com/gin-gonic/gin"
func ...
Posted by ericwright17 on Sun, 19 Apr 2020 16:23:46 +0200
11, Getting started with Python - Advanced
Advanced
Date and time
import datetime
import time # Introduce time Modular
import calendar
#Get current date time
now=datetime.datetime.now()
print(now)
#Get the specified date
d=datetime.datetime(2019,10,1,12,23,40)
print(d)
#Date to string
d2=d.strftime("%Y/%m/%d %H:%M:%S")
print(d2)
#String to date
s="2020-8-15 2:30:20"
d3=datetime.da ...
Posted by Black Rider on Wed, 15 Apr 2020 17:06:18 +0200