1. Download the latest version from the official websiteHttp://www.lua.org/download.html?2. UnzipThe downloaded file is lua-5.2.3.tar.gz, unzip it?3. CompilingOpen the terminal, enter the location of the LUA source code, for example:$ cd/users/alan/downloads/lua-5.2.3?At the command line input, start compiling$ make MacOSX?4. Installation$ sudo make install?Need to enter Administrator password?will be installed in the/usr/local/bin directory?5. Test whether the installation is successful$ lua?Sh
Anaconda was downloaded because of the convenience of learning Python, it provides a large number of Python toolkits, but for some reason it needs to be uninstalled.1. On Mac OS, the process of uninstalling is the process of removing the package. Locate the Anaconda installation path and drag it directly into the Recycle Bin.2. Open terminal, enter VI ~/.bash_profile, enter the current user's variable information, find the variable information anaconda set (below), delete, vi input: WQ (save exi
thread, usually can only be accepted in the main thread, but you will want this object can be in the background thread to receive notifications, Rather than the main thread. Then you need to grab them in the thread where the notifications were supposed to be, and then redirect them to the thread you want to specify.One way to do this is to implement a custom notification queue (not NSNotificationQueue ) to save those notifications, and then redirect them to the thread you specify, and the appro
Go Language Runtime Package: Http://code.google.com/p/go/downloads/listI'm here to install go version go1.4.1 darwin/amd64Download and install it.Then configure the environment variableGoroot installation is already configured, we only need to configure Gopath, I am in the current user desktop to create the Go directory, which is src,bin,pkg three directoriesSee if the current user home directory has a. bash_profile file, and the input is not createdExport Gopath=${home}/desktop/goExport Path=${
that two times Z) to save and exit.3, enter sudo vim/applications/xampp/xamppfiles/etc/extra/httpd-vhosts.conf on the terminal to configure the URL. Press ESC to exit the edit state, and press SHIFT + ZZ (Note that two times Z) to save and exit.4, give the file read and Write permission, enter sudo chmod-r 777 www on the terminal . Configuration completeStep Three:Modify the configuration database catalog file for the project config.php, modify the database name 123URL configuration is complete
Set VirtualBox Preferences-"network-" plus a default host-only nic.Then follow the settings here.SSH login "ssh-l root 192.168.56.1-p 2222"As for the SSH reference below, is copied from the book.Yum Install SSH instructions: The installation of SSH, the general has been installed, if this step out of the Internet to check.Ssh-keygen-t Dsa-p '-F ~/.SSH/ID_DSA Description: Generate the key, "~" is the current user folder simplified way,/home/xxxuser "-P" for the password, not set here. "-F" Specif
the dynamic linker to search a list of paths in order to locate the framework
Critically, this list was embedded in the loading application
This means. A single framework @rpath/Foo.framework/Versions/A/Foo with can being made to work in a number of different ways; Ely no longer limited by the choice of specifying your "install path" using either @executable_path or@loader_path
The down side:you now has to pass additional linker flags when building the host application (eg. -rpath @
9Select at least two cores here, then click Next
10Recommended to set the memory to 2G, running can be smooth
11Select the default NAT network for easy access to the virtual machine
12Select default, stand-alone next
13Select the first option and click Next
14It is important to note that Apple only supports SCSI mode, so it must be selected
15Select the disk size, at least 20G, the following recommendation to select the second item, the third item can also
16Select the path wher
continuation of the article, after the ctags, need to be done is cscope, is still on the internet to drag a, the specific process is as follows#1 Download Cscope Latest versionhttp://cscope.sourceforge.net/#downloads#2 DecompressionTar xvf Cscope-15.8b.tar#3 revise the source file for CscopeVim Src/constants.hAdd after 111 rows#undef TERMINFO#define TERMINFO 1#4 Installation./configure make all sudo make installIf the installation encounters the following error, there is no step 3
to activate Virtualenv.Perhaps Pyenv-virtualenv has no been loaded into your shell properly.Please restart the current shell and try again.Append environment variablesIf which pyenv-virtualenv-init >/dev/null; Then eval "$ (pyenv virtualenv-init-)"; FiSOURCE ~/.bash_profilePyenv Local 3.6.3 env3.6.3Since this basic feature has been installed completeThis article is from the "Fight Together" blog, please make sure to keep this source http://zwltc.blog.51cto.com/6019176/1983931Mac
Http://dev.mysql.com/doc/refman/5.7/en/resetting-permissions.htmlPro-test Method 3, the password has been successfully reset.(Thank you very much, tell me the official website has reset method, online search a bunch of heap ...)In addition, Step1 and second originated from http://www.2cto.com/database/201303/197067.htmlEnglish is not good, the official did not look very clear # #)Step1:Apple--System preferences, bottom point MySQL close MySQL service in popup page (click Stop MySQL server)Step2:
Label:The default compiler in Mac is clang/clang++ That's why debugger chose Lldb. Want to use with Macvim together, so found the vim-lldb this plugin, quite powerful ? This plugin supports Vundle, so it's easier to install. But I found in the installation process vim hints Python Fatal error, I finally found out that I used brew to install a third-party python, So there are two python in the system: Native Python and third-party python, causing the error The solution is to uninstall or unlink,
Eclipse modifies jvm parameter optimization methods (2 types) and jvm Optimization
This article describes how to modify jvm parameter optimization methods in eclipse (two methods). The details are as follows:
When you do not configure eclipse, you will always feel slow to start and use eclipse. In fact, you only need to configure eclipse-related parameters, there
Common debugging Parameters for the JVM:–VERBOSE:GC display information on the output device when a memory collection occurs on a virtual machine-xloggc:filename logging of GC-related log information to a file for analysis-xx:-heapdumponoutofmemoryerror Export the relevant information in this heap when an oom is first encountered-xx:onerror= "-XX:-P rintclasshistogram The column information of the print class instance after Ctrl-break, same as Jmap-hi
Today, I just received an insite letter from csdn, explaining the reason why my previous article was removed from the blog homepage. In fact, I did not care much about the withdrawal of the article, however, I was a little frustrated when I was removed three or four times in a row, so I didn't post any more articles in those days, and I couldn't open the homepage of my blog after I debugged the network environment of my school. I finally got better recently. Suddenly I want to say that I have co
Deep understanding of JVM structure and jvmJVM structure ---- 1. JVM Structure
2. JVM runtime data Zone
1) Program Counter (Program Counter Register)
The program counter is used to store the JVM commands that each thread will execute next. If this method is native, the program counter does not store any information.
2)
This is a creation in
Article, where the information may have evolved or changed.
Although written for many years of Java code, but basically only the JVM when blackbox processing. The book on the JVM has also seen several books, but the results are poor. See OPENJDK code? Not interested. I've had a few weeks of free time, so I decided to write a JVM in the Go la
JVM exploration-Memory Management (2), jvm exploration Memory Management
In the previous article, we introduced the memory structure managed by JVM, that is, the Run-Time Data Areas. Now we will introduce JVM memory allocation and recovery.Static Memory Allocation and dynamic memory allocation
; /* Palette of an 8-bit display * / #endif
5, so far we can really happily compiled, I use a remote Mac machine to compile, so after SSH to the remote Mac after switching to the Android SRC directory after the execution
SOURCE build/envsteup.sh//Import environment variable lunch 1//estimate build Arm-eng compile configuration nohup make-j4 > ~/android-build.log 2>1 It's strange that you need to log in to SSH to be able to compile successfully, and if you want to reopen
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.