I have been using Ubuntu for a long time. Recently, my company purchased a large part of my laptop with subsidies. Out of a bit of vanity, I bought a mac air. osx evolved from freebsd. There are some differences between command lines and linux, at the beginning, I was a little unaccustomed.
For example, tinc, a tool I used to flip the wall to google, has never been running on apple. At first, I couldn't find the tunnel device, and after installing Tu
OSX restore FileVault2 partition FileVault 2 must have a Recovery HD partition because it depends on it as the system's initial startup. If you delete the Recovery HD partition in the future or by mistake, your machine will not be able to start the bird. Can I use Apple's method to obtain a Recovery HD? I can't do it in principle, because do you still remember the key that was originally encrypted? It is also lost and cannot be decrypted if it is lost
OSX System Audit Subsystem details
OS X is the basic security module BSM. The audit system is used to track user and process operations. Similar to the log function in Windows.For security considerations, the audit system must be executed at the kernel level. In OS X, audit is implemented through Mach.By default, audit logs are stored in the/var/audit directory. The naming method is start_time.stop_time. Start_time is the start timestamp, and the prec
OSX dynamic library to implement function Interception
In OS X systems, only a few processes can be completed by the kernel loader. Almost all programs are dynamically connected. Generally,/usr/lib/dyld is used as the dynamic linker.As a private loader, dyld provides some unique features, such as function interception. The DYLD_INTERPOSE macro definition allows a library to replace its function implementation with another function implementation. The
Transferred from and organized from: http://www.cnblogs.com/shanyou/archive/2011/01/30/1948088.html
Installing git in MAC-OSX is very easy. We can download an installation package and install it in a graphical interface.
All git operations can be done by using commands on the terminal, but not everyone likes to execute commands. Bytes.
After the above git installation, enter the GIT version in terminal to check whether the version information c
a little lower than that of lion. If you want to boot the kernel of the same version, there should be no errors. Well, there are some differences in the content of converting lion to ISO and snow to ISO. I don't know if this has any influence.Later, I installed snow and referred to "using VMware to install Mac OSX snow leopard OS and configure the iPhone development environment". One thing I encountered on my machine is the installation progress. In
specific to formula.
brew outdated
List formulae that have an updated version available (brew install formulaWill install the newer version)
brew prune
Remove dead symlinks from homebrew's prefix4
brew remove [formula]
Uninstallformula
brew search
List all available Formula
brew search [formula]
SearchformulaIn all available Formulae
brew search /[formula]/
Search/formula/(As RegEx) in all available Formulae
brew u
Sound Card ac97 for Mac OSX 10.4.8 is perfectly installed
Execute these statements first. If you have used Linux, you will understand it. Use Sudo-s to obtain the permission first.Rm-RF/system/library/extensions/applehda. kextRm-RF/system/library/extensions. mkextRm-RF/system/library/extensions. kextcache
Overwrite the driver to the beautiful library. If you don't know, do not install the Apple first. Then execute the following sentence.
CD/syste
/library/Ruby/gems/2.0.0/gems/cocoapods-0.33.1/lib/cocoapods/command. RB: 48: In 'run'
From/library/Ruby/gems/2.0.0/gems/cocoapods-0.33.1/bin/pod: 33: In '
From/usr/bin/pod: 23: In 'load'
From/usr/bin/pod: 23: In '
After completing the preceding steps, perform the following operations:$ sudo gem install cocoapods
At this point, it is successful!
The rest is in the same project directory as before, create podfile, execute pod install, open xworkspace, etc !!!
Reference blog: http://www.cnblogs.
official guide to install, basically is to download zip and extract to the ~/.vim/directory.
3.Setting up:
Vim color: Refer to the Official guide, edit the ~/.VIMRC configuration file, add ColorScheme solarized, and other personalization settings.
Latex-vim: Refer to the Official guide, edit the ~/.VIMRC configuration file, and note the following points:
A. Bug fix: I downloaded the vim-latex-1.8.23-20141116.812-gitd0f31c9 version has a bug called skim, please refer to he
Xshell does not have a Mac version and is not willing to run only one virtual machine for one program.What to do? Pack wine and run the shell!1, installation Winebottler process slightly (production, management Windows program, similar to crossover).2, download Xshell installation package, pro-Test Xshell 4 can be installed and used normally, Xshell 5 C + + Runtime installation failed.3, open the Winebottler, the official with a number of programs can be installed using a button.4, Xshell need t
subdirectories are enough, of course, if you do not feel enough, you can add yourself casually, for example, added work directory to store some working project files, family photo video is used to store from the phone, DV and so on photo video material.Users from Windows, if you want to keep the original habit, the user files and system files in different partitions, it is necessary to facilitate the "Disk Utility", re-partition, the system partition smaller, set aside space to create a new hfs
Project build could not find the package
Workaround:
Eclipse Read Gopath is not correct, in the project properties go Compiler The default option is removed, complete gopath
Check Godep.json confirm the corresponding code in the corresponding location can be found, here is the main code.google.com code, because Google closed the relevant site, in GODEP save when the code is not captured, Generally go to GitHub to find the corresponding clone on it, note rev to change to the SHA
should notice in a few seconds that the settings have changed and will try to connect to the network. If not, then you need to use sudo ifdown wlan0and sudo ifup wlan0 command to manually restart the interface, or use the sudo reboot command to restart the Raspberry Pi.You can use the ifconfig wlan0 command to confirm that you have successfully connected to the network. If you already have an address in inet addr , the Raspberry Pi is successfully connected to the network. If not, please check
The main reason for this problem some externally hosted files were ignored (use--allow-external PIL to allow) is that some of the dependent libraries for PIL are not yet installedNeed to install PIL's dependent libraries firstInstallation steps(1) First install Libtiff,libjpeg WEBP LITTLE-CMS2 Library through homebrewBrew Install Libtiff libjpeg WEBP little-cms2(2) then install PIL via PIPInstall PillowMac OSX Installation PIL appears some externally
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
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.