Article. Page 93



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...
13:30 2 December 2019

Django's own background management configuration

Configuration of Django's own background management Create projects and apps Modify profile Database configuration DATABASES = { 'default&#0...
13:27 2 December 2019

Practical encryption module of python

Note 1: MD5, SHA1, SHA256, SHA512 encryption The encryption of these hash algorithms is supported in the built-in module hashlib of python.This part o...
13:07 2 December 2019

mongodb installation under Centos7 and its simple and practical application

i skeleton spirit Concern August 20, 2018 17:45 * words 141 read 76 comments 0 like 0 mongodb version: 4.0 Official website installation tutorial For...
12:50 2 December 2019

Luogu P3246 [HNOI2016] sequence (offline differential tree array)

meaning of the title Title Link Sol It seems that a different method has been worked out from the solution of the question (however, it still exploded...
12:25 2 December 2019

Python practice example (10)

55. Learn to use bitwise inversion ~. Program analysis: ~ 0 = 1; ~ 1 = 0(1) first shift a to the right by 4 digits. (2) set a number with the lower 4 ...
12:23 2 December 2019

Appearance mode of design mode (structural type)

[TOC] I. model definition Appearance mode: appearance mode is to provide a unified interface to access a group of interfaces of subsystem. The facade...
11:57 2 December 2019

vue wechat sharing (actual battle)

Today, I met the demand of wechat sharing. Generally speaking, it's relatively simple, but I still met a hypothetical pit (really hypothetical) a...
11:39 2 December 2019

Detailed explanation of the latest wechat domain name detection technology

Now the number of users of wechat has ranked first in all communication apps, and wechat has become one of the largest mobile traffic platforms in Chi...
11:35 2 December 2019

Interpretation of PostgreSQL source code (108) - background process (PGPROC data structure)

PostgreSQL uses the process mode. For each client, it will Fork a background process to respond to the client's request. This section describes ...
11:33 2 December 2019

Some tips when the disk is filled with large files

In the production environment, the disk will be filled with some large files, but the large files cannot be deleted immediately because they are open...
11:27 2 December 2019

Vue element UI vuex for skin switch

1. install sass npm install --save-dev sass-loader npm install --save-dev node-sass 2. Add configuration in the rules of webpack.base.conf.js under t...
11:13 2 December 2019

LeetCode maximum sub order and / length of last word / plus one

53. Maximum suborder sum Given an integer array nums, find a continuous subarray with the largest sum (subarray contains at least one element), and r...
10:42 2 December 2019

python foundation - 8 (decorator)

I. nonlocal keyword def outer(): num = 0 def inner(): # If you want to modify the value of an external function variable (name) in a nested function ...
10:38 2 December 2019

[reprint] C ා tool class: Csv file conversion class

csv is a comma separated value format file that stores table data (numbers and text) in plain text. A csv file consists of any number of records separ...
10:11 2 December 2019

Saltstack user guide 03 configuration management

1. Host planning Matters needing attention If the configuration file of master or minion is modified, the corresponding service must be restarted. 2....
10:06 2 December 2019

Spring Data JPA must master 20 + query keywords

WeChat public number: an excellent wasterIf you have any questions or suggestions, please leave a message in the background. I will try my best to sol...
9:59 2 December 2019

React form element

Let's talk about the form elements of react today.Controlled elementLet's see how to get the value of the input box import React, { Componen...
9:42 2 December 2019

Effective alphabetic words

Organizing thoughts: I am mentally retarded now, so no matter how simple the topic is, I will share it. My idea is to define two dictionaries (such a...
9:39 2 December 2019

Logu P4063 [JXOI2017] series (dp)

meaning of the title Title Link Sol It's not hard to think about this problem, but it's very troublesome to write, and then I went to look a...
9:34 2 December 2019

Some problems in Ubuntu 18.04 PostgreSQL 11 apt default installation

First, install the software by default (this article takes PostgreSQL 11.1 as an example, and other versions are similar). sudo apt install postgresql...
9:33 2 December 2019

Java collection series - HashSet

Original article, reprint please mark the source: Java collection series - HashSet I. overview HashSet is a set set set based on Hash implementation....
9:31 2 December 2019

Logue P4424 [HNOI/AHOI2018] treasure hunt game (thinking problem)

meaning of the title Title Link Sol Fairy question Orz Orz zbq searches 70.. Consider the nature of "and" and "or" \(0 \& 0 = ...
9:11 2 December 2019

A quick start to the tutorial 1 of beautiful soup, a python data extraction tool

brief introduction Picture.png Beautiful Soup is a library that can easily grab information from a web page. It is located at the top of an HTML or X...
9:01 2 December 2019

sys and subprocess of python module and writing simple host scanning script

sys and subprocess of python module and writing simple host scanning script 1.sys module sys.exit(n) function: the interpreter exits automatically whe...
8:43 2 December 2019

PostgreSQL remote link server configuration

PostgreSQL server needs to be configured to be remotely linked by users Profile:pg_hba.conf controls access security and manages the access rights of ...
8:08 2 December 2019

Python file operation (basic)

'''File name: small doubleThe contents of the document are as follows: Last night, cicadas couldn't keep singing.It's three o...
7:36 2 December 2019

Toolbar used in android Fragment

Can be used directly in Activity setSupportActionBar(toolbar); You can override the onCreateOptionsMenu and onoptionsiteselected methods; But in Fragm...
7:12 2 December 2019

Data structure Prim algorithm

The idea of Prim algorithm is as follows: Firstly, the points of the graph are divided into two parts: one is the visited u, the other is the UN visi...
7:05 2 December 2019

Python basic (string) day two

1. Single quotation mark and escape Guide 2. Splicing string 3. Format string 4. Common methods #Remove spaces and special symbols #Search and replace...
7:02 2 December 2019