Raspberry school learning notes - temperature and humidity detection (local OLED display, ONENET cloud platform display)

Article catalog preface 1, Hardware connection 2, Raspberry pie enable I2C function 1. Enable I2C Kernel Module 2. Install I2C tools 3, Local temperature display 1. Installation luma.oled 's bag 2. Light up the oled screen 3. Local temperature and humidity detection 4, ONENET cloud platform displ ...

Added by matts12290 on Thu, 11 Jun 2020 10:48:32 +0300

Graphic io+BIO+NIO+AIO+Netty + chat room practice

The beginning of 2020 is extraordinary. I will stay at home and study io again io is divided into bio,nio,aio Among them, netty belongs to nio, and aio has not been widely used, so it has great potential in the future Understand several concepts Synchronous and asynchronous Blocking and non blockingio m ...

Added by PW on Wed, 10 Jun 2020 06:42:48 +0300

Implement simple chat function 1 to 1 based on netty (private message / group sending)

netty chat explain: My thoughts demonstration Chat server Chat initialization configuration Client processing message Front end code epilogue explain: I found that it takes a lot of energy to write a blog. In order to leave more time for promotion, I just post the code. Learning address: https: ...

Added by toppac on Sun, 07 Jun 2020 07:35:12 +0300

Talk about puma's DefaultTaskExecutor

order This paper focuses on puma's DefaultTaskExecutor TaskExecutor puma/puma/src/main/java/com/dianping/puma/taskexecutor/TaskExecutor.java public interface TaskExecutor extends LifeCycle { boolean isStop(); boolean isMerging(); void stopUntil(long timestamp); void cancelStopUntil(); void setContext(PumaContext context ...

Added by tsg on Wed, 03 Jun 2020 19:14:37 +0300

Asp.Net MVC based on Fleck's development of multi person web chat room

1, Core description of the project 1. Fleck is a relatively simple third-party component to implement websocket, which does not need to install additional containers. There are also several interfaces available. 2. The project is based on. net framework 4.7.2, developed on vs2019, and has not tried to run on the lower version. However, the new ...

Added by will_1990 on Sun, 31 May 2020 14:21:09 +0300

Istio traffic hijacking process

Opening The article about Istio traffic hijacking can be found in a very detailed article in the servicemesher community at present. You can refer to: Sidecar injection and transparent traffic hijacking in Istio . In particular, the "traffic hijacking diagram" collated by the blogger can clearly see the hijacking process. Here I use ...

Added by river001 on Fri, 29 May 2020 09:27:35 +0300

suricata uses pfring to monitor multiple network cards for error analysis and resolution

Problem scenarios We use Suricata for traffic analysis. Suricata is deployed on a 48-core physical machine with a multi-network card. Due to business needs, suricata's network card for monitoring traffic has been upgraded from 5 to 6, enp176s0f1 has been added, and several similar errors have been found in suricata's log: <Error> - [ERRC ...

Added by pandaweb on Tue, 26 May 2020 21:51:27 +0300

Five communication modes between processes

Source: https://blog.csdn.net/wh_sjc/article/details/70283843   IPC (InterProcess Communication) refers to the communication or exchange of information between different processes. IPC usually includes pipeline (including nameless pipeline and named pipeline), message queue, semaphore, shared storage, socket, Streams, etc. Soc ...

Added by ValdouaD on Mon, 18 May 2020 09:00:24 +0300

Illustrate IO models and related technologies for Linux

Blocking IO Model (Blocking I/O) The Linux kernel initially provides read and write blocking operations. When a client connects, a corresponding file descriptor (0 standard input, 1 standard output, 2 standard error output) is generated in the file descriptor directory of the corresponding process (/proc/process number/fd), such as FD 8, FD 9 ...

Added by eulalyn09 on Sun, 10 May 2020 11:54:46 +0300

Ctssecuritytestcases - listeningportstest locates tcp port and pid

Ctssecuritytestcases - listeningportstest locates tcp port and pid [problem description] cts failures armeabi-v7a CtsSecurityTestCases android.security.cts.ListeningPortsTest#testNoListeningLoopbackTcpPorts Tool: 9.0 μ R11 05-06 17:11:28.649 17375 17391 E TestRunner: android.security.cts.ListeningPortsTest$ListeningPortsAssertionError: 05-0 ...

Added by tibiz on Thu, 07 May 2020 19:59:45 +0300