Apache APIs IX integrates Open Policy Agent

Open Policy Agent (OPA) is an open source lightweight general policy engine, which can replace the built-in policy function module in the software to help users realize the decoupling of service and policy engine. Benefit from OPA Perfect ecosystem , users can easily integrate OPA and other services, such as program library, HTTP API, etc. As ...

Added by itandme on Wed, 23 Feb 2022 11:56:10 +0200

Nginx website service configuration

catalogue Nginx website service 1, Compilation and installation of Nginx 1. Turn off the firewall and the software package required by nginx to the / opt directory ​ 2. Install dependent packages 3. Create running users and groups 4. Compile and install Nginx 5. Check, start, restart and stop nginx service 6. Add Nginx system service ...

Added by duke on Wed, 23 Feb 2022 10:37:05 +0200

JDBC and database connection pool: SQL injection Pretreatment Batch processing Druids Apache-DBUtils

JDBC overview Basic introduction Simulate JDBC public class TestJdbc { public static void main(String[] args) { JdbcInterface jdbcInterface = new MysqlJdbcImpl(); //Complete the operation of mysql jdbcInterface.getConnection(); jdbcInterface.crud(); jdbcInterface.close(); } } //jdbc interfa ...

Added by christillis on Sun, 20 Feb 2022 21:13:28 +0200

Cookies and session s, how web services work, Apache configuration, php extension, php introduction

Cookies and session s: Difference between cookie and session: Cookie data exists locally, while session data exists on the server side. Session is more secure than cookie. cookie: it is used to remember what the client has done during the http session. It can solve the problems such as advertising on the first landing page. The server and the ...

Added by kenslate on Sat, 19 Feb 2022 11:16:05 +0200

Android - realizing the navigation of calculating routes in APP

Effect video Jump to Baidu map for route calculation and navigation Route calculation and navigation in APP Function realization Jump mode implementation Function Description: by initializing Baidu map API, obtain the longitude and latitude of the current position as the starting point, and the entered address as the destination, t ...

Added by bobbuilder on Sat, 19 Feb 2022 11:13:56 +0200

Android monitors mobile app usage

brief introduction In this article, Android is used to obtain the Activity on the top of the mobile phone to monitor the usage of mobile applications Technical background In my daily study, I want to automatically collect the use time of various applications of mobile phone software, such as get, geek time, Keep, wechat reading, etc However ...

Added by lorne17 on Wed, 16 Feb 2022 22:43:07 +0200

android activity startup process_ Detailed explanation of Activity startup process (based on 10.0 source code)

Activity overview There are four components in Android: Activity, Service, BroadcastReceiver and ContentProvider. The Activity that we most often contact and users directly feel is Activity. Today, let's talk about the execution process and working principle of Android startup. Activity is a presentation component, which is used to show users ...

Added by shanksta13 on Tue, 15 Feb 2022 07:58:14 +0200

log4j vulnerability analysis and summary

The Remote Code Execution Vulnerability of log4j2 [cve-2021-44228] exposed on December 8, 2021 can be called an epic nuclear bomb vulnerability. Although after such a long time, most of the relevant vulnerabilities in the current network have been repaired, they can still be found... Many leaders and research institutions on the Internet have a ...

Added by KrisNz on Sun, 13 Feb 2022 18:24:21 +0200

Exploring RocketMQ source code -- Series1: viewing transaction messages from the perspective of Producer

Introduction: explore RocketMQ source code - Series1: transaction messages from the perspective of Producer 1. Preface Apache RocketMQ, as a well-known open source messaging middleware, was born in Alibaba and donated to Apache in 2016. From RocketMQ 4.0 to the latest v4 7.1 Alibaba has won wide attention and praise both inside and outside th ...

Added by 00tank on Thu, 10 Feb 2022 09:35:33 +0200

How to optimize Apache pages

Web page compression 1. Check whether mod is installed_ Deflate module apachectl -t -D DUMP_MODULES| grep "deflate" 2. If mod is not installed_ Deflate module, recompile and install Apache, add mod_deflate module systemctl stop httpd.service cd /usr/local/httpd/conf mv httpd.conf httpdno.conf.bak yum -y install gcc gcc-c++ pcre pcre-de ...

Added by maqmus on Wed, 02 Feb 2022 10:22:25 +0200