Arthas is an open source tool for Java developed by Alibaba recently. It mainly for diagnosing the problems of java. I. Overview This tool can help you do the following things: Which jar package loaded this class from? Why do you code throws various kinds of Exceptions? If you encounter problems on product environment , […]
Category: Language
Programming language is a formal language used to define computer programs. It is a standardized communication technique used to issue instructions to a computer. A computer language allows programmers to accurately define the data that the computer needs to use, and precisely define the actions that should be taken in different situations.
Java problem diagnosis tool–Greys-Anatomy
Introduce a very useful Java process monitoring tool, which can print out the average time and maximum time consumption of each method in the Java class, which is very helpful for troubleshooting delays in Java programs. The name of this tool is: Greys-Anatomy. Greys positioning is a professional JVM business problem location tool. Since it […]
Shell scripts monitor server processes and ports
Shell scripts monitor server processes and ports Recently learned shell programming, wrote a script that can monitor the port, PID, program name, etc. used by the current server; it can be used to find out if there are any ports that are not commonly used to be intercepted, and then judge whether it has been […]
Use AWS SDK for Java 2.0,Set S3 object public access
Yii pseudo static
How to access static php files under the yii framework without having to create multiple actions, here is a simple record, I hope to leading to a better implementation: 1, configured in main.php ‘post/.html’=>’post/page/’ This line of code is the most important 2, implement a postController 3, add the post/pages directory in the corresponding views […]
Use regular to replace the src of the img tag
Requirement: Due to system switching, it is required to patch the src attribute of the img tag in the webpage content in the database. For example: After the replacement is required: Use regular to solve, the code is as follows (ApiUtil.java static method) Java code collection code Test code: Java code collection code The key […]
Mobile web big picture browsing jquery component
Recently, I made a mobile image page. The mother page is a series of preview thumbnails. After clicking a small image, I need to display a large image on the full screen, and I can slide left and right to browse other large images. I found a fotorama component on the Internet. Feel good to […]