ADC experiment (internal temperature sensor experiment) (photosensitive sensor experiment)

Introduction to Internal Temperature Sensor STM32 has an internal temperature sensor that can be used to measure the temperature of the CPU and its surroundings (the internal temperature sensor is more suitable for detecting temperature changes. When precise temperature measurement is required, an external sensor should be used). For STM32F103, the temperature sensor is internally […]

Operations of hive internal tables and external tables

Table of Contents Create table statement type of data Classification of tables Classification The difference between internal tables and external tables Example Basic operations of internal tables Knowledge points Example Basic operations of external tables Example View/modify table Knowledge points Example Default separator Example quick mapping table Knowledge Example Data import and export File data […]

Technical breakdown | Why does Redis use different encodings internally?

One weekend night, I suddenly received a wave of alarms about increased time consumption. After a closer look at the alarm message, it turned out that a slow check request occurred, which caused a significant increase in cluster time consumption. At this time, business students also received alarms that upstream services were affected. During the […]

Yunchen Shooting Range Medium_Socnet The internal network is docker. There is no site agent. There is no privilege escalation method for gcc. Solve the problem that ldd is too high and cannot execute exp. Specify the so file.

First, we can scan the current intranet through arp-scan. But I don’t know why it can’t be scanned out. Then we can use fscan to get the survival The scan here generally only opens port 22. So we use nmap for information collection scanning nmap -sS -sV -A -p- 172.25.0.13 Perform version service scanning through […]

Design ideas for internal calls of interfaces between microservices (server side)

Foreword First of all, when it comes to internal calls between interface microservices, the most important thing to consider is how the service provider can dynamically identify which interfaces need to be exposed, without opening the access scope too large to avoid security issues. Secondly, how to ensure that these exposed interfaces can normally accept […]

Customize SpringMVC interceptor to implement internal and external network access control functions

This article briefly introduces how to customize a SpringMVC interceptor and implement specific functions through the interceptor. First, you need to create a custom interceptor class that implements the HandlerInterceptor interface. package cn.edu.sgu.www.mhxysy.interceptor; import cn.edu.sgu.www.mhxysy.feign.FeignService; import cn.edu.sgu.www.mhxysy.property.NetworkProperties; import cn.edu.sgu.www.mhxysy.restful.JsonResult; import cn.edu.sgu.www.mhxysy.restful.ResponseCode; import cn.edu.sgu.www.mhxysy.util.IpUtils; import com.alibaba.fastjson.JSON; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframework.stereotype.Component; import org.springframework.web.servlet.HandlerInterceptor; […]

Linux-kylin or ubuntu, configure IP, bind network port, container network isolation, internal and external communication

ip configuration Effective permanently or temporarily If it involves production, the mac address of the network port of each machine is different. For different systems, ubuntu and centos have different modification methods. Application scenario, based on the domestic system kylin, each production machine needs to maintain the same network port name When booting, the kylin […]

A brief analysis of the internal workflow of notifyDataSetChanged

First of all, we know that notifyDataSetChanged is a method of Adater. It is mainly used to notify ListView and tell it that the data of Adapter has changed and the display of ListView needs to be updated. Therefore, when the data content of Adapter changes, notifyDataSetChanged() method will be called. Take a look directly […]