Verdaccio tool to build NPM private repository

Foreword In the process of building the project, in order to improve the reusability and development efficiency of the project, dependent package resources such as editor packages, development scaffolding, and front-end component libraries are managed on npm, because source code and sensitive data are involved, security and In terms of ease of use, build an […]

How to use Aced to analyze DACL of Active Directory

About Aced Aced is a security detection and analysis tool for Active Directory. This tool can help researchers parse the DACL of a single target Active Directory. Aced can identify suspicious inbound access against a target account, parse the SID of the inbound access, and present that data to researchers. In addition, Aced also integrates […]

STM32F407 uses Helix library to soft-decode MP3 and output it through DAC, the most streamlined STM32+SD card realizes MP3 player

Only use STM32 microcontroller + SD card + headphone socket to realize playing MP3 player! I have seen many STM32 soft MP3 decoding solutions, that is, directly using STM32 and software libraries to decode MP3 files without going through a decoder chip like VS1053. Usually, labmad or Helix decoding library is used. Helix takes up […]

[Attach source code] STM32F103C8T6+ external MCP4725 external DAC

About the DAC of stm32f103c8t6 The STM32F103C8T6 minimum system board is a very commonly used single-chip microcomputer. It has multiple ADC analog-to-digital conversion channels inside, but there is no DAC digital-to-analog conversion function. When it is necessary to convert digital quantities to analog quantities, an external DAC is required. About MCP4725 The MCP4725 is a […]

Privilege SystemPrivilege System Design Model Analysis (DAC, MAC, RBAC, ABAC)

Terms Here is an explanation of the vocabulary that will be used later. Veteran drivers, please turn directly to Common Design Patterns. Users The principal that initiated the operation. Object (Subject) Refers to the target object of the operation, such as order data or image files. Access Control List (ACL: Access Control List) A data […]

DAC-ADC-DSP library FFT to get sine wave frequency

DSP and FFT Addition of DSP library cubemx configuration Download DSP library Add DSP library to the project Project Configuration Add macro ARM_MATH_CM4, __CC_ARM, ARM_MATH_MATRIX_CHECK, ARM_MATH_ROUNDING The first macro: M3:ARM_MATH_CM3 M4:ARM_MATH_CM4 H7:ARM_MATH_CM7 include #include “arm_math.h” #include “math.h” #include “arm_const_structs.h” #include “arm_const_structs.h” If the library generated by cubemx does not exist, you can find the board […]

STM32F4-ADC/DAC

ADC ADC: Refers to analog/digital converter or analog/digital converter: refers to a device that converts a continuous variable analog signal into a discrete digital signal. A typical analog/digital converter converts an analog signal into a digital signal representing a scaled voltage value. Successive comparison ADC: The basic principle is to test and compare bit by […]

The problem of repeated Kafka messages that is a headache at the first touch can be solved immediately

1. Foreword The problem of data duplication is actually quite normal, and the entire link may cause data duplication. Usually, a certain number of retries is set during message consumption to avoid the impact of network fluctuations, and at the same time, the side effect is that message duplication may occur. Sort out several scenarios […]