use Xshell to simplify the logon operation of the springboard to the development machine
by Ma Dongliang (Frost Loki)
A man's War (http://blog.csdn.net/MDL13412) background
My work in Qunar is devops development, so need to connect to the remote development machine through the terminal to work, due to security and other factors, login to the development machine needs to log on to the springboard machine, and then on the springboard machine is actually
Turn from: Click to open link
Assuming that the resource file is placed under the Src/main/resources Resource folder of the MAVEN project, the source file is placed under src/main/java/, then the Java folder and the resources folder are classpath real locations at runtime, if
There is a file located in Src/main/resources/test.txt
There is a class in Src/main/java/com/qunar/myclass.java
file_name = "Test.txt"
By following the code
MyClass.class
On the Travel Channel, 1. Publish a travel Note 2. Add a batch of images 3. Insert text below the Picture 4. Cut the packet and modify it. There is a problem with the desc parameter. As follows: GET/mobile_ugc/web/editMiniPic.htm? PicId = 80371 desc = random = 1348498825316 HTTP/1.1 Host: lvtu. qunar. comProxy-Connection: Keep-AliveCookie :...... Access this address to see the effect of http://lvtu.qunar.com/mobile_ugc/web/album.htm? AlbumId = 4228
Weak email password of Aurora push system causes reset of arbitrary User Account Password
Mail.jpush.cnEmail: service@jpush.cnPassword: 1234 qwer
The weak password of the Aurora push system mailbox causes any user account password to be reset. Zhenai.com, where to go, and so on.
The email address that the website automatically sends.
You can use the website password retrieval function to retrieve your account, and then find the password reset link in the email address to reset the password a
, CalendarintervaltriggerIn the Qunar framework, Jobdetail objects are built through Jobbuilder, trigger objects are built by Triggerbuilder, and a simple example is shown below: Public classSchedulerdemo {Private Static FinalSimpleDateFormat SDF =NewSimpleDateFormat ("Yyyy-mm-dd HH:mm:ss"); Private Staticschedulerfactory schedulerfactory; Static { Try{Properties props=NewProperties (); Props.load (Schedulerdemo.class. getResourceAsStream ("Qua
Where to go net 2014 written test algorithm summary
Write a function that transforms the relative path to an absolute path, for example:/home/abs/. /temp/new/. /, the output path is:/home/temp.
A 10*10 matrix (can be understood as a chessboard), at any time to generate a set of data to fill the matrix, the number of any one position in addition to 4 for calculation, by the remainder coloring, the remainder of 0 coloring to red,1 for the blue,2 for green,3 Black, can be un
The idea of optimizing the system is really hard to understand. So, my dad is in Xi'an, Shaanxi, my mom is in Hefei, Anhui, and my brother is in Shenzhen, I plan to fly to Beijing to play. My family members are relatively cost-effective. I plan to wait for each other at the airport and then take a taxi to my place.
I checked Qunar. There are many flights from Xi'an, Hefei, Shenzhen to Beijing one day. How can I minimize the total fare and wait for eac
() {request('http://images.google.com')})
By creating a new instance of request. jar (), you can use a custom cookie instead of a global cookie jar.
var j = request.jar()var request = request.defaults({jar:j})request('http://www.google.com', function () {request('http://images.google.com')})
Or
var j = request.jar()var cookie = request.cookie('your_cookie_here')j.setCookie(cookie, uri, function (err, cookie){})request({url: 'http://www.google.com', jar: j}, function () {request('http://images.g
Enter the year, print the calendar of the Year, and identify the date of the day. Similar to linux cal, linuxcalPackage com. qunar. training. questionDate;Public class Permanent {Public static boolean isLeapYear (int year) {// can be divisible by 4, but cannot be divisible by 100, or can be divisible by 400Boolean leapYear = false;If (year % 100 = 0 year % 400 = 0) | (year % 100! = 0 year % 4 = 0 )){LeapYear = true;}Return leapYear;}Public static in
@RequestMapping ("/homepage") @RequestBody public Modelandview homepage ( Modelandview modelandview) { modelandview.addobject ("SiteName", "Qunar"); Modelandview.setviewname ("/template/homepage"); return modelandview; }@RequestBody indicates that the return result of the method is written directly to the HTTP response bodyGenerally used when retrieving data asynchronously, after using @requestmapping, the return value
background
I work in the Qunar is the operation of the development, so need to connect to the remote development machine through the terminal to work, due to security factors, login to the development machine need to log on to the springboard, and then in the springboard on the actual connection to the development machine, as shown in the following figure:
the normal logon process
Use SSH command to log in to the springboard, enter your own setti
void PrintLength () {
System.out.println (ilength);
}
public void Printqianzhong () {
for (int i = 0; i System.out.print (Qian[i] + "");
}
System.out.println ();
for (int i = 0; i System.out.print (Zhong[i][0] + "");
}
System.out.println ();
for (int i = 0; i System.out.print (Zhong[i][1] + "");
}
System.out.println ();
}
public void Printresult () {
for (int i = 0; i System.out.print (Result[i][0] + "");
}
System.out.println ();
for (int i = 0; i System.out.print (Result[i][1] + "");
}
Sys
condition in this method, and then we can see that there is an ExecutionContext. IsFlowSuppressed () method.
It can be seen that it is called "blocking the flow". If it is not, Capture will be used to Capture the "context information" of the current thread. Then we can look down in a simple way. From this perspective, we followed
Capture the "Security Settings", "host Settings", "synchronization information", and "logical call" of the call thread. If logicalCallContext has a value, a copy opera
1. Define the JSON format of the interface;{"Success": True, "info": [{"elonginfo": "elong test", "ctripinfo": "Ctrip test"}]}A. Check whether success is successful;B. The root node info is an array;
2. Define reader;New Ext. Data. jsonreader ({Successproperty: 'success ',Root: 'info'}, ['Elonginfo ','Ctripinfo'])A. The successproperty and root attributes correspond to the preceding JSON format.
3. Define items;
4. load data;Displaypanel. getform (
. Are you good at product positioning? There is also a premise for product positioning, that is, brand positioning. We found that the operator just wants to promote its brand and return to the operator's brand positioning, your software will not create brand effects at all, or the operator will not help you create your brand. For example, you have developed a "Travel Guide" mobile phone software, later, Ctrip also developed a "
In the past, the domestic online travel market was dominated by the Ctrip model. When Ctrip received homogeneous competition from more and more competitors and the upstream and downstream squeeze of the industrial chain, where did it go to the search model, in addition, the popular group buying model last year has formed a trigger for online travel. Changxiang network, once regarded as an innovative star, f
single sales entity. The problem with our traditional stores is the cost, rent, water and electricity are rising year after year, the manpower is more and more expensive, we are almost no profit after sharing each tourist product. Travel @ Everyone store using the mode of sharing flagship store, can solve the problem of high cost, so come to know.Q: Since the physical store rents high, why not consider flying pigs, Ctrip these online e-commerce?A: Fl
Lushan Hotel (which was previously booked). Ctrip is really a pitfall. Is the picture exactly the same as the object. Wash, eat, and rest.
2012.02.23
I got up late in the morning. I had nothing to do according to the plan today. I waited for the news and held it in the House at noon. It rained outside. At fourteen o'clock P.M., the rain stopped. It was boring. I went out for a walk and said that the hotel was sitting next to the orange continent
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.