Zero-Foundation Learning Java - - - day4 - - - Process Control Architecture
1. Sequential structure
Code is executed from top to bottom
2. Selection structure
Also known as branch structure, it will choose different code execution according to the results of execution, there are the following two forms:
if statement
switch statement
2.1 if statement
2.1.1 The first form of an if statement
Format:
If (relatio ...
Added by l00ph0le on Sun, 04 Aug 2019 16:43:39 +0300
security.php Source Analysis of OSSIM
Next, we begin to analyze the security.php source code, which is an important file of event in the dashboard sub-module.
// Referencing files, initializing function libraries
require_once 'av_init.php';
require_once 'sensor_filter.php';
require_once '../widget_common.php';
require_once 'common.php';
// Check if you have permission to ac ...
Added by kaukab on Sun, 04 Aug 2019 13:25:58 +0300
[Supplement] HDU Hangzhou Electric Power Multicultural University 2nd Game B in 2019
It's hard to make up for it.
- If not necessary, do not use STL - patient red adzuki bean Online
Reference to: https://www.cnblogs.com/Dillonh/p/11240083.html (For the sake of two continue s, I was still pestering in the comments section. After many experiments, I seemed to understand a little, and deleted them without being noticed: P)
...
Added by lighton on Sun, 04 Aug 2019 12:54:18 +0300
Java Learning - Preliminary understanding of reflection and dynamic proxies
"This is a summary of video material and video compilation for Chuanzhuan Big Data Course"
1 Reflection
The attributes, methods, constructors, etc. in a class object can be retrieved by reflection
1 package thread.reflect;
2
3 import org.junit.Before;
4 import org.junit.Test;
5
6 import java.lang.reflect ...
Added by soulroll on Sun, 04 Aug 2019 02:45:27 +0300
PAT Basic 1014 Holmes Appointment (20 points) Advanced 1061 Dating (20 points)
Sherlock Holmes received a strange note: Let's date!3485 djDkxh4hhGE 2984 akDfkkggEdsb s&hgsfdk d&Hyscvnm.The detective soon understood that the strange scrambling on the note was actually the date of the appointment on Thursday 14:04, because the first pair of identical uppercase letters (case sensitive) in the first two strings was th ...
Added by mattmate on Sat, 03 Aug 2019 23:41:57 +0300
4 IDEA Environment Application
Chapter 4 IDEA Environmental Applications
The spark shell only uses a lot when testing and validating our programs. In production environments, programs are usually written in the IDE, then packaged into jar packages and submitted to the cluster. The most common use is to create a Maven project that uses Maven to manage the dependencies of j ...
Added by amal.barman on Sat, 03 Aug 2019 21:40:25 +0300
OpenStack Component-Neutron Network Service
1. Virtual Machine Gets ip
1) Isolation of DHCP services with namspace
Neutron provides DHCP services through dnsmasq, while dnsmasq isolates each network service independently through Linux Network Namespace
On a two-tier network, VLAN can divide a physical switch into several independent virtual switches. Similarly, on a three-tier network ...
Added by facets on Sat, 03 Aug 2019 09:40:56 +0300
A simple and easy C++JSON library is highly recommended
_We strongly recommend a simple and easy-to-use C++JSON library, CJsonObject, to make using json as convenient as using C++ native structure. CJsonObject It's an excellent C++ JSON library, probably the simplest C++ JSON library you've ever seen.The open source address for CJsonObject is https://github.com/Bwar/CJsonObject and https://gitee.com ...
Added by ayok on Sat, 03 Aug 2019 07:45:46 +0300
Set default values for date and time selector datetime-local in H5 under TP5.1 framework
In H5, we can get a simple date-time selector that can be precise to hours and minutes by setting the type attribute of the input tag to "datetime-local", but in practice, we often need to set a default value, such as setting the selector to the current time or setting data in the editing inte ...
Added by esscher on Fri, 02 Aug 2019 10:39:33 +0300
Docker's Mirror and Container
I. What is docker?
The Docker container is a Docker process + image file (the Docker image contains the running environment and configuration)
Official Definition: Docker is a platform designed for developers and system administrators to build, distribute and run distributed applications, using Docker container as the basic unit of resource ...
Added by Aravinthan on Fri, 02 Aug 2019 09:42:30 +0300