Solve the problem of cannot enable executable stack as shared object requirements: permission denied

Start troubleshooting 1. Error prompt for starting apache service. Starting httpd: httpd: Syntax error on line 211 of /etc/httpd/conf/httpd.conf: Syntax error on line 6 of /etc/httpd/conf.d/php.conf: Cannot load /etc/httpd/modules/libphp5.so into server: libcrypto.so.6: cannot enable executable stack as shared object requires: Permission de ...

Posted by Adastra on Sat, 23 Nov 2019 16:42:03 +0100

[array] sword finger Offer: print matrix clockwise

[online programming] Print matrix clockwise [problem description] Enter a matrix and print out each number in a clockwise order from the outside to the inside. For example, if you enter the following 4 X 4 matrix: 1 23 4 5 6 7 8 9 10 11 12 13 14 15 16, then print out the numbers 1,2,3,4,8,12,16,15,14,13,9,5,6,7,11,10 [Solution & ...

Posted by pnoeric on Thu, 21 Nov 2019 21:49:48 +0100

001. Analysis of operation principle of JAVA program

1. First look at the structure of the JVM runtime data area Thread exclusive: Each thread has its own space that is created and destroyed with the thread lifecycle. Thread sharing: All threads have access to this memory data, which is created and destroyed with the virtual machine GC. JVM stores loaded class information, constants, static var ...

Posted by shawngoldw on Thu, 21 Nov 2019 19:38:35 +0100

Ten common simplified versions of Go algorithm

Recently, I have time to watch Go. I feel that the language of Go is really good. I'm Baidu. Let's talk about the algorithm today What is algorithm A series of calculation steps used to convert input data into output results The significance of the algorithm Used to solve specific problems The efficiency of different algorithms to ...

Posted by kobayashi_one on Thu, 21 Nov 2019 15:45:22 +0100

Create chat programs step by step 1 - Create simple chat programs using processes and shared memory

linux recently learned about interprocess communication, so decided to create a simple chat program with the help of processes and shared memory and following the producer-consumer model.The following is a brief description of the program ideas.The first is the server-side program, which creates two processes. Process 1 receives messages from c ...

Posted by sirfartalot on Thu, 21 Nov 2019 05:44:13 +0100

How to play with database in SpringBoot

Using JDBC Step 1: add dependency In the previous article, we talked a lot about how to reimport after adding dependency, which is not repeated here <!-- JDBC --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-jdbc</artifactId> ...

Posted by coffejor on Wed, 20 Nov 2019 23:01:18 +0100

Skip with parameters in small program code scanning

The QR code to be scanned is generated by the grass QR code. This website is very good and easy to use. You can directly input the text to generate the QR code or put the link to generate the QR code. Forage QR Code: https://cli.im/ index.wxml <view class="container"> <button bindtap='getScancode'>Binding vehic ...

Posted by mwichmann4 on Wed, 20 Nov 2019 21:15:21 +0100

Mybatis-Spring Source Analysis

Analyzing how Mybatis integrates into the framework using Spring's extension points, Mybatis's own extension points are no longer covered in this analysis Build environment Upload Github https://github.com/mybatis/spring .After several unsuccessful attempts through Git, the zip package was directly downloaded and imported into Idea. The imp ...

Posted by lice200 on Wed, 20 Nov 2019 08:01:31 +0100

What is the difference between ArrayList and LinkedList?

ArrayList is a collection of non-thread-safe implementations based on dynamic arrays; LinkedList is a collection of non-thread-safe implementations based on chain lists. ArrayList is generally faster than LinkedList for get and set methods accessed by random index.Because ArrayList finds elements directly through array subscripts; LinkedList ...

Posted by tommynanda on Wed, 20 Nov 2019 03:51:30 +0100

How do I implement the applet to use custom annotations to get the current logged in user???

Business Scenarios In our program code, many interface calls are limited and need to be logged in to operate. This article mainly uses definition annotations to intercept login validation when calling an interface. Custom Notes /** * Use this comment on the Controller method parameter, which injects the current login object into the ...

Posted by webdevelope on Tue, 19 Nov 2019 21:41:38 +0100