Using RTThread and TouchGFX to realize DIY digital instrument -- synchronous weather information

catalog: 1. Using RTThread and TouchGFX to realize DIY digital instrument (1) -- using stm32ubmx5.6 to transplant touchGFX4.132. Using RTThread and TouchGFX to realize DIY digital instrument (2) -- porting TouchGFX to RTThread system3. Using RTThread and TouchGFX to realize DIY digital instrument (3) - obtaining temperature and humidity sens ...

Posted by neogemima on Sun, 03 May 2020 15:23:52 -0700

Simple implementation of Linux multi process CS server

Simple implementation of Linux multi process CS server server side Multi process realizes multi-user connection, i.e. one connection for each user. Here, the server is still used to capitalize the received string and return it to the client. code implementation #include <stdio.h> #include <string.h> #include <netinet/in.h> ...

Posted by allinurl on Sun, 03 May 2020 14:00:54 -0700

Build MVC project from scratch

Preface This article mainly records how to build an MVP architecture. At the same time, it realizes the network request by combining with the mainstream frameworks such as Retrofit,RxJava,Okhttp, which is convenient for later review and rapid development. Project subcontracting Base: put some base classes, such a ...

Posted by VapiD on Sun, 03 May 2020 11:56:40 -0700

Poj1459 power network (multi-source network flow, maximum flow, EK algorithm)

Description A power network consists of nodes (power stations, consumers and dispatchers) connected by power transport lines. A node u may be supplied with an amount s(u) >= 0 of power, may produce an amount 0 <= p(u) <= pmax(u) of power, may consume an amount 0 <= c(u) <= min(s(u),cmax(u)) of power, and may deli ...

Posted by monkeynote on Sun, 03 May 2020 10:39:31 -0700

tomcat8 configures boot under CentOS 7.5

This article references This article 1, Create a new file tomcat under / etc/init.d, and add the following content: #!/bin/sh # chkconfig: 345 99 10 # description: Auto-starts tomcat # /etc/init.d/tomcatd # Tomcat auto-start # Source function library. #. /etc/init.d/functions # source networking configuration. #. /etc ...

Posted by PLaT on Sun, 03 May 2020 09:54:31 -0700

Linux Phase 11: Ke keepalived High Availability Cluster

11. Ke keepalived Highly Available Clusters Chapter (1) Description of keepalived service concept What can keepalived do? The Keepalived software was originally designed for LVS load balancing software. Used to manage and monitor the status of each service node in the LVS cluster system, and later added VRRP capabilities that enable high availa ...

Posted by EvanMartin on Sun, 03 May 2020 07:46:07 -0700

Quickly build ETCD cluster

Get ready    prepare three Linux machines that can access each other. Take Centos 7 as an example: node1-192.168.22.117 node2-192.168.22.118 node3-192.168.22.119    turn off the firewalls of these three machines: systemctl disable firewalld.service systemctl stop firewalld.service install    etcd nee ...

Posted by birwin on Sun, 03 May 2020 06:40:46 -0700

Vue Getting Started Guide (5)

v-if and v-show Look directly at the v-if example <h1> v-if and v-show </h1> <div id="vue-app"> <button v-on:click="error=!error">Error</button> <button v-on:click="ok=!ok">Ok</button> <p v-if="error">Network connection error: 404</p> ...

Posted by DamianTV on Sun, 03 May 2020 03:22:41 -0700

The case of network programming based on HttpClient Download Text and picture download text and picture for Android

The case of downloading text and picture network programming based on HttpClient for Android 1, Operation effect 2, Implementation steps 1. Create android app DownloadTextImageByHttpClient 2, Main layout file activity main.xml <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://s ...

Posted by prasitc2005 on Sat, 02 May 2020 19:28:17 -0700

Python -- realize efficient port scanning

Please indicate the source of Reprint: http://blog.csdn.net/l1028386804/article/details/78996095 This paper is based on< Python -- Python nmap installation and common method description >To build an efficient port scanner case, please read the blog first< Python -- Python nmap installation and common method description>, Here, we ...

Posted by jesirose on Sat, 02 May 2020 14:55:33 -0700