Tag:address

  • Some common wrong usages of pointer in C language

    Time:2021-4-20

    A good pointer is like divine help. If you don’t use it well, you will complain. But most people don’t use it well, so many languages later encapsulated and shielded the pointer. For example, Java and Java do not have pointers, but pointers are used in many places, but they are not open to users. […]

  • Installing mongodb in Windows

    Time:2021-4-20

    1 download installation files Download address:https://www.mongodb.com/try/download/community Note: at present, the latest version of the official website is 4.4.4, but when you install it on the windows 7 operating system, you will be prompted MongoDB application is only supported on Windows 10/Windows 2016 or later Finally, find a solution in the official document. According to the […]

  • A brief introduction to various JavaScript parsers

    Time:2021-4-19

    Author:sea All kinds of JS parsers are the cornerstone of front-end engineering. It can be said that without it, many engineering can not be executed normally. Behind the Babel, webpack, eslint and typescript that we use every day, we need a set of corresponding JS parsers. Today, let’s take a look at the common parsers […]

  • On the effect of dictionary storing different types of variables

    Time:2021-4-19

    Recently, I’m writing a small tool, which uses a custom class and needs to instantiate the class. Because we need to get different instances according to the requirements, we decided to put them into a dictionary for easy access. In addition, because the content of instantiation may be changed later, we prepare to encapsulate the […]

  • Transaction of BTC

    Time:2021-4-18

    BTC deal Each transaction has at least one input (txin) and at least one output (txout) except coinbase. The transaction model of bitcoin is utxo (unspend transaction output), that is to say, only the unused bitcoin output is recorded, and each transaction costs one or more previous outputs. Transaction important information { “version”: 1, “locktime”: […]

  • Front end interview daily 3 + 1 – day 425

    Time:2021-4-18

    Today’s knowledge point (June 14, 2020) – day 425(I’m going to ask questions, too) [html] What’s the difference between websocket and HTTP? [css] What is the function of Min content and Max content of width attribute? [js] Tell me about your understanding of JS sandbox, what are its application scenarios? [soft skills]What do you do […]

  • Front end interview day 3 + 1-557

    Time:2021-4-18

    Today’s knowledge point (October 24, 2020) – day 557(I’m going to ask questions, too) [html] What is the difference between touch screen events and mouse events in HTML5? [css] How do you organize CSS and JavaScript code? What are the principles? [js] How to use js to change the URL parameter value without refreshing the […]

  • Tips! How to store custom structure in set?

    Time:2021-4-18

    This question is a little question mark that popped up when I wrote leetcode-141There are two ways to judge whether a linked list has a ring: one is the speed pointer, and the other is to save the address of a node into the set every time it encounters itfind(a)!=s.end();It means there is a ring. […]

  • Ketchup registry use

    Time:2021-4-17

    Ketcup git address: https://github.com/simple-gr/ketchup Consumer installation  1.docker pull consul  2.docker run –name=consul –restart=always -d -p 8500:8500 consul 3. Open UI in browser: http://192.168.180.55 :8500   The picture represents success. Configure consumer in ketchup “Consul”: { “Connectionstring”: “127.0.0.1:8500”, // connect address “Ishealthcheck”: true // do you want to perform health check } Start the server program […]

  • Front end interview daily 3 + 1 – day 278

    Time:2021-4-17

    Today’s knowledge (January 19, 2020) – day 278 [HTML] how to disable HTML page caching? [CSS] talk about your understanding of CSS composition and hybrid mode [JS] write a method to judge whether a number is an integer [soft skills] what are the HTTP requests besides get and post? Tell me about your understanding of […]

  • PHP distributed socket IO initial version online!

    Time:2021-4-16

    A series of articles: What kind of open source project based on hyperf is more challenging or can you exercise your code ability? PHP distributed socket IO initial version online! Please do not use it in production environment for the time being The project is still under development and optimization Socket-IO Upgrade again, this version […]

  • In NPM package.json And package- lock.json The difference between

    Time:2021-4-16

    package.json Reference for practical use in NPMBasic use of NPMThis article, the next main explanationpackage-lock.jsonUse and relationship withpackage.jsonIt’s different NPM 5 didn’t have it beforepackage-lock.jsonThis file needs to save the dependency information, which should be added every time you install it–saveParameter; npm5 later version addedpackage-lock.jsonDocuments. When installing a package, you don’t need to add–saveParameter, which […]