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 слични објави

Пребарај: #dindraw

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

@addisstandardeng · Post #21870 · 28.03.2026 г., 07:08

News: #UN warns escalating hostilities along #Sudan’s borders, including with #Ethiopia, threaten civilians and disrupt aid operations Escalating hostilities along Sudan’s borders, including with Ethiopia, are endangering civilians and disrupting humanitarian operations, the United Nations has warned. According to a report by Xinhua, citing the UN Office for the Coordination of Humanitarian Affairs (#OCHA), recent clashes near Sudan’s frontiers with Ethiopia and #Chad have resulted in civilian casualties and forced displacement. In #Blue_Nile State, violence near the Ethiopian border has restricted access to key regions including #Kurmuk, #Sali, and #Dindraw, south of the state capital, #Ed_Damazine. Civilians have reportedly fled toward Ed Damazine and across the border into Ethiopia in search of safety. Sudanese officials have accused Ethiopia of facilitating operations by the paramilitary Rapid Support Forces (#RSF) and allied groups—an allegation....... Read more: https://addisstandard.com/?p=56160