Implement a calendar component from zero

I. Introduction to calendar components The calendar component is mainly composed of a text input box. After clicking the text input box, the calendar panel will be displayed below the text box. The calendar panel consists of three parts: the head area (which mainly displays the month and year corresponding to the face-to-face calendar panel and ...

Posted by jaikob on Tue, 29 Oct 2019 05:06:20 -0700

Problems in sharing mutable state and how to avoid them

By Dr. Axel RauschmayerCrazy technology house Original text: https://2ality.com/2019/10/sh... No reprint without permission This paper answers the following questions: Is shared mutable state? Why is there a problem? How to avoid its problems? The section marked "(Advanced)" will go deeper, so if you want to read this article faste ...

Posted by SensualSandwich on Mon, 28 Oct 2019 20:28:37 -0700

Servlet handles native Ajax requests

The first blog in Meng new Xiaobai's life will inevitably make mistakes. I hope you guys will forgive me a lot. 1. Introduction to Ajax technology Ajax(Asynchronous JavaScript and XML) is a kind of web development technology to create interactive web applications. It is not a new technology. Its purpose is to achieve the local refresh of the ...

Posted by double-f on Mon, 28 Oct 2019 13:13:27 -0700

Kibana + sentinel 6.2.4 implementation of nail mail alarm

I. ELK installation1. Software architecture: filebeat----elasticsearch----kibana+sentinel -- (mail and nails)2. Software download address: https://www.elastic.co/cn/downloads/past-releases #(this tutorial uses 6.2.4)3.elasticsearch installation[root@VM_0_7_centos ~]# egrep -v "^$|^#" /opt/app/elasticsearch-6.2.4/config/elasticsearch.yml clus ...

Posted by Paul Ferrie on Mon, 28 Oct 2019 11:15:45 -0700

Python 3 write 360 library crawler

Preface Requirements: search and save 360 Gallery picturesGallery address: 360 Gallery Basic thinking After a simple analysis, it is found that the 360 picture library uses dynamic rendering, and uses pull-down reverse loading of pictures, so there are three common methods to solve the problem, name ...

Posted by rashu.dr on Mon, 28 Oct 2019 09:15:12 -0700

token backend parsing after jwt authentication generation

First, the front end sends the token The location of token headers {'authorization': value of token ', content type': application / JSON} Write in ajax //Show only part of the headers code headers:{"authorization":this.$cookies.get("token")} //token value is usually put in cookies //The default is json format. You don't need to declare js forma ...

Posted by marklarah on Mon, 28 Oct 2019 07:05:12 -0700

Multiplayer blog development project - back end

Basic analysis 1 Analysis For the blog system used by many people, the BS architecture is adopted here.Blog system needs user management and blog management User management: user registration, adding, deleting, modifying and querying users Blog management: add, delete, change and check blog The database is required. This time, Mysql5.7.17 is ...

Posted by gbow on Mon, 28 Oct 2019 04:13:45 -0700

The checkbox is re rendered, and the selected value is retrieved after editing.

https://www.jianshu.com/p/89e17612e58d When making a checkbox for a form, there are generally the following situations: Save only the selected value: the foreground only obtains the value of the selected checkbox, and then passes it to the background for saving. Rendering only: the foregr ...

Posted by superman on Sun, 27 Oct 2019 19:56:32 -0700

Using Mockito in Spring Boot projects

This article first appeared on personal website: Using Mockito in Spring Boot projects Spring Boot can work with most popular testing frameworks: create unit tests through Spring JUnit; generate test data to initialize the database for testing; Spring Boot can work with BDD (behavior driven development) tools, Cucumber and Spock to test applic ...

Posted by WendyLady on Sun, 27 Oct 2019 03:25:22 -0700

http module of NodeJS

Article directory 1 http module 1.1 basic usage 1.1.1 module attributes 1.1.1.1 properties of HTTP request 1.1.2 module method 1.1.2.1 method of HTTP module 1.1.2.2 method of server instance 1.1.2.3 HTTP response method 1.1.3 processing GET requests 1.1.4 processing POST requests 1.2 request 1. ...

Posted by JoeF on Sat, 26 Oct 2019 20:21:27 -0700