• HTML base target tag=_ Introduction to the use of parent


    The < base > tag specifies the default address or default destination for all links on the page. Usually, the browser will extract the corresponding elements from the URL of the current document to fill in the blanks in the relative URL. use The < base > tag can change that. Instead of using the […]

  • The y-axis data of observablehq D3 is incomplete


    For some data with large cardinality, the y-axis data of D3 is incomplete. As shown in the figure below: The above situation may be that there is not enough left in your Y-axis margin. In the example above, you can modify the following link online: https://observablehq.com/@yuchenghu/us -covid-19-daily-tested-cases-covid-19 There is a configuration called margin = ({top: […]

  • What is base tag and its function


    The < base > tag specifies the default address or default destination for all links on the page.Usually, the browser will extract the corresponding elements from the URL of the current document to fill in the blank space in the relative URL.This can be changed by using the < base > tag. The browser will […]

  • Depth: write a microfront framework from scratch


    Write at the beginning: Handwritten framework system article, lack of handwritten Vue and micro front-end framework article, today I add the micro front-end framework, I think it’s well written, remember to pay attention + read, better forwarding Interested in source code, you can see my previous series of handwritten source code articles How does the […]

  • (58) C × WinForm custom control – pipeline valve (industry) – hzhcontrols


    Official website http://www.hzhcontrols.com premise It’s been 7 or 8 years since I started, I always want to make a set of beautiful custom controls, so I have this series of articles. GitHub:https://github.com/kwwwvagaa/NetWinformControl Code cloud: https://gitee.com/kwwwvagaa/net/winform/custom/control.git If you think it’s OK, please click star to support it Welcome to discuss: Penguins 568015492 Please click [recommend] below […]

  • C programming (24): number system conversion


    Example 24 number system conversion Title Description Please make a program to realize the data conversion between two different bases. Input format There are three lines in total. The first line is a positive integer, representing the base n (2 ≤ n ≤ 16) of the number to be converted. The second line is an […]

  • sort


    1、 Bubble sorting Basic ideas:Compare adjacent elements, and if the first is larger than the second, swap their positions. var arr=[19,8,3,10,32,16] let maopao=(arr)=>{ for(let i=0;i<arr.length;i++){ //Every time the flag bit is traversed, it must be set to false to determine whether the following elements have been exchanged flag = false; for(let j=0;j<arr.length-1-i;j++){ if(arr[j]>arr[j+1]){ var temp=arr[j+1] […]

  • Further analysis of MySQL index


    Preface We know that index selection is the work of the optimizer stage, but the optimizer is not omnipotent. It may choose the wrong index to use. Generally, the factors considered by the optimizer in selecting an index are: the number of rows to be scanned, whether to sort, and whether to use a temporary […]

  • Redis statistics UV


    How do you do when PM comes up with a demand for statistics page UV / PV? scene There are three options: Leave it to the big data Department of the company and let them get it Start recording the IP address, and then de count the B number / MySQL / redis / HashMap, […]

  • Base target = “” control the target opening frame of the link


    < base target = _blank > is to change the target framework of basic links to open new pages. If you are not familiar with HTML, CSS and JS, it is not recommended to use this method instead of independent control. In fact, many tags, such as < a >, < form >, support the […]