Category:Blogs

  • Four solutions to floating problem in CSS layout

    Time:2020-11-25

    1、 Cause: Effect after sub box setting floating: It can be seen that after the blue box is set to float, it can not support the height of the parent box because it is separated from the standard document flow, resulting in the parent boxHigh collapse 。 If there is such a problem in the […]

  • Summary of numpy

    Time:2020-11-25

    A chestnut >>> import numpy as np >>> a = np.arange(15).reshape(3, 5) >>> a array([[ 0, 1, 2, 3, 4], [ 5, 6, 7, 8, 9], [10, 11, 12, 13, 14]]) >>> a.shape (3, 5) >>> a.ndim #The number of axes of an array. In the python world, the number of axes is called rank […]

  • How to realize Vue schedule function???

    Time:2020-11-25

    I hope to achieve a function like this. How should I implement it?? This work adoptsCC agreementThe author and the link to this article must be indicated in the reprint

  • Mongodb fragment cluster for distributed document storage database

    Time:2020-11-25

    Previously, we talked about mongodb’s replica set and configuration replica set. Please refer tohttps://www.cnblogs.com/qiuhom-1874/p/13953598.htmlToday, let’s talk about the partition of mongodb; 1. What is fragmentation? Why split? We know that the bottleneck of database server is usually caused by disk IO, high concurrency network IO, or CPU and memory of a single server. Therefore, in […]

  • Dp-01 matrix of algorithm

    Time:2020-11-25

    01 matrix difficultysecondary Given a matrix of 0 and 1, find the distance from each element to the nearest 0.The distance between two adjacent elements is 1. Example 1:Input:0 0 00 1 01 1 1Output:0 0 00 1 01 2 1 1. To solve this problem, let’s start with a questionNumber of islands The problem […]

  • Go learning notes map (Dictionary)

    Time:2020-11-25

    1. Declaration assignment: var m1 map[string]int m1 = map[string]int{“name”:1, “xxx”:2} be equal to m1 := make(map[string]int) be equal to m1 := map[string]int{} //m2 := map[string]interface{}{} 2. Map is a reference type m2 := m1 m2[“age”] = 18 //Results of M1: Map[ age:18 name 1 xxx:2 ] 3. Determine whether the map value exists OK, it’s […]

  • MySQL tutorial

    Time:2020-11-25

    MySQL tutorial MySQL is the most popular relational database management system. In web application, MySQL is one of the best RDBMS (relational database management system) application software. In this tutorial, you will quickly master the basic knowledge of MySQL, and easy to use MySQL database. What is a database? Database is a warehouse that organizes, […]

  • If C + + is an arrow, which eagle would you shoot with it?

    Time:2020-11-25

    When you see the title, you may not quite understand what it means. In the end, don’t worry. I believe that a lot of people come into contact with C + + programming in college, but this course only tells you what the programming language is, but it doesn’t tell you how to master programming. […]

  • Android power consumption (1) — Android power analysis method and optimization

    Time:2020-11-25

    1. Bottom current optimization The bottom current is debugged in the mobile phone flight mode. The bottom current data of each platform may be different. For details, please refer to the current consumption data document or release note from the release. In general, the upper limit of bottom current reference data is: The bottom current […]

  • On the problem that the code can not take effect in time after modification

    Time:2020-11-25

    Today, after the modified code is uploaded to the server via FTP, even if the cache is deleted, it still doesn’t take effect, with a delay of about 10 seconds. After research, it is found that the reason is that PHP starts the opcache extension, and the deletion of this extension takes effect immediately. It […]

  • Knowledge and skills of isto concept in service grid

    Time:2020-11-25

    1、 Background Recently, the architecture group has developed the service mesh platform based on isto, taking this opportunity to learn and record the relevant background knowledge for the convenience of looking back. Effect of the first edition: 2、 Isto Official Manual: https://istio.io/latest/zh/docs/concepts/what-is-istio/ Stio is an open source project jointly developed by Google / IBM / […]

  • Magicodes.IE Export multiple format files through request header in. Net core

    Time:2020-11-25

    preface In the 2.2 milestone, we added some new functions. As the title says, we export our files in different formats through the request header. Let’s take a look at how to use them. In this way, we can easily configure both our data multipurpose and our data verification. At the same time, we will […]