Category:Program Language

  • Mybatis execution process, caching principle and related interview questions

    Time:2022-1-19

    1、 Mybatis execution process Specifically analyze how mybatis operates the database! 、 1. Define the path of our core configuration file. This path is found from target / classes! String config = “mybatis-config.xml” ; 2. Read the file represented by this config InputStream inputStream= Resources.getResourceAsStream(config); 3. Create sqlsessionfactorybuilder object SqlSessionFactoryBuilder builder = new SqlSessionFactoryBuilder(); 4. […]

  • Special summary of leetcode sword finger offer II tree (Part I)

    Time:2022-1-19

    Blog home page:⭐ This is a little Yibai blog duck~ ⭐ ️ welcomefollow ❤️give the thumbs-upCollection ⭐ ️comment XiaoyibaiIt is preparing for war practice and is updated frequentlyInterview questionsandLeetcode problem solving, welcome like-minded friendsCommunicate with each other~ If you have any questions, please correct them. Remember to pay attention. Thank you~ There are a lot […]

  • Cloud function hiding C2 server

    Time:2022-1-19

    Cloud function hides C2 server (you can configure it manually) 0x01 Preface The pit they stepped on was mainly1. Http: / / and: 80 should be removed from the online address Based on CS, there are many ways to hide C2 server, which are common as follows: Domain prefix CDN Third party agent software (heroku) […]

  • Analysis of Perl command line parameter built-in array @ argv

    Time:2022-1-19

    When the Perl script runs, the parameters passed to it from the command line are stored in the built-in array @ argv, @ argv is the array used by Perl to receive parameters by default. There can be multiple parameters, $argv [0] represents the first received parameter and $argv [1] represents the second.Usage: Copy codeThe […]

  • Detailed explanation of the strategy model of the basic design model of go language

    Time:2022-1-19

    catalogue summary Multiple treatment methods for the same type of problems 1、 Do not use policy mode 2、 Strategy mode UML summary Example summary Define a series of algorithms and encapsulate each algorithm. And let them replace each other. The policy pattern allows the algorithm to change independently of the customers who use it. Multiple […]

  • Lua detects whether an array (tAbbLe) contains a value

    Time:2022-1-19

    1、 DetectionarrayDoes the contain a value ? 1 2 3 4 5 6 7 8 9 –Traversal array function IsInTable(value, tbl) for k,v in ipairs(tbl) do   if v == value then   return true;   end end return false; end 2、 Lua determines whether an array exists for a character Judge whether the character B exists in […]

  • Do you understand the timeout delivery of microservices?

    Time:2022-1-19

    Why do I need timeout control? A common problem in many cascading failure scenarios is that the server is consuming a lot of resources to process requests that have already exceeded the deadline of the client. As a result, the server consumes a lot of resources and does not do any valuable work. It is […]

  • Precautions for using the third parameter (start) of InStrRev function in vbs

    Time:2022-1-19

    The InStrRev function in VBS has been used a lot, but the third parameter has hardly been used. Today, I found that the usage of the third parameter is different from what I thought. The InStrRev function is described in this document: Copy codeThe code is as follows: Returns the position from the end of […]

  • Introduction to natural language processing in Python

    Time:2022-1-19

    The goal of this tutorial is to enable you to analyze text data in Python through the concept of natural language processing (NLP). You will first learn how to mark text as smaller blocks, normalize words to their root form, and then remove any noise from the document in preparation for further analysis. Let’s start! […]

  • Nginx advanced (IV) nginx direct Memcache

    Time:2022-1-19

    Series articles: Nginx advanced part (I) reverse agent to realize dynamic and static separation What is load balancing Nginx advanced part (III) implementation of load balancing Nginx advanced (IV) nginx direct Memcache Nginx can directly connect to Memcache, which is at least 6 times faster than forwarding to PHP through nginx and then accessing the […]

  • C + + bottom line (continuous update)

    Time:2022-1-19

    catalogue Header file The difference between “” and < > Belt H and without H difference Difference between C prefix and no C prefix Macro definition Special symbols: #, ###@ Prevent a header file from being included repeatedly Do while action Usage of undef Bracketed function reference material Header file The difference between “” and […]

  • This week in Databend #15

    Time:2022-1-19

    Databend aimed to be an open source elastic and reliable cloud warehouse, it offers blazing fast query and combines elasticity, simplicity, low cost of the cloud, built to make the Data Cloud easy. Big changes Below is a list of some major changes that we don’t want you to miss. Features support add api and […]