Jenkins+Ansible installation and deployment

1, Environmental description Operating system: CentOS 7.5 x86 ʄ JAVA version: jdk-8u181 Jenkins version: jenkins-2.134 Ansible version: ansible-2.3.3.0 2, Preparation before configuration # systemctl disable firewalld.service # systemctl stop firewalld.service # sed -i 's/SELINUX=enforcing/SELINUX=disabled/' /etc/selinux/ ...

Posted by gnawz on Fri, 31 Jan 2020 09:37:23 -0800

Android native integration React Native

1. Create an empty directory RNDemo 2. Create a subdirectory android in RNDemo 3. Copy the android project to the subdirectory android, as shown in the project structure below. 4. Create the package.json file in RNDemo and add the following contents: { "name": "MyReactNativeApp", "version": "0.0.1", "private": true, "s ...

Posted by Minase on Fri, 31 Jan 2020 09:33:06 -0800

AOP of architecture design of centralized landing architecture based on aspect oriented idea

1, Before you start: Centralized login architecture design: this login is not a login request, but a judgment of whether the current login status is available. If it is not, skip the login interface; otherwise, perform the corresponding skip logic. This business is a global business, and the global b ...

Posted by keystroke on Thu, 30 Jan 2020 22:50:33 -0800

Setting up Kafka-0.10.2 source reading environment and running Windows locally

Setting up Kafka-0.10.2 source reading environment and running Windows locally Version information 2. Building Kafka Source Environment 3. Configuring Kafka Source Environment Build a bin package Version information Kafka: 0.10.2,Scala: 2.10.6,Java: 1.8.0_221,IntelliJ IDEA: 2019.2,Zookeeper: 3.4 ...

Posted by crazydip on Thu, 30 Jan 2020 18:23:30 -0800

SpringBoot LDAP user authentication operation

Opening word This guide will guide you through the creation of the Spring Security Application protected by LDAP module.   Apps you will create We will create a simple Web application protected by Spring Security's embedded Java LDAP server. We will load the LDAP server with a data file that contain ...

Posted by dgoosens on Sun, 26 Jan 2020 02:56:04 -0800

Hand rolling an annotation frame

Runtime annotation is mainly implemented by reflection, while compile time annotation helps us to generate code during compilation, so compile time annotation is efficient, but it is a little more complex to implement. Runtime annotation is inefficient, but it is simple to implement. Let's first look at ...

Posted by dleone on Fri, 17 Jan 2020 21:03:12 -0800

Simple use of AspectJ in AOP

Personal blog http://www.milovetingting.cn Simple use of AspectJ in AOP Definition of AOP AOP is the abbreviation of Aspect Oriented Programming, which means: a technology to realize the unified maintenance of program functions through precompiling and dynamic agent during operation. The above definition of AOP is quoted from Baidu Encyclope ...

Posted by Delcypher on Mon, 13 Jan 2020 02:43:50 -0800

One click crawling result of Java crawler and save it as Excel

One click crawling result of Java crawler and save it as Excel Save crawling results as an Excel table There is no official tutorial for exporting Excel. Here I will send a tutorial for exporting to Excel Guide bag I like to use Gradle because of my hobbies, so I'll use the Gradle configuration here //Reptile pack compile group: 'us.codecraft', ...

Posted by awais_ciit on Sun, 12 Jan 2020 07:17:13 -0800

12. Glide framework - Android intensive course notes

1, introduction 2. Basic use of Glide 3. Glide 1, introduction The image loading frameworks commonly used in Android are: UniversalImageLoader Volley Picasso Fresco Glide Google's official recommended framework is Glide, and the use of other frameworks is similar. 2. Basic use of Glide 1. Create a project named ...

Posted by cirma on Thu, 09 Jan 2020 10:49:14 -0800

Simple use of a beautiful Toast third-party library

I used to use the Android native Toast. I feel that there is no need to work hard on it. When I saw the Toast, it was immediately circled. It's really beautiful. Project address As we all know, the usage of Android native Toast is 1 Toast.makeText(MainActivity.this,"Toast show contents",Toast.LENGTH_SHORT).show(); Method is divided into Co ...

Posted by CoreyR on Thu, 09 Jan 2020 06:00:45 -0800