Tag:parameter

  • Canvas draws poster + QR code to satisfy most scenes

    Time:2020-9-26

    canvas_x No need to rely on any third party, lightweight tool library.Canvas draws the poster and generates the QR code with logo. It can also generate editing interface, user-defined input, one key generation and so on Cross domain image is enabled by default, but the server-side images also need corresponding cross domain settings on the […]

  • PHP mysqli_ stmt_ bind_ Param mysqli function

    Time:2020-9-26

    Definition and Usage mysqli_stmt_bind_param– bind variables to prepared statements as parameters Version support PHP4 PHP5 PHP7 I won’t support it support support grammar mysqli_stmt_bind_param ( mysqli_stmt $stmt , string $types , mixed &$var1 [, mixed &$… ] ) Pass to mysqli_ In the SQL statement of prepare(), bind variables for parameter markers. be careful: if […]

  • Embracing fastapi: three parameters and verification

    Time:2020-9-26

    A few days ago, I wrote an advanced multi application management blueprint apirouter about fastapi. It may seem a little confused to some friends who have no foundation, so we will update them in the order from shallow to deep. Remember to pay attention to it Let’s take a look at the outstanding features of […]

  • Nullable in OC__ nullable、_ Nullable

    Time:2020-9-26

    reason In swift, we use?and!To explicitly declare the parameters of an object or method areoptionalstillnon-optionalHowever, there is no such distinction in Objective-C, which leads to a problem: When swift and Objective-C are mixed, swift compiler does not know whether the parameters of an Objective-C object or method areoptionalstillnon-optionalIn this case, the compiler implicitly assumes thatnon-optionalThis […]

  • A encapsulation practice of Android native SQLite database

    Time:2020-9-26

    This article starts with WeChat official account of vivo Internet technology.Link: https://mp.weixin.qq.com/s/CL4MsQEsrWS8n7lhXCOQ_gAuthor: Li Bingyan This paper mainly describes an ORM encapsulation practice of native SQLite database, which brings some enlightenment and reference significance to the business scenarios using native database operation (such as: it is an SDK itself). It also follows the implementation ideas of […]

  • Basic components of microservice open source framework tars

    Time:2020-9-25

    author herman Introduction This paper is based on one of Herman’s series of articles, “basic components of goose factory open source framework tars”. The relevant code has been updated according to the latest version of tars open source community. In the tars open source framework library, C + + is used to implement more common […]

  • Mybatis traversal tag value transfer

    Time:2020-9-25

    When we want to batch operate the database based on multiple IDS, we usually use the mapper.xml The file will traverse multiple IDS through the < foreach > tag. However, a collection parameter needs to be passed in the < foreach > tag. For example, if you pass in integer [] IDS, collection = IDS, […]

  • Graphic realization principle of promise (4) — Realization of promise static method

    Time:2020-9-25

    This article starts with WeChat official account of vivo Internet technology.Link: https://mp.weixin.qq.com/s/Lp_ 5BXdpm7G29Z7zT_ S-bQAuthor: morrain A promise object is provided natively. For more information on promise, please refer to Ruan Yifeng’s ES6 introduction promise object. Many students are learning promise, but they don’t know why. They can’t understand the usage of promise.This series of articles […]

  • Generation and use of GPG key

    Time:2020-9-25

    1、 Introduction Recently, when connecting with the bank, the bank requires PGP to encrypt the data file. First of all, we need to generate a key pair, Then the public key is exported to the other party, and the private key is exported for decryption of the following program. About the basic introduction of GPG, […]

  • Ajax common functions;

    Time:2020-9-25

    <!DOCTYPE html><html><head><meta charset=”UTF-8″><title>Insert title here</title></head><body> <h1>The Jquery ajax</h1> <fieldset> <legend>jquery</legend> <button onclick=”doGet()”>$get(…)</button> <form> Input: < input type = “text” name = “name” > < input type = “button” Onclick = “dopost()” value = submit “>” </form> <span id=”resultId”></span> </fieldset> <! — introduce jQuery package — > <script type=”text/javascript”></script> <script type=”text/javascript”> 1. This is the get […]

  • IOS basic tutorial SQLite database

    Time:2020-9-24

    The student list management interface realizes the operation of adding, deleting and modifying the database The most basic database operation is to add, delete, change, query four functions Modifying the data is divided into several steps in the figure below Step 1 SQLite3_ Open open databaseStep 2 SQLite3_ prepare_ V2 preprocessing SQL statement operationsStep 3 […]

  • Let’s learn Lua: coroutine 2

    Time:2020-9-24

    Hello everyone, I’m full of coquettish. Here we are. Today we’re going to learn the usage of lua cooperative program. My friends are ready to drive. I think it’s a bit off topic, but it doesn’t matter. You can just take it as if you didn’t see it (o ^ ~ ^ o)) The main […]