Here is how to kill an application that is running on a specific port on macOS
Find it:
sudo lsof -i :3000
Kill it:
# .rubocop.yml | |
# source: https://www.fastruby.io/blog/ruby/code-quality/how-we-use-rubocop-and-standardrb.html | |
require: | |
- standard | |
- rubocop-rails | |
- rubocop-rspec | |
inherit_gem: | |
standard: config/base.yml |
Here is how to kill an application that is running on a specific port on macOS
Find it:
sudo lsof -i :3000
Kill it:
# Create the virtual environment | |
python3 -m venv .venv | |
# configure created venv in your shell (vscode will do this automatically if you use a new shell) | |
source .venv/bin/activate | |
# or if you are using fish shell: | |
. .venv/bin/activate.fish | |
pip install -r requirements/local.txt |
I hereby claim:
To claim this, I am signing this object:
// https://stackoverflow.com/a/32750746/1673761 | |
class MyError extends Error { | |
constructor(message) { | |
super(message); | |
this.name = 'MyError'; | |
} | |
} |
# install java | |
apt-get install -y software-properties-common | |
apt-add-repository -y ppa:webupd8team/java | |
apt-get update | |
apt-get install -y oracle-java8-installer | |
# download latest android sdk | |
# http://developer.android.com/sdk/index.html#Other | |
cd /opt | |
wget http://dl.google.com/android/android-sdk_r24.4.1-linux.tgz |