Tag:function

  • A text to clarify the context in JavaScript

    Time:2020-9-23

    background This article is part of “in 2019, after reading this one, I will no longer be afraid of the front-end interview” Refer to what I wrote beforeBlogAnd extradata, share it to you, hope to bring some to youInspiration and help。 For reprint, please contact the author for permission. text contextIt is an important concept […]

  • About the bloon filter

    Time:2020-9-23

    Bloom filter What, why, how; what is it, why and how to use it What is it? The bloon filter is a spatial saving probability data structure. The design is designed to determine whether an element is in a collection. There are only two results, one is possible, the other is that it must not […]

  • 1. Go Basics

    Time:2020-9-23

    1. The main features of go language Automatic garbage collection Richer built-in types Function multiple return values error handling Anonymous functions and closures Types and interfaces Concurrent programming reflex Language interactivity 2. The $gopath directory convention has three subdirectories SRC stores the source code (such as. Go. C. H.S, etc.) according to the default agreement […]

  • QT realizes the function of HTML to PDF on Android platform

    Time:2020-9-23

    Qt for Android Qt for Android enables you to run Qt 5 applications Android devices. All Qt modules (essential and add-on) are supported except Qt WebEngine, Qt Serial Port, and the platform-specific ones (Qt Mac Extras, Qt Windows Extras, and Qt X11 Extras).   On windows or Linux platform, qtwebengine module can be used to […]

  • Programmers must be artifact! Shell Scripting best practices

    Time:2020-9-23

    Author: MythsLink: https://blog.mythsman.com/201… preface Due to the need of work, recently started to tidy up shell scripts. Although most commands are usually used by themselves, they are always ugly when they are written into scripts. And when I look at scripts written by others, I find it hard to read. After all, shell script is […]

  • Interesting algorithm: JS implementation of red rope algorithm (matching the right other half)

    Time:2020-9-23

    Today’s theme Why invent the red rope algorithm? Because I started an event in my circle of friends So what data did you leave? It means two key data:city + number(special characters) Analyze the significance of this data City: the city where the data person is located, but the cars, horses and letters are very […]

  • Illustration of solid principles around you – JS example version

    Time:2020-9-23

    Last time the author translated an illustrated solid principle See: illustration of solid principle around you Two days later, I found that someone added some JavaScript examples to the article. After reading the example, it was not bad. This time I also translated it. Some examples were deleted~ Let’s not say much about the concept […]

  • Oracle foundation — single line function (type conversion function)

    Time:2020-9-23

    Oracle foundation — single line function (type conversion function) In the process of performing operations, it is often necessary to convert one data type to another. Data conversion is divided into implicit conversion and explicit conversion. Implicit conversion is completed automatically, and explicit conversion must be realized by conversion function. function describe TO_CHAR(date,’format’) Converts a […]

  • Creating git flow workflow with sourcetree

    Time:2020-9-23

    brief introduction Gitflow defines the naming of some branches: A kind of feature_ : to add new features release_ : gather the functions required by the next version, fix the bug here, and prepare for publication. Enter_ master A kind of hotfix_ : old features that have been published need to be corrected 1、 Initialize […]

  • Ajax getting node server data

    Time:2020-9-23

    1. Preparation Because it is to put the data obtained by the server in the web page, it is necessary to render the page. Here I prepare the art template template 2. Server preparation The server is ready to render data to the page 3. Page operation What I’m doing here is a search box. […]

  • Play, drop-down refresh, refresh

    Time:2020-9-23

    FWidgetWe provide exquisite components to help you build beautiful applications. Now, developers, please pay attention. Think about it. How can we build the visual effect in the following figure? After the rapid rotation of the brain, perhaps we will eventually find that there is a trick in this! Well, it’s not an easy thing. In […]

  • Solidness programming strategy for smart contract

    Time:2020-9-23

    preface As a senior code farmer who has moved bricks for many years, I feel helpless when I first contact solidity: expensive computing and storage resources, simple syntax features, crazy debugging experience, nearly barren class library support, and inserting assembly statements when one word doesn’t agree People can’t help but wonder, this has been 9012 […]