First, install the template1.git Clone Https://github.com/kattrali/Xcode-Plugin-Template.git2.CD xcode-plugin-template3.mkdir ~/Library/Developer/Xcode/template 4.mv./project\ templates/~/Library/Developer/Xcode/template\ 5. After you restart Xcode, you will see an OS x-application plug-in-xcode in the template PluginSecond, listen to Xcode messagesAdd at plugin entranceNsnotificationcenter.defaultcenter (). Addobserver (Self, Selector:selector ("Notificationlog:"), Name:nil, object: Nil
, it has nothing to do with the cache!However, other browsers do not show the same performance. As long as the image has been loaded before and the browser has a cache, the complete value is true,This is consistent with the readyState attribute of IE!So far, it is certain that all browsers will cache images! But what is the cause of the above problem?As we all know, loading from the cache is fast, so inCopy codeThe Code is as follows:Img. src = isrc;I
Servlet and JSP, servletjspServlet and JSP can be passed between two types of values: JSP-> Servlet, Servlet-> JSP.Use the Object request and session (regardless of application) to complete the value transfer.I. JSP-> servlet The JSP page has three methods to pass values to the servlet: form, URLCopy codeThe Code is as follows:...Session. setAttribute ("testSession", "Hello session ");Reqeust. setAttribute ("testRequest", "Hello request ");%>... 1. For the content of the form on the JSP page, su
event: need to introduce: hotkeys plug-inCopy codeThe Code is as follows:$ (Document). bind ('keylow', 'return', function () {$ (". btn-submit"). trigger ('click ');});// Press ENTER event bound to the keyboard Help Microsoft eliminate IE6.0Copy codeThe Code is as follows:If ($. browser. msie $. browser. version = "6.0 "){// Helps Microsoft eliminate ie6If ($. cookie ('mastershow ')! = "Hidden ")$ ('Body '). append ('$ (". Master"). delay (1000).
Tomcat configuration;
3. Configure the sql2005 server.
Configure the TCP port:Copy codeThe Code is as follows:Start> All Programs> Microsoft SQL Server 2005> Configuration tool> SQL Server Configuration Manager
-> SQL Server 2005 network configuration-> MSSQLSERVER protocol; Enable "TCP/IP"; double-click "TCP/IP"-> "IP address"-> "IPAll"
-> Add the default "1433" for "TCP port ". Restart the sql2005 server to complete the configuration of the sql2005 server.
Iv. copy backup files
Find the sqljd
is, when the loaded image is displayed, the value of the complete attribute is true, otherwise, it is always false. It has nothing to do with whether the image has been loaded before, that is, it has nothing to do with the cache! However, other browsers do not show the same performance. As long as the image has been loaded before and the browser has a cache, the complete is true, which is consistent with the readyState attribute of IE!So far, it is certain that all browsers will cache images! B
codeThe Code is as follows:// Convert json data into an objectFunction jsonStringToDataTable (jsondata ){Try {Var table = eval ("(" + jsondata + ")");Return table;}Catch (ex ){Return null;}} Obtain the HTML source code of the webpage ElementBecause some browsers (such as firefox) do not support outerHTML, a small toHTML plug-in is provided.Copy codeThe Code is as follows:// Obtain the HTML source code plug-in.JQuery. fn. extend ({ToHTML: function (){Var obj = $ (this [0]);If (obj [0]. outerHTML
as a reverse proxy will generally add two configuration, modify the HTTP request header:Proxy_set_header Host $host;Proxy_set_header x-forward-for $remote _addr;here the $host and $remote_addr are nginx export variables, can be used directly in the configuration file./opt/nginx/sbin/nginx Open Service------------------------------------------ -----------------------------------------------------------------------------nginx complete ---------------------------------------------------- -----
the creation of different host names for the same IP as shown inInstall the DNS Service pack as shown inModify the DNS master configuration file as shown inModify the DNS zone configuration file as shown inCopy the zone data file and configure it as shownRestart the DNS service and test to see if it can be parsed as shownThe configuration for the same host name with the same IP for the different port numbers as shownCreate a directory of different ho
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.