host.
----------------------------------------------------------------------------------
Situation Two:
Host operating system: Windows 7
Guest operating system: Oracle Linux
The same as the case. Set up a shared directory first.
Then, in the menu above the Linux virtual machine, the device-> install enhancements.
Vboxadditions appears, and then run this software
You can see the shared folder.
Hang in this directory to the Linux local dir
host.
----------------------------------------------------------------------------------
Situation Two:
Host operating system: Windows 7
Guest operating system: Oracle Linux
The same as the case. Set up a shared directory first.
Then, in the menu above the Linux virtual machine, the device-> install enhancements.
Vboxadditions appears, and then run this software
You can see the shared folder.
Hang in this directory to the Linux local dir
Some common performance issues are occasionally found in code reviews and recorded here.Demand
We sometimes need to delay the deletion of the elements in the list
Before optimization
static void Removenullfor (int i = list. Count-1; I >= 0; i--)if (list[i] = = null)List. RemoveAt (i); O (N)}
Since RemoveAt () is the operation of time, the entire function is. But this problem only takes time.
After optimization
You can do this simply by moving
Deployment WebLogic input Username error at startup:
Enter username to boot WebLogic server:weblogicJava HotSpot (TM) Server VM warning:you have loaded library/home/weblogic/wlserver_10.3/server/native/linux/i686/ Libterminalio.so which might have disabled stack guard. The VM would try to fix the stack guard now.It's highly recommended that's the fix the library with ' execstack-c are not found.>
Solution:
Create Boot.properties file in domains\
Typically, we use the
The value of the Env is obtained from the eoa_config.properties.
If this is the case, spring will fail at startup and the Env cannot be resolved because it is very simple, before the property file is loaded in the import action.
No way can only turn spring source, Contextloader
protected void Configureandrefreshwebapplicationcontext (Configurablewebapplicationcontext WAC, ServletContext SC) { if (Objectutils.identitytostring (WAC). Equals (Wac.getid ())) {//The applic
The custom Dialog said that the activity's theme could be defined as Dialog style, making the activity look like a dialog box (Dialog), and custome title description if the title bar is customized. The dialog example also uses the dialog style to display the activity, and sets the icon for the titlebar.
Dialogactivity uses the Android system-defined dialog Theme:
Android:label= "@string/activity_dialog"
Android:theme= "@android: Style/theme.dialog" >
When you create a project using MAVEN, there are sometimes failonmissingwebxml errors in the Pom.xml War where the error message is: Web. XML is missing and
The reason for this is that the Web. xml file must be added to the MAVEN project, however, the XML file has become dispensable in the recent application development. However, Maven has not yet followed this change, so we have two ways to solve this problem:
Method One:
If there is no web. XML in the project, add a Web. XML to the project
of RAID5, at least 4 disks, of which 2 disk capacity is used to store recovery checksum dataThe role of the DNS server, the difference between authoritative DNS, cache DNS, and the rapid setting up of a cache DNS serverThe role of the DNS server: to provide clients with "domain name-->IP address" Information Query serviceAuthoritative DNS: Responsible for at least one DNS zone, authorized by the Internet Domain name Authority, to provide only a sm
Open FileOpen (Name[mode[,buffing])Name: is mandatory option, mode and buffer are optional#假设文件不在. The following error is reported:>>> f = open (R ' D:\text.txt ', ' R ') Traceback (most recent): File "file ModeNote:1. The default way, say open (' filename ') is read mode2. r+, which means read/write3. If it is a binary file or a graphics file, you must
Click to enter Requests websiteI. Installation of requests1.$ PIP Install requestsIf an error occurs: OSError: [Errno] Permission denied: '/library/python/2.7/site-packages/requests 'You can add sudo before the PIP, which is $ sudo pip install requests.2.$ Easy_install requests, this method is not recommended for use.
Two. Compare URLLIB2 module and requests module (get "http://www.baidu.com" source)1. Use of URLLIB2
Import urllib2
>&
This article goes from http://www.kissyu.org/backgroundWe can often find such statements in a shell script >/dev/null 2>1 . Before I did not go into the role of this command, copy replicable, until last week I wrote this order accidentally 2>1 >/dev/null , a little problem, I began to understand the "myster
Use ci to write the logon code. use $ this- amp; gt; db- amp; gt; when you query the database to verify the account password, the returned value is always null. The following is the function code verified in the Controller: {code ...} the code in the model is as follows: {code ...} use ci to write the logon code, and use $ this-> db-&
Shell may often see: Echo log>/dev/null 2> 1
Command results can be defined in the form of %>/Dev/null: Indicates an empty device file.>: Indicates the redirection location, for example, Echo "123">/home/123.txt1: Indicates stdout standard output. The defaul
No. 03 Chapter: Using Strings------Supported operations
Index
Slice
add element
Delete Element
Updating elements
Find elements (check if an element is part of a sequence)
Sequence length
Maximum Value
Minimum value
Other built-in functions
>>> website= ' http://www.python.org ' >&
Step1, configuring Dispatcherservlet
Configure Dispatcherservlet in Web. XML to intercept the corresponding requestservlet> Servlet-name>DispatcherServlet-name> Servlet-class>Org.springframework.web.servlet.DispatcherServletServlet-class>
Differences between the three Display:box;display:inline;display:noneDisplay:block is characterized by:The block is the display default value.Always start on a new line;The contents of the object are then automatically wrapped;Both the row height and the top and bottom margins can be controlled;The width default is 100% of its container, unless a width is set;Display:inline is characterized by:and other elements are on one line, not wrapping;The row height and top and bottom margin cannot be cha
The shell can often be seen: >/dev/null 2>1The result of the command can be defined in the form of a%> output/dev/null represents an empty device fileWhere does the > delegate redirect to, for example: echo "123" >/home/123.txt1 means stdout standard output, t
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.