The Grails project is packaged and started as a Windows service
The purpose of this document is to:
The war package packaged by grails project runs under the system as a Windows serviceAfter the deployment is completed, the default settings of startup and self startup are supportedSupports 32-bit and 64 bit JDKImplement one click installation serviceSupport one click uninstall serviceSupport one click rest ...
Added by xydra on Fri, 14 Jan 2022 05:37:36 +0200
Functions of C + + friend functions, friend classes and #pragma once
Put the code last
Function of friend function:
You can access the private properties of this class
But there is no "class" when defining outside the class:“
Therefore, the friend function does not belong to this class
Meaning of friend function:
c + + friend function_ Bussy's blog - csdn blog_ c + + friend function csdn
1 ...
Added by Brentley_11 on Fri, 14 Jan 2022 05:26:24 +0200
Fault analysis of an intelligent network card (mellanox)
Background: This is reproduced in centos 7.6.1810. There are many smart network cards at present The network card on the ECS is standard configuration. In OPPO, it is mainly used in vpc and other scenarios. The code of the intelligent network card will follow The complexity has been increasing due to the enhancement of functions. The driver bug ...
Added by premiso on Fri, 14 Jan 2022 03:33:46 +0200
C language learning notes - sorting and searching
1. Introduction of sorting algorithm
Sorting is also called sort algorithm. Sorting is the process of arranging a group of data in a specified order
1.1 classification of sorting
(1) Internal sorting: refers to loading all data to be processed into internal memory (memory) for sorting
(2) External sorting: the amount of data is too la ...
Added by Zay on Fri, 14 Jan 2022 03:18:21 +0200
Concurrent programming: sharing and collaboration between threads
In the last article, we introduced the basis of threading. I believe everyone has a general understanding. This article is about thread sharing and collaboration. Let's have a look!
1, Sharing between threads
Synchronized
synchronized is a keyword in Java. It is a kind of synchronous lock. It modifies the following objects:
1. Mod ...
Added by winkhere on Thu, 13 Jan 2022 21:49:18 +0200
Java methods and arrays
method
Methods are collections of statements that together perform a function
Method is an ordered combination of steps to solve a class of problems
Method is contained in a class or object
Methods are created in the program and referenced elsewhere
When designing methods, it is best to keep the atomicity of methods, that is, one method co ...
Added by Bounty on Thu, 13 Jan 2022 18:41:08 +0200
Java foundation - common classes
1. String class
Characteristics of String class
String is declared final, which means it cannot be inheritedfinal char[] value is defined inside String to store String dataString represents an immutable character sequence (immutable)String implements the Serializable interface: it means that the string supports serialization. (Serializabl ...
Added by felixtgomezjr on Thu, 13 Jan 2022 18:18:27 +0200
Linux user and rights management
This is the second article in the linux series. I thought Shell would be OK after writing it. But after careful combing, I found that I either knew a little about Linux or forgot it. In that case, you'd better review what you encounter. This paper attempts to solve the following problems
How to do user management in LinuxRelationship between u ...
Added by telvitajoel on Thu, 13 Jan 2022 17:39:54 +0200
Python allocation function and memory address
Hello, everyone. How are you doing?
I'll show you how we can Python Assign functions to variables. I'll show you how to assign functions to variables.
Now suppose we have a named hello function , all we have to do is print the word hello.
You know that to call this function, you will type the name of the function, followed by a ...
Added by benz862 on Thu, 13 Jan 2022 15:43:25 +0200
Python learning --- syntax part (conditional statement (if), circular statement (while, for, continue, break, pass))
1. Conditional statements
Python conditional statements are code blocks that determine the execution result (True or False) of one or more statements. The following figure summarizes the execution process of conditional statements: Conditional judgment in Python is mainly realized through if statements.
color="red"
if (color=="green"):
...
Added by p-co on Thu, 13 Jan 2022 15:13:30 +0200