10 debugging skills that Java programmers should know and java programmer debugging skills
The test can help identify and solve application defects. In this article, the author will use Eclipse, a common development tool, to debug Java applications. However, the debugging methods described here are basically generic and also applicable to NetBeans IDE. We will focus on the runtime.
Before you start, we reco
Common Tomcat optimization skills and tomcat skills
(1) shield DNS queries
Web applications can use the getRemoteHost () method provided by Web containers to obtain the IP addresses and names of Web application customers. However, this consumes resources of Web containers, in addition, you also need to check the user's name through the IP address and DNS server. Therefore, when the system goes online, you c
SignalR's alternative implementation skills and signalr's alternative skills
A long time ago, I published an article titled "learn three implementation methods of SignalR through three demos". In that article, I described in detail the commonly used SignalR implementation methods in WEB applications, today, we use SignalR to implement other usage, such as communication between B/S and C/S, for example, comm
Some jQuery coding skills and jQuery coding skills
Cache variableDOM traversal is expensive, so we try to cache elements that will be reused.
// Bad h = fill ('height', h-20); // recommended $ element =$ ('# element'); h = element.height();$element.css ('height', h-20 );
Avoid global variablesJQuery is the same as javascript. In general, it is best to ensure that your variables are within the function scope
A novice programmer must have ten skills and a programmer must have ten skills
1. Version Control System (VCS)VCS may be the biggest omission in computer courses. These courses teach you how to write code, but often forget to teach students how to manage code. Every programmer should understand how to use Git or Subversion to effectively create a repository (repository), edit and submit code, branch and mer
--------------------------------------------------------------start, don't say. Because the contact u3d too long, so the beginning has been remembered so can only from the current level of cognition to engage.1, already skilled use Unity3d basic api,transfrom, Animator, navmeshagent, Render, Mesh, collider, Monobavier, prefab and so on.2, the necessary plugin: Ngui already will3. Collaborative work tool, visual SVN. It is now familiar to commit the code or the prefab to the server. Not familiar
allow a specific host to connect to your SSH service:~ # Iptables-a input-p tCp-M state -- state NEW -- source 193.180.177.13 -- dport 22-j ACCEPT
Make sure that no other hosts can access the SSH service:~ # Iptables-a input-p tcp -- dport 22-j DROP
Save your new rule, and your task is completed. The rule takes effect immediately.
8. SSH time locking skills
You can use different iptables parameters to restrict connections to the SSH service so that t
VB skills-Tree View TreeView usage skills
1. Add nodes and subnodes for tree browser controlsWhen you use the ADD method to ADD a new node to the node set in the tree browser, you can declare that it is associated with an existing node. The ADD method is usually used. Its syntax is as follows:Nodes. Add (relative, [relationship] [, key] [, text] [, image] [, selectedimage])
The meanings of parameters are as
Android development skills and iOS Android development skills for iOS developers
I have been engaged in iOS application development for five years. During that time, I tried to avoid dealing with Android as much as possible-but now the situation is different. Whether you believe it or not, Android development is actually fun, and it is not as different as you think.
I developed this "7-minute workout" appli
The basic programming skills are passed by, and the basic skills are passedSpark is written in scala, and storm is developed by clojure. docker adopts go, and various programming languages emerge one after another. But they are actually all vests. As a programmer, we need to understand the essence of these similarities, by analogy. the basic logic control in the program-jump. The Assembly Language has long
Common SQL statement optimization skills (1) and SQL statement optimization skillsTo improve the efficiency of SQL statement execution, the most common method is to create an index and avoid full table scan. We will organize some common SQL optimization techniques to avoid full table scanning. A simple optimization may increase your SQL Execution efficiency by several or even dozens of times.1. Avoid using is null or is not null in the where clause to
S skills, Postgres skills
If you need to add indexes when the business volume is large, you need to use CONCURRENTLY. Otherwise, your database will easily break down.
For example
create index CONCURRENTLY idx_order_records_bank_statist_uid on order_records(statist_uid)
See
Http://www.postgresql.org/docs/9.1/static/sql-createindex.html
In a large business volume, if you want to execute some time-con
10 native JavaScript skills and javascript skills
1. String Length Truncation
function cutstr(str, len) { var temp; var icount = 0; var patrn = /[^\x00-\xff]/; var strre = ""; for (var i = 0; i
2. Obtain the domain name host
function getHost(url) { var host = "null"; if(typeof url == "undefined"|| null == url) { url = window.location.href; } var regex = /^\w+\:\/\/([^\/]*).*/; var
Andriod development skills-Fragment lazy loading and andriod development skills
During application development, a single Activity may be used in combination with viewpager (or other containers) and multiple Fragment. If each fragment needs to load data, if the activity is loaded locally or from the network, a large amount of resources need to be initialized when the activity is created. Of course we are not
Linux Practical Skills: Mount ntfs device using ntfs-3g, practical skills ntfs-3g1. Comparison of several file systems(1) Support the following file system in linux:Ext2
Second, expand the File System(Ext2 or ext2 for short) has become the default file system of GNU/Linux many years ago. Ext2 replaces the extended File System (the predecessor of the "second generation ). It corrected some mistakes of its pr
It allows you to quickly understand and master how to develop iOS skills and ios development skills.
First, you need to spend some time learning objective-C language. After all, this is the basis for iOS development (you can also try Swift, but this project is only for OC ), programming routines are almost the same. I want to write more and practice more. I will not discuss how to set up the environment. T
UltraEdit advanced usage skills and ultraedit usage skills
UltraEdit is one of the highlights of many ides. It has powerful functions. Here we will talk about some of its useful functions.Column Mode
Many people prefer UltraEdit because of its column mode.
Enter column mode: Alt + CHow to annotate multiple rows
1. Enter the column mode.2 select multiple rows3. Add annotator
Calculate the sum of multiple col
Java program performance optimization skills and java performance optimization skills
1. Optimize the loop bodyIf the number of loops is large, the problems with poor code processing in the loop body will be magnified.
For (int I = 0; I
2. Use new to initialize an instance.The time consumed by a new object is often thousands of times the time consumed by the assignment of a local variable. At the same tim
Check web responsive design skills and check web skills
Responsive web design has become a new web standard. Many companies have accepted this challenge and have established specialized web design solutions (such as mobile development only) or you have begun to try to solve cross-platform responsive webpage design.1. Plan
As usual, the plan is always given the first priority. Once you start solving your des
Html skills: Make your code semantic. html skills: Make semantic code
First, there is a difference between the Semantics (Semantics) and the default style. The default style is the representation of some common tags set by the browser, the main purpose of semantics is to give you an intuitive understanding of the use and role of tags and attributes.
Html semantics seems to be a common problem. Baidu also ha
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.