After setting up the Android development environment, it is no problem to run the Android app with the simulator, but when the phone is connected to the computer by USB, the computer is not recognized and Eclipse is not recognized. The reasons are as follows:1. The phone does not turn on the USB debugging function, the solution:Settings-application-development-hook-up "USB debugging"2. The device does not have the driver installed on the computer, the solution:Launch the Android SDK and AVD Mana
be used directly in virtualenv. You need to install the configuration again using Pip install in a virtual environment before you can use it.Take a chestnut: go to the environmental test and install Django1. Pip installs Django in a virtual environmentUse source env/bin/activate the command to enter the development environment, then view the Python version, then use the pip install django install Djangoimport djangoNo error has occurred and the Django has been successfully installed2. Installat
Here is a brief introduction of the mysql Hot Backup installation method, mainly in Ubuntu, a friend in need can refer.
1. Install the latest Ubuntu Server version and update the system.
2. Install MySQL Server: sudo apt-get instal mysql-server, set the administrator password, and remove the local address binding for remote access.
MASTER: 192.168.137.12
From: 192.168.137.133. Set the utf8 character set to support Chinese characters. Add the following
Set up iscsi storage in Centos6.5
To build a vsphere environment, you need to use network storage to simulate applications in the production environment. Now, a 800 GB hard drive server is configured as iscsi storage.
The iscsi server is as follows:
Ip: 10.11.68.10
Hard Disk: in addition to basic server applications, GB is used for storage. Thanks to the lvm, we can directly create a logical volume.
[Html] view plaincopy
[Root @ iscsi10 ~] # Vgs
VG # PV # LV # SNAttrVSizeVFree
Vg_iscsi10110w
all the time, but for tutorial and testing Purpos ES it is acceptable).Ideally, I would like to use a git hooks to push a trigger to Jenkins but unfortunately I am using TFS with a git bridge in Terface that doesn ' t support Git hooks. So, I am subjected to polling for changes.If you would like for information about setting up a Git hooks to trigger Jenkins builds Kohsuke Kawaguchi wrote a Great post on this.At this point, if you do a commit to your repository Jenkins would identify the chang
Speed up, perform our first taskGulp, one of the most popular tools in front-end development.Let's start by creating a Package.jsonwen file in the project directory: running node under the project directoryNPM InitBefore installing gulp, let's take a look at the NPM instal-g command: If you do not add-G, it will be installed in the current project directory. Plus-G will be installed in a global directory.we can see what the global catalog is by using
finally arrived at JUnit test, there was a failed, as shown below:
[JUnit] testcase: getsystemenvironment_withandwithoutsecurityma
Nager (Org. SPRIngframework. Core. Env. environmenttests): Failed
According to the reply from the author of the spring team blog to @ reddog, I tried it and the result was success!
@ Reddog: if you wish to run all the tests, but simply ignore this one, add JUnit's @ ignore annotation to the test method that's failing. if you simply wish to build the spring j
terminal console. (The operation steps are as follows :)
Copy and paste all the following code once, as shown in the command line, and press Enter.
import urllib2,os; pf='Package Control.sublime-package'; ipp=sublime.installed_packages_path(); os.makedirs(ipp) if not os.path.exists(ipp) else None; urllib2.install_opener(urllib2.build_opener(urllib2.ProxyHandler())); open(os.path.join(ipp,pf),'wb').write(urllib2.urlopen('http://sublime.wbond.net/'+pf.replace(' ','%20')).read()); print 'Please
/tokyocabinet-1.4.47.tar.gztar zxvf tokyocabinet-1.4.47.tar.gzcd tokyocabinet-1.4.47 /. /configure -- prefix =/usr/local/tokyocabinet-1.4.47/# Note: Compile Tokyo cabinet on a 32-bit Linux operating system, please use. /configure -- replace the enable-off64. /configure, which can break the limit of 2 GB for database files. #./Configure -- enable-off64 -- prefix =/usr/local/tokyocabinet-1.4.47/Makemake installcd ../
When the second step is executed, the error is caused by missing bzip2-1.0.6.tar.
memory overflow problem occurs during startup, the following exception information is thrown:Java. Lang. outofmemoryerror: Java heap SpaceYou can try the following methods:A. Modify tomcat/bin/Catalina. BAT and add the following content:Set java_opts =-xms256m-xmx512m-djava. AWT. Headless = true [-XX: maxpermsize = 128 M]B. eclipse-> Windows-> preferences...-> tomcat-> JVM...-> JVM text box, add-xms256m-xmx512mC. eclipse-> preference-> JAVA-> instal
(such as fedora) or an apt-Get system (such as a Debian system), run the following command to install it:
$ Yum install curl-devel expat-devel gettext-devel \
OpenSSL-devel zlib-devel
$ Apt-Get install curl-devel expat-devel gettext-devel \
OpenSSL-devel zlib-devel
Then, download the latest source code from the following git official site:
Http://git-scm.com/download
Then compile and install:
$ Tar-zxf git-1.6.0.5.tar.gz
$ Git-1.6.0.5 CD
$ Make prefix =/usr/local all
$ Sudo make prefix =/usr/lo
license" (open window 3 );3. Press F6 or install new license to open the new lcense installation window (window 2 );4. Run zapgui.exe (Window 1). Enter the parameter and click the instal button to generate the license key. The result item is the generated key;Reference: enter a value in the direction of the arrow. The values are red and blue first. If you do not understand the text or the graph, do not ask me again!License number: NULL, not filledUse
Make full use of subjective initiative when resources are insufficient.
You do not have the root permission for the test machine. To use a Python script to perform a stress test on the database, you can only install it in your own directory. Therefore, the -- prefix of configure and the path options when installing mysqldb are very important.
1.Python tar xvf Python-2.6.5.tar.bz2
CD Python-2.6.5
./Configure -- prefix = your_python_dir
Make make instal
exception information is thrown:Java. lang. OutOfMemoryError: Java heap space
You can try the following methods:A. Modify Tomcat/bin/catalina. bat and add the following content:Set java_opts =-xms256m-xmx512m-djava. AWT. Headless = true [-XX: maxpermsize = 128 M]
B. eclipse-> Windows-> preferences...-> tomcat-> JVM...-> JVM text box, add-xms256m-xmx512m
C. eclipse-> preference-> JAVA-> instal jres-> edit, add the parameter-xms256m-xmx512m
Reference r
this article, the following describes how to install the GTK development environment of Ubuntu Dapper:
Sudo apt-get install vim # Yes, I use vim to write code. Of course, you can use any editor you like.Sudo apt-get install build-essential # This will installGcc/g ++/gdb/make and other basic programming toolsSudo apt-get install gnome-core-devel # This will install libgtk2.0-dev libglib2.0-dev and other development-related library filesSudo apt-get install pkg-config # used to automati
Do you want to know the truth about the Linux Makefile system? Do you want to know what is inherent in the Linux Makefile system, I will only give you a full introduction to the Linux Makefile system as a program developer in Linux. You must have met the Linux Makefile system, it is really convenient to compile your own programs by using the make command. Generally, you write a simple Linux Makefile manually. If you want to write a Linux Makefile that complies with the Free Software conventions,
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.