QA Official

ajax Cross-Domain Setting of http header in jQuery 2019-04-02
This article discusses ajax requests from the following situations: No cross-domain, set http header header header (e.g. authorization);Cross-domain, no http header header set;Cross-domain, set http header header header;In addition, php sends http requests and sets http Header header; Jsonp Personal Understanding, Reference1. ajax request, no cross-domain, set http Header header $.ajax({ type: "post", url:"", dataType: "json" data: {"key":"value"}, // headers : {'Authorization':'Basic bmVvd2F5Oe4lb3dheQ=='},

argv and environment variables under Linux 2019-04-02
Look at the code first #include <stdio.h> #include <stdlib.h> int main(int argc, char *argv[]) { extern char **environ; int i=0; while( argv[i] != NULL ) { printf("%p:%s\n", argv[i], argv[i]); i++; } printf("%p:%s\n\n", argv[i], argv[i]); i=0; char **ptr = argv + argc + 1; /* points to environment, in Un*x */ if ( ptr == environ ) { printf("========== ptr equals environ ==========\n\n"); } while( environ[i] != NULL ) { printf("%p:%s\n",

jquerajax cross-domain POST request 2019-04-02
A cross-domain post request was encountered in the project and a pit was encountered below IE10. CORS is used across domains 1, front-end script <script> function tests(){ //请求类型 为了满足IE8,IE9通过cors跨域请求 var contentType ="application/x-www-form-urlencoded; charset=utf-8"; //var contentType ="text/plain; charset=utf-8"; //contentType ="application/json; charset=utf-8", /* if(window.XDomainRequest){ //for IE8,IE9 contentType

popular science of Android multitasking mechanism (suddenly enlightened series) 2019-04-02
Why don't you need to clear the memory?Back then, the habit of clearing memory has a long history.Before Android was born, when we used Windows , we were always eager to turn off all unused processes, so that we would not " occupy memory", CPU and computer.(Most " security software" is famous for helping users clean up memory and garbage in Windows .) This is the historical reason for cleaning up memory.

threading module in Python 2019-04-02
threading- higher level thread interface source code: Lib/ This module builds a higher level thread interface on top of the lower level thread module.See also mutex and Queue modules. This dummy_threading module is applicable to situations where threading cannot be used due to the absence of thread. note: starting with Python 2.6, this module provides PEP 8-compliant aliases and attributes to replace camelCase's Java-inspired thread API name.This updated API is compatible with the apis of the multiprocessing module.

C++ and java 2019-04-01

HTML Common Tag Learning 2019-04-01
It's been a long time since I touched HTML. It's hard to avoid being a little rusty.Why do you forget what you have learned soon?Some people in Zhihu said that what you have learned is not commonly used, so forgetting is also a common thing. It is the same thing not to use and forget after learning. It is better to forget when you have learned but not to use.

JavaEE Core Technology Brief Introduction 2019-04-01
1. JavaEE Architecture 2. Brief Introduction of . JavaEE's Core Technologies 3. Roles in . JavaEE Platform 4. The currently popular JavaEE platform V. Application of JavaEE  1. .JavaEE Architecture: JavaEE's operating environment defines four types of application components: l applet client lapplication client lweb component lejb component   2. .JavaEE Core Technologies: 13 Kinds   EJB、CORBA、RMI、JSP、Java Servlet、JavaBean、JDBC、XML、…… EJB-Cornerstone of JavaEE: l EJB (Enterprise JavaBeans) :

JavaEE interview questions collection 2019-04-01
Java EE platform is built on Java SE platform. Java EE platform provides a set of API and running environment to develop and run large-scale, multi-layer, extensible, reliable and secure network applications.There will be continuous collection and updating of JavaEE-based interview questions, 84 of which have been collected so far. 1. What are the common events in JavaScript? Onsubmit:提交 O

Oracle Exception Summary 2019-04-01
For continuous updates, please refer to the pages on ORA-00000 to ORA-00877 ORA-00000: Normal Successful Completion (Operation) ORA-00000: normal, successful completion Cause 1: Normal execution completed.[ Partial Verification ] Normal exit. Analysis: Most of the exceptions are that the program did not execute the SQL statement or successfully executed the SQL statement. However, due to human or logic errors, it is necessary to use relevant methods and programs to obtain Oracle's error information and obtain the exception.