IDEA shortcut keys

This article will tell you about IDEA related shortcuts to location / handover / lookup. Learn to use these shortcuts, you can leave as many fingers on the keyboard as possible, to avoid fingers between the mouse and keyboard to switch back and forth, to improve development efficiency.     1、Enter / return method shortcut key     Ctrl+B   Enter where the cursor is defined or return where the method is used (instead of Ctrl + mouse click entry, it avoids finger switching between the keyboard and the mouse, a very useful shortcut key) Ctrl+Alt+B   Enter the place defined by a subcla...

Research on server anomalies caused by SElinux of Linux

Let’s start with the phenomenon today. A server started SELinux due to misoperation, resulting in the server can not login, all the original username passwords are invalid. After closing SElinux, it returned to normal. My curiosity now is how SElinux prevents the execution of passwd commands in single-user mode. SELiunxPrinciple: Through a module LSM (Linux Security Modules) plugged into the Linux kernel, a hook is added after the privilege management of the native linux. After the privilege check, the policy of SELinux is added through this hook.A little check. This mechanism, known as...

Supervision of learning Proto.Actor model through C#

Supervision,The literal meaning of supervision is that the parent actor discovers that there is an exception to the child actor, the child actor production policy processing mechanism, if the parent actor does not process, then pass up.  The strategies for post processing of sub Actor exception are: Resume:Immediate recovery Restart:Stop Actor before resuming and recreate it. Stop:Stop it Escalate:Reporting to parent level  SupervisorImplemented by Props. WithChildSupervisor Starategy (), the first parameter of this method is to receive the exception and the Actor’s PID to h...

Tools recommended for simulating sending HTTP requests

When developing websites, you often need to send requests to test whether your code is OK or not, and the tools that simulate sending HTTP requests play a big role. In particular, it is necessary to use tools when requesting header. Some of the tools recommended below are based on the system development process.In order, some are based on browser development plug-ins.   Copyright notice: This article is an original article for bloggers. It can not be reproduced without permission from bloggers. Original address: https://www.cnblogs.com/poterliu/p/9563930.html Contact mailbox: poterliu@qq...

Turn: CentOS 7 install audio and video decoder

1.Install additional software sources EPEL and nux-dextop rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-1.el7.nux.noarch.rpm rpm -Uvh http://ftp.sjtu.edu.cn/fedora/epel//RPM-GPG-KEY-EPEL-7 2.Install required files yum -y --enablerepo=nux-dextop install gstreamer-ffmpeg vlc gstreamer-plugins-ugly gstreamer-plugins-bad gstreamer-plugins-ugly ffmpeg libvdpau mpg123 mplayer mplayer-gui gstreamer-plugins-bad-nonfree gstreamer1-libav gstreamer1-plugins-bad-freeworld gstreamer1-plugins-ugly ps:Some of them may be installed when the system is installed, and the ins...

Luogu P1775 the problem of the ancients _NOI Guide 2010 improve (02) (Fibonacci + Mathematics)

meaning of the title It is known that X and y are integers, and satisfy the following two conditions: 1.x,y∈[1…k],And X, y, K Z 2.(x^2-xy-y^2)^2=1 I’ll give you an integer k, find a set of X and y that satisfy the above conditions, and make the value of x^2+y^2 the largest. k<=1018 An explanation This problem needs to be pushed. (x2-xy-y2)2=1 (y2+xy-x2)2=1 [(x+y)2-xy-2x2)]2=1 [(x+y)2-(x+y)x-x2)]2=1 Then, because the Fibonacci sequence has one property: The way to turn f[n+1] into f[n]+f[n-1] becomes: f[n]2-f[n]f[n-1]-f[n-1]2=(-1)n-1 It is found that these two formulas ...

The way to solve JSP path problem (JSP file start path, basePath function)

The way to solve JSP path problem (JSP file start path, basePath function) If you use the “relative path” in JSP, there may be problems. Because of the relative path in web pages, he is looking for resources relative to the address of “URL request”. What does this sentence mean? For example: Suppose we have a project: MyApp Under this project, there is a JSP folder. The folder includes: login.jsp    // Landing page register.jps  // Registration page We enter the address in the browser (Note: content of the address): http://localhost:8080/MyApp/jsp/login.jsp At thi...