://localhost:80708. SummaryThere was a lot of talk when I deployed the stand-alone version, but I've recorded it on the issues and I can find it directly.In particular, when deploying Apollo-portal, because the single version of the port conflict caused by the failure, and finally modified to 8070, but not in the distributed deployment of such modifications.Here are a series of examples of Rights management, demo usage and integration, environment configuration, and more.Ubuntu 16.04 built based
It's a long time. Remember not very much.
1. Sorting algorithm time complexity, stability, space complexity. Merge algorithm.
2.HashMap
3.ArrayList
4.gc. How to Trigger GC
5. Breadth traversal, depth traversal
6. Handwriting Code:
(1) two ordered array merging
(2) The operation of the string. (The concrete forgot ...) Seems to be reversed)
See the other people's Ctrip surface:
Find the maximum number of 10% in 10w data,
The method
Yesterday to interview the interviewer gave a question let me crawl a website information thought: It's so simple small case but open Ctrip station crawlNo flight information was found ... Has reopened Ctrip's website A look I wipe the data incredibly is asynchronously loaded this time some playOpen the console to see the information. There was no flight data at the beginning.See this request address returned information something like flight dataTry
digits. Add a to the first n digits of B, as a, at which point the number of a is equal to the B-digit. Compare A and B, if a is large, put a in front of B. 3. If a and B are still equal after the 2nd step. Compare X (the highest digit of x is the number of a) and Y (Y is the first digit in a that is different from the highest bit of a), if X is less than y,a in front of B.code-1 still do not know the standard answer, the code should be no problem writing.
Only I can read-python thread, process, Ctrip, I/O synchronization, asynchronousgive me a chestnut :I want to get three URLs, first with a normal for loopImportRequests fromMultiprocessingImportProcess fromThreadingImportThreadImportRequestsImport Time#-----Normal traversal of the serial synchronization-----defget_page (URL): page=requests.get (URL)Print(URL) Start=time.time () URLs= ['http://jandan.net/','https://www.python.org','http://www.gamersky.
2018/3/10 more
2018.02.06-Ctrip Interview question:
(1) Node partitioning criteria for decision trees:
1, Information entropy change-Information gain 2, information gain rate: In the process of overcoming computational information gain, because of the value of a certain feature is too large, resulting in a large information gain, but this feature is not helpful to the classification, so through the information gain rate to overcome the problem 3, Gini
1. Talk about the project
2. Talk about the principle of waterfall flow, the main use of what technology
3. Talk about SEO
4. Why use Ajax, it's design principle, solve what problem
5. How to solve the problem of cross-domain
6. Talk about some sort of algorithms you know
7.CSS framework: Less and sass, what are the benefits of using it?
8.JS Framework, jquery and angular, talk about understanding of it, why use it, and use it for good.
9. Understand the common database, how to optimize
Background:Because to buy a ticket, so have been searching, reptiles can help me solve this problem; using Python to crawl Ctrip ticket information process (Part one)
Explained in super detail.So through this process, a basic understanding of some; Check out the tickets for Shanghai to Xian 4.29~05.02:
#coding: Utf-8 import urllib2 from lxml import etree import JSON import random import sys reload (SYS) Sys.setdefaultencodi Ng (' UTF8 ') def get_json2
the same library, to facilitate rapid expansion of reading features read into real-time read and can be deferred to read the corresponding to the writing and reading library • Read/write separation should consider automatically switch to write-side schema decoupling when read is not availableProhibit cross-Library joinData life cycleArchiving of large-scale periodic sub-libraries based on the frequency of use of data Physical separation of the main library/archive libraryTable of log type shoul
1, attr () and prop ()Reference Links:Http://www.cnblogs.com/dolphinX/p/3348582.htmlhttp://aijuans.iteye.com/blog/1954744Properties that have true and false two properties, such as checked, selected, or disabled use prop (), others using attr (), 1.9
1, the height of the div is known---line-hight "http://www.baidu.com/img/baidu_sylogo1.gif" alt="Logo"/> Fixed high-width, Picture vertical if IE 6]> Just set line-height and height for the container and make the two values equal, plus
1. Margin overlapReference: Http://blog.doyoe.com/~posts/css/2013-12-04-margin series of the outer margin folding. MDConditions that occur:
The margin collapse element only occurs on the block element;
Floating elements
1. ImportImport should be placed in front of internal rules, otherwise it will be invalid;Impor the introduction of multiple files, flashing, the browser will download the imported CSS file, and then to parse, should avoid the use of import2,
The first problem can be abstracted as follows: given an array a, and a number t, the number t is obtained by summation of some numbers in the array. The number in the array can be used repeatedly and an algorithm is written, the smallest number in
A. If you are making an appointment to pay at the front desk, you need to deduct your corresponding points.
B. Book the front desk to pay the guarantee order, exceeding the latest cancellation of the order to cancel the modification time, will
1. Come up to do a few ES6 problem, a face Meng force ....ECMAScript 6:http://www.ecma-international.org/ecma-262/6.0/ECMAScript 6 Primer (Nanyi): http://es6.ruanyifeng.com/#docs/intro
2. Talk about the flow of events;3. Talk about the prototype
Top three programming questions1. Deletes the corresponding number in the linked list according to the input number.Http://zhidao.baidu.com/link?url=yQX1kt4TLvpYARlSyxI2_n99MkhTw6F7kt0F6rQ2v36byrBItf1H473RFx79L9uJ2R4tvtirMmIJ1ZxN8ym3rK2. Through the
Support documentation for. NET core can be consulted in general. NET Client Usage guide: https://github.com/ctripcorp/apollo/wiki/.Net%E5%AE%A2%E6%88%B7%E7%AB%AF%E4% bd%bf%e7%94%a8%e6%8c%87%e5%8d%97Login to the new app on Apollo and the related
A set of portal can manage multiple environments, but each environment needs to be deployed independently of a set of config service, Admin service, and Apolloconfigdb,apollo version 0.10.2 Default supported environments: Local, DEV, FWS , FAT, UAT,
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.