TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

TGINSIGHT SIMILAR POSTS

Најди сличен содржај

Изворен канал @pythonotes · Post #9 · 7 јан.

Иногда бывает ситуация когда 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

Hashtags

Резултати

Пронајдени 1 слични објави

Пребарај: #metema

当前筛选 #metema清除筛选
Addis Standard

@addisstandardeng · Post #21361 · 10.02.2026 г., 14:04

#Federal Cassation Bench upholds desert allowance for #Metema Hospital staff; #unpaid overtime worsens hardship for health professionals in #Amhara region Health professionals working in eight government hospitals across the Amhara Region say they are facing severe social and economic hardship due to years of unpaid “desert allowances.” Despite a court ruling in favor of Metema Hospital staff, the payments have yet to be implemented. Furthermore, health workers across the Amhara region report that overtime (duty) payments have not been made for several months.... A health professional at Dabat Primary Hospital testifies to the difficulty he is facing due to delayed duty payment. He describes his situation, saying, “I can’t make ends meet from month to month. I am living on borrowed money. I am married and have a child.” https://addisstandard.com/?p=55137