In Windows, Putty is often used to log on to a remote Linux host, during which PPK files are used. There is no putty in Mac OSX, but you can directly use the SSH command. This Command needs to be executed at terminal. Before using SSH, You need to convert the format of the PPK file. The method is: Open puttygen.exe in windows, read the PPK file, click the conversions menu, select OpenSSH, and assume that the file is saved as myppk. Ssh. In this case,
I. Unix-level startup scripts/Etc/mach_init.d//Etc/mach_init_per_user.d//Etc/mach_init_per_login_session.d/The Startup Script under these three directories will be executed during system initialization.Ii. OSX-level Startup Script/System/library/startupitems/~ /Library/startupitems/Iii. Start background processes at OSX level/Library/launchagents//Library/launchdaemons/~ /Library/launchagents/~ /Library/lau
I in the use of OSX system, often need to enable or disable the root account, modify the relevant configuration parameters or permissions, refer to the official document to enable and close root, still feel too many steps and appear complex, combined with the following methods, can quickly enable and close the Mac OSX root Super Administrator account:1. Press "command" + "SPACEBAR" to search for "directory
1. First install the Ctags with the Brew tool, the installation path is/user/local/binThe default ctags executable in OSX does isn't support recursive directory search (i.e. ctags -R ). To get a proper copy of Ctags, use one of the following options:
Using Homebrew:Brew Install Ctags
Using MacPorts:Port Install Ctags
2. Make sure the path is correctEnsure that's PATH updated so the correct version is run:
If which ctags does
This article tags: Nordic chip macosx I tried to compile the Nordic Nrf5x Series project with GCC under Mac OSX, but found that the compiled hex could not be burned, so it was down for a while. Now we have to pick it up and solve the problem.The following are the compile steps:
Nordic official website Download SDK:NRF51822SDK
The chip of the NRF5X series running ble is divided into two parts, namely Softdevice and APP. One
I heard that xgboost effect is very good, so prepare to learn, but found that most of the information is about how to install Xgboost under Windows or Linux, and according to official documents are not properly installed multi-threaded xgboost. Finally, the method was found from there.1. Mac OSX system usually comes with Python, open the terminal input python can write Python code, so the Python environment already has.2. Installing Homebrew , similar
I. MAC OSX shortcut keys Ctrl+shift NB Sp Quick Zoom dock icon will zoom in temporarily, and if you turn on dock Zoom Command+option+w Close all Windows Command+w the current Window close (Can Close Safari tab bar, very useful) Command+option+m Minimize All windows NBSP Command+q Close the current Application (equivalent to dock right mouse button launch. Very practical) Command+m
About the APP
APP Name:libimobiledevice
APP description:library to communicate with IOS devices natively
APP website:http://www.libimobiledevice.org/
Install the APP
Press and Command+Space type Terminal and press Enter/return key.
Run in Terminal app:" $ (curl-fssl https://raw.githubusercontent.com/Homebrew/install/master/install) " and press Enter/return key. Wait for the command to finish.
Run:Brew Install Libimobiledevice
done! You can now use libi
simulator are emptied and deleted if not needed.Path: ~/library/application support/iphone simulator/6.1/applications (take iOS Simulator 6.1 as an example)5. Removal of archivesImpact: Not recoverable, adhoc or App Store version will be deleted. Recommended Backup dSYM FolderPath: ~/library/developer/xcode/archives6. Removal of DeriveddataImpact: can be regenerated; The build's project index, build output, and log are deleted. When you reopen the project, it will regenerate and the large proje
If you want to disable, we need to enter the following command in the terminal: sudo 0Then navigate to/private/var/vm/to delete the already existing Sleepimage filecd/private/var/vm/Use the following command to delete the file sudo RM SleepimageFinally we want to prevent OS X from continuing to create the file, so we need the following command to generate an empty file that cannot be replaced Touch Sleepimage chmod /private/var/vm/sleepimageOf course, if you want to re-open the Safesleep fun
(1) When the computer is upgraded to 10.10, opening eclipse always prompts "you need to install the old Java SE 6 runtime environment to open eclipse." FIX: Install JKD (2) cannot install JKD "Oracle Java requires Mac OS X 10.7.3 or later" so the snake Essence disease bug, the common sense is unable to solve, temporarily modifies the system version number modified:sudo sed-i ' s/>10.10.1Recovery: sudo sed-i ' s/>10.9[MAC OSX-1] OSX10.10 cannot install
The sublime installation plugin can be easily installed according to the name of the plugin via the package control. However, Sublime does not install the package control by default, so we must install it first.Install the package control steps as follows:1, through the control+~ to bring up the console;2. Copy the following section of code to the console and enter.ImportUrllib2,os; pf='Package Control.sublime-package'; Ipp=sublime.installed_packages_path (); Os.makedirs (IPP)if notOs.path.exis
$ sudo port upgrade outdatedUpgrade the default update behavior is to download a new version and enable it, but the old version is not deleted. If you want to update the new version while uninstalling the old version, use the-u parameter.$ sudo port-u upgrade vile3.16. Dependents -Lists all development packages that rely on this package.xaviermavericks:~ xavier$ Port dependents Python27nodejs depends on Python27py27-pip depends on Python27py27-setuptools D Epends on Python27 3.17. Livecheck -Ch
-vhost.conf is opened and the virtual host is configured.
Locate the Set up virtual host sample, and comment out the # number before adding
Add your own virtual host configuration, such as, where 80 is the port number, servername for the project to open in the browser name, documentroot as the file path, if the Laravel framework, the path to public, the following two items are error log and user log path settings.
7, set the host file, command line input ' vi/etc/hosts ', add server
1.export path= $PATH:/xxx/binThis method is a temporary change of environment variables, after closing the terminal path or the previous unmodified2.sudo vim/etc/pathsThis method changes the global environment variables. Each line represents a path, add your path to the last line, you can drag the folder directly to the terminal, note that the last space does not appear, otherwise it will be invalidated. Then restart the terminal, Echo $PATH can see the path has been addedCopyright NOTICE: This
Project home: Https://github.com/rofl0r/proxychains-ngOfficial Note:
Proxychains ng (New Generation)-a preloader which hooks calls to sockets in dynamically linked programs and redirects it Through one or more socks/http proxies. Continuation of the unmaintained Proxychains project.
Reference post: http://www.dreamxu.com/proxychains-ng/Installation configurationInstalling with Homebrew
Brew Install Proxychains-ng
Editing a configuration filevim /usr/local
for:Export hbase_opts="-xx:+useconcmarksweepgc-djava.security.krb5.realm=ox. ac.uk-djava.security.krb5.kdc=kdc0.ox.ac.uk:kdc1.ox.ac.uk"Stop HBase,./bin/stop-hbase.shStart again, it should be successful.(2) Simple testStart the HBase shell./bin/hbase ShellPerform help in the shell to see the helpful information:HBase (Main):001:0> HelpCreate a test table:HBase (Main):002:0'test'cf'To List table information:HBase (Main):003:0'test'Insert several test data:HBase (main):004:0> put'Test','Row1','cf:
ZSSH[Plain]View Plaincopy
Brew Install Zssh Lrzsz
Reference: http://brew.sh/index_zh-cn.htmlAdd: HTTPS Download failed resolutionHomebrew uses curl to download files, and some are downloaded using an HTTPS connection. However, due to the network environment or some other reason, the HTTPS certificate authentication failed and could not be downloadedIf I visit https://webp.googlecode.com, I will report a certificate error.The "-k" option for Curl resolves this issue and is download
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.