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

Пребарај: #bonke

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

@addisstandardeng · Post #21705 · 13.03.2026 г., 12:56

News Analysis: Landslides in #south_Ethiopia expose disaster preparedness gaps as death toll climbs The death toll from devastating landslides and flash floods triggered by heavy seasonal rains in #Ethiopia’s South Ethiopia Regional State has climbed to 107, according to local authorities, as rescue operations transition into recovery efforts amid warnings of an escalating humanitarian crisis. The disaster struck several kebeles across #Gacho_Baba, #Bonke, #Kamba_Zuria, and West #Abaya woredas in #Gamo_Zone, on the early morning of 11 March, destroying homes, farmland, and infrastructure, and displacing thousands. The Ethiopian Human Rights Commission (#EHRC) said today that it has been closely monitoring the aftermath of the catastrophe, describing the situation as severe and calling for an urgent coordinated response from authorities and humanitarian actors. The Commission confirmed widespread loss of life and displacement. Read more: https://addisstandard.com/?p=55835