Tag:ellipsis

  • About the HDFS command

    Time:2021-4-13

    background Time: February 26, 2021 13:58:26 Brief steps: Determine what the command is? Determine where the command is located? Which is the main class of command execution? View according to the execution process example:It is found that the storage index of HDFS dfsadmin – report is inconsistent with the result of HDFS DFS – Du […]

  • go micro cmd

    Time:2021-3-31

    micro.newService New options in () func newOptions(opts …Option) Options { opt := Options{ Auth: auth.DefaultAuth, Broker: broker.DefaultBroker, Cmd: cmd.DefaultCmd, Config: config.DefaultConfig, Client: client.DefaultClient, Server: server.DefaultServer, Store: store.DefaultStore, Registry: registry.DefaultRegistry, Router: router.DefaultRouter, Runtime: runtime.DefaultRuntime, Transport: transport.DefaultTransport, Context: context.Background(), Signal: true, } for _, o := range opts { o(&opt) } return opt } Initialize a bunch […]

  • Swift personal learning notes – 06: closures

    Time:2021-3-30

    This article is purely a Chinese version《The Swift Programming Language》So most of the content is in the article. This article is my study notes, not a formal and systematic record. For reference only There are still a lot of incomprehensible and uncertain points below, which I will point out with “doubtful” notes. Thanks to the […]

  • How to use CSS to omit multiline text?

    Time:2021-3-15

    design sketch Solution <div class=”demo”> CSS to realize multi line text overflow display ellipsis CSS to realize multi line text overflow display ellipsis CSS to realize multi line text overflow display ellipsis CSS to realize multi line text overflow display ellipsis CSS to realize multi line text overflow display ellipsis CSS to realize multi line […]

  • What design patterns spring uses, can you tell me?

    Time:2021-2-18

    summary A good framework can not do without the use of various design patterns, spring framework is no exception. Because many articles on the Internet are scattered, I want to summarize the design patterns used in spring. I hope you can have a deeper understanding of spring after reading them. Factory model We all know […]

  • Detailed explanation of Seata golang communication model of distributed transaction framework

    Time:2021-2-1

    By Liu Xiaomin Yu Yu 1、 Introduction In the world of Java, netty is widely used as a high-performance network communication framework. Many RPC frameworks are implemented based on netty. In the world of golang,gettyIt is also a high performance network communication library similar to netty. Getty was originally developed by Yu Yu, the project […]

  • Text out of ellipsis type

    Time:2021-1-31

    1、 CSS text beyond hide and show ellipsis (one line) overflow:hidden; //Text hiding beyond text- overflow:ellipsis; //Overflow is shown with an ellipsis white- space:nowrap; //Overflow without line feed 2、 CSS text is hidden and ellipsis is displayed (two lines) overflow: hidden; text-overflow: ellipsis; display:-webkit-box; //It is shown as a flexible box model. -webkit-box- orient:vertical; //Set […]

  • How does the front end handle class array objects gracefully?

    Time:2021-1-19

    1、 Background Recently, Robin, a front-end intern, came to the Leo department. As a master, Leo introduced the company’s business, department work, and the front-end newcomer’s learning map. Next, Robin began to study happily for a week~ A week later, Leo assigned a study assignment for Robin and developed a person search selection page. The […]

  • Introduction of kylin 4.0 topn implementation principle

    Time:2021-1-17

    #Introduction Apache kylin is an open source distributed analysis engine, which provides SQL query interface on Hadoop and multi-dimensional analysis (OLAP) capability to support large-scale data. It can query huge data sets in sub seconds. Topn measurement has been added since kylin 1.5, until kylin 3. X. the implementation has not changed much. To understand […]

  • HTTP request in go — Analysis of HTTP 1.1 request process

    Time:2021-1-11

    From the official account: New World grocery store preface HTTP is one of the most widely used protocols, and it is also one of the most frequently contacted protocols by programmers. Today, the author makes a comprehensive analysis of the request process of HTTP1.1 from the perspective of gopher. I hope that readers can have […]

  • Map () method

    Time:2021-1-7

    effect: The map () method returns a new array. The elements in the array are the values of the original array elements after calling the function Grammar: array.map(function(currentValue,index,arr), thisValue) Currentvalue, required, the value of the current element Index, optional, the index value of the current element in the array Arr optional, the array object to […]

  • P label becomes ellipsis when it exceeds the specified number of lines

    Time:2021-1-3

    Slightly changed label line number: p:nth-child(2) { overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; word-wrap: break-word; word-break: break-all; }