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
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:
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
It works ok as a single tool: but it doesn’t work in a pipeline: it returns: What is the problem with piping the cURL output? How to buffer the whole cURL output and then handle it?
Please read the whole answer before attempting to run with sudo Try running sudo /dvtcolorconvert.rb ~/Themes/ObsidianCode.xccolortheme The sudo command executes the commands which follow it with ‘superuser’ or ‘root’ privileges. This should allow you to execute almost anything from the command line. That said, DON’T DO THIS! If you are running a script on your … Read more