Kill a python process
ps a to get the PID of your process. kill -9 <pid> to send it the unblockable SIGKILL signal. Note that I only have a Linux box in front of me to test, so the OS X commands may be slightly different.
ps a to get the PID of your process. kill -9 <pid> to send it the unblockable SIGKILL signal. Note that I only have a Linux box in front of me to test, so the OS X commands may be slightly different.
Use Homebrew: I would probably recommend installing homebrew to manage such installations for you. With that installed you can just run the following command to install php7.1
It appears that Apple (who have been switching from gcc to clang for some time) stopped including gdb in 10.8. Even in the CommandLine tools. The clang debugger is lldb. It is similar in use to gdb, and I’m not finding it unduly difficult to switch. Aside from explaining to my finger that they shouldn’t … Read more
Note for zsh users: replace all references to ~/.bash_profile with ~/.zshrc. Option 1 – Using Homebrew This is the easiest way and will provide automatic updates. Install the homebrew package manager /bin/bash -c “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)” Install adb brew install android-platform-tools Start using adb adb devices Option 2 – Manually (just the platform tools) This … Read more
MacVim is just Vim. Anything you are used to do in Vim will work exactly the same way in MacVim. MacVim is more integrated in the whole OS than Vim in the Terminal or even GVim in Linux, it follows a lot of Mac OS X’s conventions. If you work mainly with GUI apps (YummyFTP … Read more
UPDATE: This is no longer necessary with Python3.4. It installs pip3 as part of the stock install. I ended up posting this same question on the python mailing list, and got the following answer: Which solved my question perfectly. After adding the following for my own: So that I could run pip directly, I was … Read more
[Update: as of Go 1.8, GOPATH defaults to $HOME/go, but you may still find this useful if you want to understand the GOPATH layout, customize it, etc.] The official Go site discusses GOPATH and how to lay out a workspace directory. export GOPATH=”$HOME/your-workspace-dir/” — run it in your shell, then add it to ~/.bashrc or … Read more
Like bjhaid mentioned in the comments above: This is happening because you must add your PATH to your ~/.zshrc file. in the ~/.zshrc you should add the line: you should then source you .zshrc file:
1: Create the cmd file: 2: Replace “Mac OS” with your virtual machine name 3: Shut down the VM software completely and then run cmd file as admin. 4: Start VM software and start the vm
I am trying to find a line of code in a folder and using the terminal. I use this command, which I think should work: where the folder I am inspecting is called “myWordpress”. But I get this: I don’t use much the terminal, so I am unsure as to how to do what I … Read more