Making classic games with pygame: Gobang

Get ready Basic python preparation: Fundamentals of pygame, refer to Eye Blog's "Write games with Python and Pygame - from getting started to mastering" Install python 3.8.0 to download on python's official website, not to mention more. Install pygame, command: pip install pygame If the installation is slow, you can change the pip so ...

Added by rohithmr on Tue, 05 May 2020 20:13:13 +0300

ELKB 7.X log system construction

Catalog What is ELKB Building ELKB system Problems to be noticed during construction What is ELKB ELKB is a popular solution for log system, which is composed by a set of components. This set of components are ElasticSearch, LogStash, Kibana and FileBeat. The functions of each component are as follows: Elastic search (es): Based on Apa ...

Added by rmt123 on Tue, 05 May 2020 16:58:56 +0300

ios trust server certificate

When we use https to make network requests, we will receive the certificates from the server. These certificates are divided into agency certificates and certificates issued by ourselves. In ios, if we are going to request an organization certified to send an https request, we don't need to process it. But if it is a self signed certificate, we ...

Added by svihas on Mon, 04 May 2020 19:46:49 +0300

Shortest path problem [SSL 1613]

subject Description There are n points (n < = 100) in the plane, and the coordinates of each point are between - 10000 and 10000. There is a line between some of these points. If there is a line, it means that there is a path from one point to another, that is, there is a path between two points, and the distanc ...

Added by nathus on Mon, 04 May 2020 15:15:57 +0300

Build LVS-DR load balancing cluster and maintained LVS high availability load balancing cluster

18.11 LVS DR mode construction preparation Three machines have public IP. Scheduler (director) IP: 192.168.230.135 real server1(real1) IP: 192.168.230.130 real server2(real2) IP: 192.168.230.145 VIP: 192.168.230.200 Start building Configure director [root@cham002 ~]# vim /usr/local/sbin/lvs_dr.sh #! /bin/bash echo 1 > /proc/s ...

Added by buddysal on Mon, 04 May 2020 07:27:43 +0300

Using keras to build CNN network to identify CIFAR10

brief introduction On the previous blog: Introduction to CNN network in the introduction series of data mining (11.5) In this blog, we will use code to explain how to use keras to build a CNN network to train CIFAR-10 dataset. If you are not familiar with keras, you can take a look Official documents . Or take a look at my previous blog: Int ...

Added by mjohnson025 on Mon, 04 May 2020 06:47:25 +0300

Using WebSocket under Tomcat

Environmental Science tomcat 9 JDK8 web project with framework Use Jar package selection Because the packages used in the online tutorials are many and miscellaneous, the average person may not see how to use them. In fact, the choice is very simple J2EE: Java EE API with J2EE Others: javax.websocket tomcat: built in websocket API ...

Added by mbh23 on Sun, 03 May 2020 09:57:12 +0300

Android basic web communication

1, History of development 1G analog mobile phone, voice only2G digital mobile phone, adding functions such as receiving data3G smart phone has become a new generation of mobile communication system that integrates voice communication and multimedia communication, and includes value-added services such as image, music, web browsing, conference ...

Added by tonbah on Sat, 02 May 2020 19:11:32 +0300

Linux learning notes - supplemental

1.find command Command format: find directory condition value 1.find -name find /etc/ -name passwd ##Find the file named passwd under / etc 2.find -user -group -a -o -not find /mnt -group root find /mnt -user westos find /mnt -group root -user student ##and find /mnt -group root -a -user student ##Both c ...

Added by GaryC on Fri, 01 May 2020 11:04:56 +0300

Recommend a better HTTP(S) proxy server than fiddlecore

Original text: Recommend a better HTTP(S) proxy server than fiddlecore Why not Fiddler core? When it comes to Fiddler core, you may not be familiar with it, so its brother Fiddler is familiar with it. I usually use it to grab packets, simulate low bandwidth, and modify requests. Fiddler is essentially an HTTP proxy server. FiddlerCore is ...

Added by Valdhor on Tue, 28 Apr 2020 12:22:48 +0300