Иногда бывает ситуация когда 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
A systemd fork has set out as a fu*k you to age verification.
Liberated systemd is a fork of mainline systemd started by Jeffrey Seathrún Sardina, a machine learning/AI researcher who apparently had enough of where things were heading. The project is straightforward about its purpose; strip out what it considers surveillance-enabling code, keep everything else intact, and stay in sync with upstream as it develops.
https://itsfoss.com/news/systemd-fork-strips-out-age-verification/
@itsfoss_official
#AgeVerification#SystemD
438 Experts Warn: Age Verification May Not Work | Tech, Privacy News Explained
More than 400 security and privacy experts have issued a formal warning about age verification systems.
Importantly, they are not arguing against protecting children online — but raising concerns about whether current systems actually work as intended, how they scale, and what risks they introduce.
The warning comes as governments in the UK, US, and Europe continue rolling out age verification and age assurance requirements under new regulations.
In this video, we look at:
• Who these experts are
• What they actually said
• The technical challenges behind age verification
• Why concerns about privacy, security, and effectiveness are being raised
• And why these systems are being introduced anyway
https://csa-scientist-open-letter.org/ageverif-Feb2026
#BigBrother#AgeVerification