Separation of dynamic and static state by Nginx+Tomcat

Add group groupadd www Add user WWW: useradd - G www under www group Modify configuration file nginx.conf : user www www; worker_processes 2; events{ worker_connections 1024; } http{ #Set the default type to binary stream default_type application/octet-stream; server_names_hash_bucket_size 128; #Specify the hea ...

Posted on Wed, 01 Jul 2020 11:01:33 -0400 by dinno2

JavaScript learning - Array object

Defining arrays Array objects are used to store a series of values in separate variable names. We use the keyword new to create array objects. The following code defines an array object called myArray: var myArray=new Array(); There are two ways to assign values to an array (you can add as many values as you want, ...

Posted on Wed, 01 Jul 2020 10:33:01 -0400 by sheephat

Excellent course of Web front-end development HTML CSS JavaScript Basic Course Chapter 23 answers to programming questions after class

Programming questions: 1. Copy Baidu home page and restore it by yourself (imitation station is the best practice way for beginners, and Baidu home page is often the first page most suitable for beginners to contact). Let's take a look at Baidu's home page: 1) Build with VS2013 ASP.NET Empty website, add a new item, create an HTML file nam ...

Posted on Tue, 30 Jun 2020 12:51:08 -0400 by kanetan

gradle configuration skills for a complete Android project

Gradle configuration skills I summarized four gradle configuration skills, which can be more convenient for debugging and packaging in Android projects 1. Use gradle's custom Property to realize unified management of configuration and dependency of Android project 2. Use gradle's produc ...

Posted on Tue, 30 Jun 2020 12:40:10 -0400 by Tomcat13

[zhiluotang learning notes] javascript DOM learning

Learning route javascript functions Function syntax HTML DOM DOM full name: Document Object Model Document tree node The whole document is a document node Each HTML element is an element node The text within an HTML element is a text node Each HTML attribute is an attribute node Comments are comment node ...

Posted on Tue, 30 Jun 2020 12:27:08 -0400 by 1bigbear

Four Android event handling methods

There are four ways to handle the event, such as the screen shot and the button 1. Use anonymous inner class processing xml code <Button android:id="@+id/btn1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Anonymous Inner Class " ...

Posted on Tue, 30 Jun 2020 12:21:15 -0400 by andrewburgess

tarjan algorithm board

Undirected graph Cut the edge,Cut point,Double dot,Side double Digraph Strong connectivity component,Example Undirected graph concept time stamp\(dfn[x] \), in depth first traversal, integer marks are made in the order in which each node is first accessed Retroactive value\(low[x] \), the minimum time ...

Posted on Tue, 30 Jun 2020 05:19:15 -0400 by senatedc

A logic problem: who is the killer

Previous articles in this series: Simple implementation of logical programming language (using C ා) - 1. Introduction of logical programming language This is a classic Prolog exercise. The Chinese translation is from Ruan Yifeng's article Introduction to Prolog language. problem Mr. Boddy died of murder. There are six suspects. Each of them ...

Posted on Tue, 30 Jun 2020 04:20:30 -0400 by rayk

JPA many to many (intermediate table) / intermediate table many to many

thank CSDN-treemer thank CSDN-csdndz 1, Example the relationship between the user and the project Note: a User can create multiple projects, and a Project can have multiple users at the same time Relation table 1. entity Users User.java /** * @author LEI * Created by LEI on 2020/6/29. */ @Da ...

Posted on Tue, 30 Jun 2020 04:12:20 -0400 by wilzy

[deep eye tensorflow2.0 framework project class] 30.RNN

Recurrent neural network (RNN) is a kind of recurrent neural network which takes sequence data as input, recursion in the evolution direction of sequence and all nodes (cyclic units) are linked in chain. This paper introduces the RNN algorithm, You can have a look at this. The explanation is very clear ...

Posted on Tue, 30 Jun 2020 04:05:26 -0400 by edmore