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.

Installing ADB on macOS [duplicate]

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

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