Article. Page 101



Prototype pattern of Java design pattern (creation pattern)

Definition: prototype pattern is to use prototype instances to specify the type of objects to be created, and to create new objects by copying these p...
12:12 4 November 2019

Gorang as the server, C (unity) as the client, Socket communication problems

Server datalen + message ----- > packagedata ----- > network transmission ([] byte) ---- > client ----- > unpackedata ----- > datalen +...
11:53 4 November 2019

Sorting List in Java

scene Bean is defined as follows, with only one age field of type Integer. @NoArgsConstructor @AllArgsConstructor(staticName = "of") @Data p...
11:38 4 November 2019

POJ 2965 The Pilots Brothers' refrigerator

http://poj.org/problem?id=2965 Method 1: I changed it according to 1753. I enumerated directly from 0 to 16. Some redundant code that does not affect ...
11:22 4 November 2019

Display the current process memory usage value in Unity3D by calling CPP DLL under PC

After parsing MIDI, CSharp wants to write a memory occupation display. Generally, when writing CPP programs, it likes to check the memory and prevent ...
11:11 4 November 2019

Thread sharing and collaboration in concurrent programming

For more advanced video learning of Android architecture, please click: https://space.bilibili.com/47...This article will discuss thread sharing and c...
10:39 4 November 2019

"ZJOI2014" is brilliant

"ZJOI2014" is brilliant In fact, you don't have to build a crystal cube Because, the direction of luminescent crystal should enumerate ...
10:30 4 November 2019

Django Rest framework Serializer serializer-04 model class serializer

Model class serializer If we want to use the Serializer corresponding to Django's model class, DRF provides us with the ModelSerializer model cl...
10:28 4 November 2019

Adding, deleting, modifying and querying cookies in Java

Adding, deleting, modifying and querying cookies in Java Cookie attribute Name: the name of the cookie Value: the value of the cookie maxAge: the expi...
10:18 4 November 2019

Swoole and thinkp5 develop WebSocket online chat communication system

To use Swoole in ThinkPHP, you need to install the think Swoole composer package, provided that the system has installed the Swoole PECL extension* T...
9:58 4 November 2019

How to integrate google/pprof into existing services?

Last week, I received the R & D requirements from the leaders and wrote a monitoring service monitor server to analyze the status of the services ...
4:55 4 November 2019

Automatic building brush Taobao meow coin! It's the basic quality of programmers to be able to do nothing automatically!

In recent days, did the double 11's activities toss you around? If not, there are only two possibilities: first, you don't have a girlfriend...
7:45 3 November 2019

socket programming based on UDP protocol

Catalog Simple example of UDP socket Server side Client UPD socket non stick package problem Server side Client qq chat Server side Client 1 Client 2...
2:12 2 November 2019

Vue.js conditions and loops

Source: Alibaba cloud University - Developer class - Vue.js self study manual Conditional judgement v-if Condition judgment uses v-if instruction: v-...
16:34 1 November 2019

Mengxin's 2019 Hackergame trip to CUHK

Mengxin's 2019 Hackergame trip to CUHK Sign in problem White and night ~~Cyberpunk ~ ~ information security 2077 The ultimate problem of the uni...
1:49 27 October 2019

Spring boot XXL job task scheduling

I. Introduction to XXL job Take a paragraph XXL-JOB is a lightweight distributed task scheduling platform. Its core design goal is to develop quickly...
9:14 25 October 2019

Firewalld firewall advanced configuration - (real world chapter!!)

Experimental topology Experimental requirement 1. Intranet users of the company need to share the Internet through the gateway server2. Internet user...
13:10 21 October 2019

The birth of J.U.C

Preface J.U.C is a shorthand for java package java.util.concurrent, which is abbreviated in Chinese and contracted. It is a new basic api for writing ...
21:51 20 October 2019

Introduction to the battle of URLOS - making LAP Website Environment

1. Make LAP image1.1. Log in to the host machine using ssh, create the Dockerfiel file and fill in the following contents FROM php:7.2.16-apache-stret...
11:45 19 October 2019

Pgpool-II + PostgreSQL one main source and two standby source compiling environment

Host IP Virtual IP server1 192.168.222.141 192.168.222.200 server2 192.168.222.142 server3 192.168.222.143 Item Value Detail PostgreSQL version 10.10...
12:23 17 October 2019

ovn implementation of container Internet access, nat, fip

Experimental topology Physical topology Logical topology 172.24.4.8 is the fip of pod 100.60.0.31. step Get ready Create logical router ovn cluster ov...
12:32 15 October 2019

8086 assembly basic masm compilation source file

IDE : Masm for Windows Integrated experimental environment 2015 OS : Windows 10 x64typesetting : Markdown blog : my.oschina.net/zhichengjiu gitee : g...
10:03 15 October 2019

Weblogic domain Start, Set Default User Name and Password, and Problems encountered

Weblogic's domain instance is starting and needs to set default passwords, etc. If the default password is not set at startup, an exception will...
22:43 7 October 2019

Analysis of Mysql 5.7 Error Reporting 1546, 1577 and 1682

Environmental description:The backup data of xtrabackup on MySQL 5.6.40 is imported into MySQL 5.7.24 instance, the service of MySQL 5.7 is started, ...
15:52 4 October 2019

springboot - Integrated druid

Configuration of pom.xml <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boo...
11:21 4 October 2019

CentOS 7 Build Source Pack Build LNMP Environment

1. Install epel source yum install -y epel-release 2. Install the required software yum install -y gcc automake autoconf libtool make gcc-c++ glibc li...
5:21 4 October 2019

Interaction between Android Q Private Directory and Public Directory Files (Read, Copy, Save, etc.) - Pittkai

Android Q is about to launch its official version. This article is based on beta 6, which is close to the final version of Q. It would be better if i...
17:22 3 October 2019

The use of pymysql module

I. Connecting to MySQL Server import pymysql # Connect to the database and call the Connect function (the Connect function returns an object of Connec...
15:28 3 October 2019

centos server deploys flask project.

Installed environments nginx, Python 3, mysql, uwsgi, virtualenv 1. Create a virtual environment virtualenv -p python3 myblog 2. Enter the Virtual Env...
10:08 3 October 2019

Set the Mysql character set to UTF-8 to solve Chinese garbled.

Article directory When the public number is developed, the user nickname is garbled. The result of the investigation is the encoding problem of the d...
2:33 3 October 2019