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.

cannot download, $GOPATH not set

[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

Run script on mac prompt “Permission denied”

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