• Golang annotation specification


    [golang annotation Specification] The meaning of annotation Comments can help us to complete the work of the document, well written comments can facilitate our future maintenance. /**/In our project, we use single line annotation to unify the style. The quality of annotation determines the quality of the generated document. The following is about package annotation, […]

  • Order by sorting optimization


    In daily business development, order by is indispensable. But to write efficient sorting SQL, we need to spend some energy and time to understand the underlying principle of sorting, so as to find a good strategy to optimize the sorting. How to sort Index (index sort, best performance) Use index fields to sort as much […]

  • Txscrolllabelview


    preface Some time ago in the development of a broadcast function, online also found some library, did not find very easy to use, so I took the time to write a, inGithubMore than 60 harvests a daystarFirst of all, I would like to thank you for your forwarding on WeiboTXScrollLabelViewI know more people who need […]

  • Four action diagrams explain why (and when) Redux is used


    dev-reading/feIt’s a repo for reading, guiding and speed reading. Don’t rely on readingdev-reading/feLearn knowledge. This repo is only a tool to quickly understand the content of the article, and does not provide full text interpretation and translation. You can quickly understand the content of the article through this platform, find the articles you are interested […]

  • Oracle (day 5)


    Subquery 1. Single line subquery: For example: select * from EMP where Sal > (select Sal from EMP where ename =’allen ‘); 2. Multi row subquery: any all in Greater than any is greater than the minimum   select * from emp where sal>any(select sal from emp where deptno=10);   select * from emp where sal>(select min(sal) […]

  • My opinion on async and await


    In recent days, I finally understand the model of async and await, and also understand many problems that I have been pressing in my heart. So I write a blog to share with you. As far as asynchronous mechanism is concerned, I think it can be understood by remembering the following points: 1. In my […]

  • One-way hash function


    One-way hash function Before introducing the one-way hash function, let’s find out what situation we need to use the one-way hash function. If you need to download a software from a foreign website, but for various reasons, the foreign network is too slow, it is almost impossible to download a few g data. It happens […]

  • Ie disable the backspace key to return to the previous page. The method Vue H5 can be used


    If the text box is read-only, the backspace key is disabled. If you have a text box, you can continue to use it. Vue code can be copied directly to the page with id = app. The code is as follows: //Handle keyboard events, except for backspace password or single line or multi line text […]

  • Learn how to center CSS horizontally and vertically


    CSS in the middle is a front-end engineer often have to face the problem, but also one of the basic skills. Today, I will summarize the methods used in the past, including horizontal center, vertical center and horizontal vertical center. In this paper, some similar schemes are classified and summarized, and the results are as […]

  • (2) Introduction and question making skills of major written test websites (Niuke, Saima, and evaluation)


    Before the written examination, we should first understand what platform the enterprise uses when we recruit in spring and autumn. Because the code input rules of each platform are different. As far as I know, general enterprises will use the following platforms: Niuke.com: Tencent, meituan, etc Saima.com: 360, Shunfeng, byte, etc Other small platforms or […]

  • JavaScript data structure series (1) one way linked list


    Singly linked list This chapter mainly introduces the one-way linked list. Before the implementation, let’s first talk about the realization of the specific structure technology of the related column node Node contains the reference of the next node and the previous node. The code implementation is as follows: class Node { constructor(value) { this.value = […]

  • Beidou time service equipment (Beidou time service system) industry


    Beidou time service equipment (Beidou time service system) industry Beidou time service equipment (Beidou time service system) industry Beijing Zhun electronic technology official micro enterprise — ahjzsz Throughout the history of China, Qin Shihuang’s outstanding achievements are not comparable to those of ordinary emperors. They not only established the Great Wall, which now ranks among […]