Tag:Take effect
-
Tiktok side: is the big element of Z-index necessarily on the small one?
Hello, everyone, I am every year! Before starting the article, there are two real interview questions: Are elements with large Z-index values always above those with small values? How to realize that parent element overrides child element? First, let’s announce the answer: Z-index doesn’t necessarily take effect, and it doesn’t have to be the one […]
-
Disable ping function
System configuration file /etc/sysctl.conf Add configuration net.ipv4.icmp_ echo_ ignore_ all=1 Revalidate sysctl -p
-
High availability solution practice of mongodb advanced application (4)
1. Mongdb startup and shutdown 1.1. Command line startup ./mongod –fork –dbpath=/opt/mongodb/data —-logpath=/opt/mongodb/log/mongodb.log 1.2. Configuration file startup ./mongod -f mongodb.cfg Mongodb basic configuration /opt/mongodb/mongodb.cfg dbpath=/opt/mongodb/data logpath=/opt/mongodb/logs/mongodb.log logappend=true fork=true bind_ip=192.168.209.128 port=27017 Environment variable configuration export PATH=/opt/mongodb/bin:$PATH 2. Mongodb master-slave setup Mongodb has three ways to build clusters: master slave / replica set / sharding. The following […]
-
Record the troubleshooting of the problem that the logback configuration file does not take effect
Problem description Recently, a new Java microservice has been built in the company, using the springboot framework and logback as the implementation of the log module. In the process of building, I remember that I saw in the document that springboot supports logback spring XML as a customized logback configuration file. In this file, you […]
-
Similarities and differences between zepto and jQuery in front-end development JS framework
1、 Similarities I recently learned about the zepto framework. Zepto was originally developed for mobile terminals and is a lightweight alternative to jQuery because its API is similar to jQuery and its files are smaller. Zepto’s biggest advantageFront end trainingThe potential is that its file is very small, which is the smallest library with complete […]
-
position: fixed; The default parent element of the style is the window window. Customize the method of selecting the parent element
Examples of non effectiveness:At this point, you will find that the parent element only writes a position: relative;At this point, you will find that the child elements automatically locate the window as a reference object <div class=”wrap”> <div class=”inner”></div> </div> .wrap { width: 500px; height: 500px; margin: 200px auto; border: 1px solid #000; position: relative; […]
-
Alicloud server configuration development environment Chapter 3: centos7.3 installation of tomcat8 and environment configuration
1. switch to the development folder and download Tomcat wget http://mirrors.tuna.tsinghua.edu.cn/apache/tomcat/tomcat-8/v8.5.16/bin/apache-tomcat-8.5.16.tar.gz 2. unzip the file tar -zxvf apache-tomcat-8.5.16.tar.gz 3. delete the compressed file rm -rf apache-tomcat-8.5.16.tar.gz 4. configure Tomcat environment variables sudo vi /etc/profile #Add the following code cataline at the bottom_ Home is the path where you install Tomcat export CATALINE_HOME=/developer/apache-tomcat-8.5.16 #Save and exit: […]
-
Linux export command
For image download, domain name resolution and time synchronization, please clickAlibaba cloud open source image station The export command is used to output shell variables as environment variables or shell functions as environment variables. When a variable is created, it is not automatically known to shell processes created after it. The command export can pass […]
-
MacBook installs Scala, Hadoop and saprk environments
1、 Scala installation 1.Install JDK There is a special JDK installation package for Mac. Download and install JDK1.8 here 2.Installing Scala 2.1 downloading Scala 2.2 extract to the specified directory Tar -zxvf /users/lodestar/desktop/ temporary /scala-2.12.15 tar -C /Users/lodestar/software 2.3 environment variable configuration vi ./bash_profile I have installed Python and Maven locally, […]
-
How to verify parameters gracefully in Dubbo service
1、 Background When the server provides interface services to the outside, whether it is providing HTTP interfaces to the front end or RPC interfaces to other internal servers, it often faces the problem of how to gracefully solve the verification of various interface parameters? In the early days, when making the HTTP interface provided for […]
-
Problems encountered in centos7 network configuration under VMware – the IP displayed in IP addr is inconsistent with that in ifcfg ensxx file (personal test)
Background:Use VMware virtual machine to run centos7, and select NAT for network configuration (do not use DHCP)Question:findip addrDisplayed network address and/etc/sysconfig/network-scripts/ifcfg-ensxxxThe configuration in the file is inconsistent. After manually modifying the network address, executeservice network restartperhapsinit 6It has not taken effect since. solve:The configuration is incomplete. The key configuration items use the system default values. […]
-
Next generation development mode based on feature flag
Progressive delivery is considered as the next generation of continuous delivery, which focuses on enhancing the control of the release process and reducing the release risk, and ultimately improving the overall revenue. International technology giants such as Amazon, Google and Netflix update thousands of function updates and bug fixes to the user environment through progressive […]