Linux eBPF program composition and communication principle
About the author: daemon Wu, Linux kernel performance optimization engineer, works in a micro mobile phone factory, engaged in mobile phone performance optimization. Motto: unity of knowledge and practice.Original creation: all kinds of community original good articles delivered by taixiao readers.Copyright notice: This article was first publis ...
Posted by crzyman on Tue, 08 Mar 2022 14:34:52 +0100
JavaScript personal learning notes Summary - jQuery
contentwebsiteJavaScript personal learning notes Summary - quick starthttps://blog.csdn.net/weixin_50594210/article/details/115112096?spm=1001.2014.3001.5501JavaScript personal learning notes Summary - functionhttps://blog.csdn.net/weixin_50594210/article/details/115113081?spm=1001.2014.3001.5501JavaScript personal learning notes Summary - ...
Posted by jvanv8 on Tue, 08 Mar 2022 14:32:37 +0100
Several commonly used design patterns: design principle, strategy pattern and observer pattern
Several commonly used design patterns (I): design principle, strategy pattern and observer pattern
Core: reuse - resist change
Object oriented design principles:
1. Dependency Inversion Principle (DIP)
High level modules (stable) should not rely on low-level modules (change), but both should rely on abstraction (stable). Abstract (st ...
Posted by jmicozzi on Tue, 08 Mar 2022 14:30:24 +0100
Bitwise operator in C language
1, Bitwise logical operator
1. Binary inversion or bitwise inversion:~
Unary operator ~ changes 1 to 0 and 0 to 1. example:
~(10011010) // expression
01100101 // result
newval = ~val; // The value of Val will not change, and val will be inversely assigned to newval
2. Bitwise AND:&
Binary operator &, which compares an operand ...
Posted by Ash3r on Tue, 08 Mar 2022 14:14:21 +0100
Extension of xpath location method for web automation
1, Introduction to xpath
xpath is an XML path language, which can be used to determine the location of elements in XML documents and find elements through element paths. HTML is an implementation of XML, so xpath is a very powerful positioning method.
1. Formula: / / tag name [@ attribute = 'value of attribute']
//*[@ id="kw"] -- r ...
Posted by ctimmer on Tue, 08 Mar 2022 14:04:01 +0100
STM32F4--PWM control LED flickering (breathing lamp)
1, Experimental principle
Analysis: the clock is 84Mhz, the frequency is 84, the ARR is set to 500, the clock obtained by the counter is 84M/84=1 Mhz, and the counting time is 0.5ms In the main function, the modification time I set is 2ms once. As shown in the figure, set PWM1 mode, and the output polarity low level is valid. That is, when t ...
Posted by ttmt on Tue, 08 Mar 2022 13:58:08 +0100
Help little sister crack the encrypted compressed package -- brute force cracking dictionary generation
introduction
Some time ago, a young lady downloaded an encrypted compressed package resource, which is the latest movie in release, so she found me and asked me to help her crack it.
The blogger thought it was not easy, so he went to the Internet to find a compressed package password cracking software, but when using it, he found that he c ...
Posted by visualed on Tue, 08 Mar 2022 13:58:15 +0100
node.js link database
node.js link database
1. Premise
The computer has node installed. You can use the win+R key, enter cmd, and then enter node -v to check the version; Then enter npm -V to check the installed version of npm After all the above, create an empty folder named projects, which creates three empty folders: JQ, HTML and API In the jq folder, impo ...
Posted by jibosh on Tue, 08 Mar 2022 13:55:17 +0100
Basic explanation of Python crawler: data persistence -- Introduction to json and CSV modules
json
Purpose:
Encodes Python objects into JSON strings and decodes JSON strings into Python objects.
The JSON module provides an API to convert Python objects in memory into JSON sequences. JSON has the advantage of being implemented in multiple languages, especially JavaScript. It is widely used in the communication between Web server and c ...
Posted by bam2550 on Tue, 08 Mar 2022 13:50:15 +0100
Rasa course, rasa training and rasa actual financial banking robot micro service call word slot Explain function
Rasa course, rasa training and rasa actual financial banking robot micro service call word slot Explain function
Rasa 2.x
Financial services example robot: This is an example chat robot that shows how to build AI assistants for financial services and banking. This starter kit can be used as a basis for your own development or as a reference g ...
Posted by petitduc on Tue, 08 Mar 2022 13:46:00 +0100