Optimization of construction speed of vue-cli2
For the front-end projects created by using Vue cli scaffolding, compiling and publishing are almost necessary operations, some of which only need sec...
Handwritten code of front-end written test
1. Flat nested array / flat implementation Description: expand and tile a nested array into an array with only one layer. let array = [1, [1, 2, 3], [...
django development - building distributed (multi node) task queue with cellery
Today, I'll show you how to use cellery to build a task queue with two nodes in django project (one master node and one child node; the master no...
Use form create to dynamically generate vue components, supporting json format
[github] | [description document] Example let rule = [ { type:'row', children:[ { type:'i-col', props:{ span:12 }, children:[ form...
Implementation of paging query in weUI
This paper introduces the implementation of h5 paging query in mobile terminal 1. front end html Front end implementation based on weui style library ...
Small php framework
Project source address Link address( https://github.com/cxp1539/mi... Framework Simple php framework Framework features Single entry index.php Based o...
Getting started with Python crawler 17-100 blog crawling data
Written in front I've been blogging for a while, but I suddenly forget that the blog of blog channel can also be grabbed, so I did In fact, it�...
Laravel uses JWT to implement API user authorization
Part I installation of JWT Step 1. Use Composer to install tymon / JWT auth:`composer require tymon/jwt-auth 1.0.0-rc.3 Step 2. Add a service provider...
Summary of Handlebars, a front-end template engine
I. escape of Handlebars template 1. template Escape, output HTML string when {}} is used When {{}}} is used, html is output without escaping (identif...
Solve Jackson 2 deserialization LocalDateTime error
Today, when integrating redis and spring boot, I encountered an error. Record it. The error is reported as follows: Could not read JSON: Cannot constr...
Spring integrates RabbitMQ-03-SimpleMessageListenerContainer
SimpleMessageListenerContainer Simple message listening container. This class is very powerful. We can set many settings for it. For message configura...
The gin of golang network framework
golang native http library can easily implement an http server, but for complex web services, such as routing analysis, request parameter analysis, ob...
[Express learning notes-1] quick start
I. Basic Concepts Express is a simple and flexible node.js Web application framework, which provides a series of powerful features to help you create ...
java judge time difference month day tool class
I. Java time comparison requirements 1. From time a to time B, how many years, months and days is the difference. For example, from February 2, 2011 ...
Release npm package step pit
Yesterday, I tried to release npm package. I ran into a problem. Please record it. First, npm account must be registered Using npm adduser command npm...
Spring Security and Spring Session
Extend JSON-based login The client and server timed out and authentication failed due to prolonged interaction on the server.However, the user does no...
Forged form data part of form builder random vehicle license plate
A few days ago, I recorded the mongodb part of the form data storage structure of the form builder, and then I wanted to forge some data. Why forge da...
Secret behind Spring ResponseBody
I. Introduction In the stage of more and more advocating out of the box use, many details are hidden behind us, especially after we start to use sprin...
Configure a custom fastJson serialization tool class for Redis
alibaba.fastjson has provided a tool class GenericFastJsonRedisSerializer for serializing Redis storage objects, but the tool returns to Object when d...
Using local storage as timing cache
background When the page uses ajax to get the data, it will send a request to the server to get the data every time it visits, however Some data updat...
A detailed explanation of how the generated token of jwt authentication is passed back to the backend and parsed
token backend parsing after jwt authentication generation First, the front end sends the token The location of token headers {'authorization'...
Redis -- delay queue
Redis's list data structure is often used as an asynchronous message queue. rpush/lpush is used to enter the queue and lpop/rpop is used to exit...
Convert nested JSON data to TABLE
Prepare some data first: Create a temporary table to store: DECLARE @json_table AS TABLE ( [type] NVARCHAR(MAX), [desc] NVARCHAR(MAX) ) Source Code Ge...
Using python to call pinpoint interface to realize pin alarm
Use python to call the pinpoint interface to implement the pin alarm. 1. When the application monitored on the pinpoint is called incorrectly and the...
Spring cloud responsive microservice series tutorial (Chapter 10): complete code example of responsive RESTful service
This is the tenth chapter of the series of practical spring cloud responsive microservices. This chapter gives a complete code example of responsive R...
The problem of a parseInt function found by javascript random number
A few days ago, I wanted to forge some data and used random numbers. I didn't write it myself, so I searched the Internet and found this article:...
Gorang as the server, C (unity) as the client, Socket communication problems
Server datalen + message ----- > packagedata ----- > network transmission ([] byte) ---- > client ----- > unpackedata ----- > datalen +...
Mengxin's 2019 Hackergame trip to CUHK
Mengxin's 2019 Hackergame trip to CUHK Sign in problem White and night ~~Cyberpunk ~ ~ information security 2077 The ultimate problem of the uni...
Getting Started with Webrtc Video Communications
Getting Started with Webrtc Video Communications WebRTC, named after Web Instant Messaging, is an open source W3C recommendation that was incorporate...
Requs Library - Web Crawler
Introduction to requests Library Official documents: requests quick start It is written in great detail and recommended to read the official document...