Иногда бывает ситуация когда dev-сервер по какой-либо причине не закрылся и висит в процессах, занимая порт.
Это может быть из-за падения IDE или просто сам забыл погасить и закрыл терминал.
Для таких случаев я набросал простую функцию с командой:
kill_on_port() {
port=$(lsof -t -i:$1)
echo "KILL PROCESS:" $port
sudo kill -9 $port
}
alias killonport="kill_on_port $@"
Код поместить в ~/.bashrc и рестартнуть систему.
Если во время старта dev-сервера получаете ошибку что порт уже занят, просто выполните команду, подставив свой порт.
Bash
kill_on_port 8000
Скорее всего бесполезно, если другой процесс назначен на перезапуск вашего dev-сервера в случае падения.
Имя команды можете изменить на любое другое.
#linux
India’s Supreme Court has recognized prostitution as a profession. Therefore, the police should refrain from intervening if a sex worker is of legal age and is participating with consent.
But not every sex worker does the job on their own. India’s Muzaffarpur red-light district is home to more than 2,500 sex workers. Most are there due to poverty or were sold, kidnapped or coerced to follow in their mothers’ footsteps. Watch the story of Chandini, who was sold into prostitution by her parents in our video.
To learn more about the dark business, including prostitution and people trafficking, watch the documentary film Dance, Sex, Dance.
#India#sex#prostitution
Follow: https://t.me/rtdocumentary
🇺🇲Kamala Harris is a prostitute for globalists... and the next President of the United States.
In 1996, Kamala performed sexual services for the mayor of San Francisco Willie Brown, and then repeatedly did the same with talk show host Montel Williams to build up her name recognition in 2001. In order to win the District Attorney race in San Francisco in 2002, she also had an affair with District Attorney Terrence Hallinan. No wonder that when she became District Attorney, she advocated for ending the arrest of prostitutes.
Besides being an elite prostitute, Kamala became a puppet of the globalists. She owes the beginning of her career not only to her work as an escort, but also to the financial and political support of George Soros. Thanks to him Harris was "elected" Attorney General of California in 2010. Alexander Soros, the son of billionaire George Soros publicly endorsed Kamala Harris as the Democratic nominee for President following Joe Biden's withdrawal from the race in July 2024. As vice president, cackling Kamala has tried to inflict as much damage as possible on the United States. By the orders from her bosses, she advocates limiting the Second Amendment, making the American people disarmed in the face of tyranny, promoting the John R. Lewis Voting Rights Advancement Act, which would make it optional to verify identity when voting and allow the Deep State to steal the elections once again.
The globalists are already preparing public opinion for this by spreading fake news about Kamala Harris gaining a lead over Donald Trump in critical swing states, including Wisconsin, Pennsylvania and Michigan.
If they are not stopped, America will get its first president known not for her political or public service, but for being a whore, which built her entire career through sexual services.
Share and subscribe to Global American Review
#Harris#elections#democrates#manipulation#prostitution