Using Blink SQL+UDAF to realize difference aggregation calculation

According to the real business requirements of a power grid company, this case realizes the difference aggregation calculation on the real-time flow through Blink SQL+UDAF. Through this case, the readers are familiar with UDAF writing and understand the method invocation relationship and order in UDAF. Thank you @ commander for your guidance in ...

Added by stalione on Fri, 08 May 2020 12:15:27 +0300

De1ctf 2020 web [hard ﹣ pentest ﹣ 1] character free injection & SYSVOL restore group policy password

Open the source code directly, see that it is a file upload, check the file size and pass a Check() function judgment, and take a look at the Check() function function Check(){ $BlackExts = array("php"); $ext = explode(".", $_FILES["file"]["name"]); $exts = trim(end($ext)); $file_content = file_get_contents($_FILES["file"]["tmp ...

Added by mrjameer on Thu, 07 May 2020 10:23:40 +0300

C ා basic knowledge series - 17 practical writing a small tool

0. Preface This is a summary of the C ා Foundation Series. Now we use the knowledge we learned before to make a small tool for us to use. If you have read the IO article, you should have an impression. At that time, I mentioned a scenario description. When we use the system, we often worry about finding the location of a file. Now let's try to ...

Added by bampot on Thu, 07 May 2020 08:46:29 +0300

Reptile small case: suitable for Python zero foundation, reptile data collection interested students!

Preface The text and pictures of this article are from the Internet, only for learning and communication, not for any commercial purpose. The copyright belongs to the original author. If you have any questions, please contact us in time for handling. When I was a child, I always had 100000 questions about why. Today, I take you to climb a quest ...

Added by javamint on Wed, 06 May 2020 10:44:25 +0300

The method of modifying and listening IP address in oracle

Modifying and listening IP address of oracle Reference and combine these two blogs Modifying and listening IP address of oracle Oracle modify listening IP address In a very simple way, the problem of monitoring is solved. Now let's combine and rearrange it 1. In cmd, enter hostname discovery hostname 2. Modify the ...

Added by ubunken on Tue, 05 May 2020 23:03:59 +0300

20 regular expressions are often used in front-end development.

1. Verify password strength: the strength of password must include the combination of upper and lower case letters and numbers. Special characters cannot be used, and the length is between 8 and 10 ^(?=.*\\d)(?=.*[a-z])(?=.*[A-Z]).{8,10}$ 2. Check Chinese: the string can only be Chinese ^[\\u4e00-\\u9fa5]{0,}$ 3 ...

Added by sols on Mon, 04 May 2020 03:23:55 +0300

C ා generics - unpacking and type safety, Java generics are syntactic sugar

Now, netcore 3.1 and the latest. Netframework 8 have not been criticized as the ArrayList, but it's a coincidence that this thing has to be said, because it determines that the C ා team changes its ways, abandons the past and starts again, and the last ArrayList case code. public class ArrayList { private object[] items; privat ...

Added by arjuna on Sat, 02 May 2020 20:10:09 +0300

[iOS] prevent users from screenshots

[iOS] prevent users from screenshots Yesterday, the product asked me for new requirements, saying that the boss thought the information in the app was very important, and asked to add restrictions on users' screenshots. At that time, I refused. I told him that this could not be realized. The screenshot of Home+Power was that the system oper ...

Added by AShain on Sat, 02 May 2020 15:07:36 +0300

Summary of JavaScript this

Reference documents: https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Operators/this Due to the lack of front-end in the project team, I sent it from the back-end to the front-end. I started to develop it a week later. The front-end 0 foundation, Alexander. I've been struggling all morning to understand the horror of JavaScr ...

Added by abkdesign on Sat, 02 May 2020 05:47:39 +0300

Using Python to uncover how the melon eaters think of Luo Zhixiang's incident

    Preface Recently, the entertainment industry can be said to be bustling. Before, there was a bully president who loved Xiao San, the palace was torn and forced to be a red girl in the net, and after that, there was a sunny boy named Show Luo, who was robbed of his reputation by Zhou Yangqing. It's hard for ordinary people to understand th ...

Added by r_a_s_robin on Sat, 02 May 2020 03:07:36 +0300