Redis learning notes

Redis The REmote DIctionary Server(Redis) is a key value storage system written by Salvatore Sanfilippo. Redis is an open source log and key value database written in ANSI C language, complying with BSD protocol, supporting network, memory based and persistent, and provides API s in multiple languages. It is often called a data structure ...

Added by Paulus Magnus on Sun, 20 Feb 2022 03:18:24 +0200

4. Greed and non greed

1. Greed Greedy matching: when regular expressions contain qualifiers that can accept repetition, the usual behavior is to match as many characters as possible (on the premise that the whole expression can be matched). This matching method is called greedy matching. Features: read the whole string at one time for matching. Whenever there is ...

Added by cdrees on Sun, 20 Feb 2022 03:18:12 +0200

Differential-Prefix Sum

Prefix sum is an important preprocessing tool in the algorithm. Okay, I can't make it up anymore, it seems I don't have any [doge] Differential operations, which can be said to be the inverse of the sum of prefixes, are often used together with the prefix to solve some interval problems. Recently, I also encountered a lot of diffe ...

Added by jtp51 on Sun, 20 Feb 2022 03:14:19 +0200

C language classic 100 questions-1

C language classic 100 questions-1 C language classic 100 questions (1-10) Topic 1: there are 1, 2, 3 and 4 numbers. How many different three digits can be formed without repeated numbers? How much is it? Program analysis: the numbers that can be filled in hundreds, tens and single digits are 1, 2, 3 and 4. After forming all permutati ...

Added by killsite on Sun, 20 Feb 2022 03:03:14 +0200

Ethereum development strategy 7: Ethereum programming interface Web3 JS API: call contract

Ethereum development strategy 1: preparation part I: installation of various related tools and environment configuration Ethereum Development Strategy II: preparation Part II: Compilation and installation of Ethereum Ethereum development strategy 3: building Ethereum private chain (Mining Based on ethash consensus) Ethereum development strategy ...

Added by dai.hop on Sun, 20 Feb 2022 02:58:54 +0200

About my understanding of iteratable objects, iterators, generators

Iteratable object: An object that can return an iterator can be called an iteratable object. In essence, with__ iter__ Method is an iteratable object. In python, we can judge whether an object is an iteratable object through isinstance(). Common iteratable objects are: list, set, dict, tuple, str. In [1]: from collections import Iterable In ...

Added by ndorfnz on Sun, 20 Feb 2022 02:59:36 +0200

HTML learning -- advanced text formatting

Learning objectives: Today, we will learn more about the semantics of tags, know when and what tags they should use, and make the web page more readable, rather than a pile of meaningless tags. And on the basis of this study, carry out practical practice and complete an online blog article. Learning content: Semantization is the structure ...

Added by starrieyed on Sun, 20 Feb 2022 02:40:01 +0200

Read excel file with EasyExcel and transfer it to database

The project requires that the course data in excel file should be transferred to the database, and the data in excel should be classified. 0. Preface Introduction to the whole process Now in the controller, the name path is uploaded, and the excel file is uploaded by calling the method saveSubject(). In saveSubject() created in service ...

Added by eggradio on Sun, 20 Feb 2022 02:35:18 +0200

c language string function and memory function

Fill in the notes for a holiday. Maybe more than ten or twenty articles will be published this month. What is a string "hello world.\n" This string of characters enclosed in double quotation marks is called string literal, or string for short. The processing of characters and strings in C language is very frequent, but C language it ...

Added by acrayne on Sun, 20 Feb 2022 02:33:56 +0200

Calls and messages using Arduino and GSM modules

Original text: https://circuitdigest.com/microcontroller-projects/call-and-message-using-arduino-sim900-gsm Calls and messages using Arduino and GSM modules ARDUINO Pass by** Saddam **August 17, 2016 39 Sometimes, people find it difficult to use GSM module for its basic functions, such as calling, sending text messages, etc., especially in ...

Added by kendhal on Sun, 20 Feb 2022 02:25:15 +0200