Article. Page 85



ThinkPHP+JQuery for asynchronous file upload

Front-end code <!DOCTYPE html> <html> <head lang="en"> <meta charset="UTF-8"> <title>ThinkPHP+JQuery...
15:09 4 December 2019

Several ways to realize multithreading

This blog series is a record summary of learning concurrent programming. Due to the large number of articles and the scattered time of writing, I arra...
14:28 4 December 2019

k8s uses glusterfs to realize dynamic persistent storage

brief introduction This article introduces how to use glusterfs to provide k8s with the function of dynamic pv application. Glusterfs provides the un...
14:08 4 December 2019

Using NasNet model and keras to do deep learning training is wrong

When using NasNet model and keras for deep learning training, the following code is used I. code chip: inputs = Input((224, 224, 3)) base_model = NAS...
13:54 4 December 2019

jinkens+gitlab implement CI/CD for k8s cluster

I. environmental preparation K8s cluster environment (here I am k8s cluster of three sets); A single docker server is mainly used to upload images to...
13:45 4 December 2019

ASH production practice I of Oracle10G

ASH practice 1 of Oracle10G ASH is a new feature of Oracle 10g, which is very valuable for DBA. It is based on V $sssion and samples once a second, R...
13:37 4 December 2019

Using HttpClient to send file stream to server

Applicable scenarios:The URL file or picture of the absolute path of the network is not stored locally, but converted into stream. It is directly tran...
13:27 4 December 2019

The use of Gson serializer

Business scenario: Recently, we are doing a file path encryption. Many classes are designed to file paths. Because the framework used in our project i...
13:22 4 December 2019

20190108 use of recursive function to realize the use of basic recursive functions such as finding the greatest common divisor

1. Given a = [1,2,[3,4,[5,6,7,[8,9,[10,11]]]], print output is required: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 Use the recursive function to traverse A. w...
13:08 4 December 2019

April 4, 2019 [Tsinghua training 2017], [LOJ2326], [Luogu P4224] simple data structure (line screen processing factor table) (DP) (set maintenance)

LOJ portal Luogu portal Analysis: In fact, I have said so much in the title. There is a sentence The same number can only be inserted c times at most...
13:01 4 December 2019

[Python learning] guess age through the while loop and for loop

Python can limit the number of guesses about age by using while and for loops 1. In the small program of guessing age, the code without loop is as fol...
12:55 4 December 2019

Remember the problems in SpringBoot1. * to Springoot2.0

1. Interceptor problem Write static path pattern in the configuration file after 2.0. / static / * * has no effect (2.0 needs to be configured in the ...
12:35 4 December 2019

MySQL installation steps

MySQL installation steps Install dependency package yum -y install autoconf automake libtool cmake ncurses-devel openssl-devel lzo-devel zlib-devel gc...
12:28 4 December 2019

Storage - massive data - (mycat core concepts and advanced)

target Master big data processing scheme and HA of database Master why database middleware is needed and what is database middleware Master the charac...
11:52 4 December 2019

Nodejs operation Sql Server

Intro Recently, the project needs to crawl some data, the data is encrypted, the front-end js is confused, the ajax request is hook, some complex, and...
11:45 4 December 2019

Get the K-th largest element in an array

How to get an array in O(n) such as which has the largest K element? We can use the partition method similar to fast row to limit the K-th largest el...
11:45 4 December 2019

GDB debugging Mysql source compilation and installation

Download source code git clone https://github.com/mysql/mysql-server.git cd mysql-server git checkout 5.7 Compilation and installation Installation de...
11:32 4 December 2019

Practice of fdisk and parted partition under centos

Requirement: add a 100M hard disk and permanently mount it to / data01, write out the detailed operation steps Method 1: [root@localhost ~]# fdisk -l...
11:29 4 December 2019

Classification of cifar-10 based on Kears

I. Introduction to CIFAR-10 data set CIFAR-10 data set contains 60000 32 * 32 color images in 10 categories, 6000 images in each category, all of whi...
11:07 4 December 2019

3 Python file operation

Python file operations open The file can be opened in whatever encoding mode the file is stored in f = open('d:\Model housewife nurse head teach...
10:29 4 December 2019

Influence range after System class redirects output stream

problem 1. If the System class is used to redirect the output stream, will it affect the output of other threads? 2. What scope will this operation a...
10:03 4 December 2019

The usage of c/c + + overloaded operator standard library function

The usage of overloaded operator standard library function Question: is int(int, int) a common type?? For example, function: int add(int a, int b); Fo...
9:30 4 December 2019

LNMP schema access log, log cutting, static file not recording and expiration time setting

November 27 mission 12.10 Nginx access log 12.11 Nginx log cutting 12.12 static files do not record logs and expiration times Nginx access log Modify ...
9:23 4 December 2019

Golang reading and writing files

Reading and writing files is one of the common operations of programming languages. Here, we will read the related operations of the files. read file ...
9:05 4 December 2019

List collection multiple sorts

Write before: Sometimes we need to sort the data when the query data is displayed on the front page, especially by multiple fields. There are a lot of...
8:56 4 December 2019

Some methods of re

re.compile(pattern, flags=0) Create a reusable variable from a regular expression. The generated object can be used in other places repeatedly, inste...
8:54 4 December 2019

Teach you 10 minutes to build a cool personal blog

Take personal blogs for example, Blog address Preparation install $ npm install -g hexo-cli Initialization $ hexo init <folder> $ cd <folder&...
8:47 4 December 2019

canvas: writing dynamic clock in native javascript

At this time, the needle is centered on the center of the canvas; g.translate(width/2,width/2); This function moves the origin of the canvas to (widt...
8:47 4 December 2019

Recycleview imitates the list of items in Ruixing coffee menu

First of all, we need to understand that Recycleview's ItemDecoration is very powerful. You can use it to realize listview's segmentation l...
8:14 4 December 2019

Upload forms and attachments

Tools: vue+elementUI(upload component) Requirements: familiar with the uplood components and features of elementUI Get request file upload The upload...
7:45 4 December 2019