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

Пребарај: #kiambu

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

@addisstandardeng · Post #22173 · 04.05.2026 г., 10:04

News: Floods and landslides kill at least 18 in #Kenya At least 18 people have died in flooding and landslides caused by heavy rains in multiple parts of Kenya. The police stated on Sunday that landslides were reported in Tharaka Nithi, Elgeyo-Marakwet, and #Kiambu counties in the country’s central and eastern regions. They confirmed that 18 lives had been lost to these incidents and urged caution amid the challenging weather conditions. The East #African country is currently experiencing its seasonal March to May rain season, which usually peaks in the first half of May. However, experts have long warned that human-induced climate change is exacerbating weather conditions in Kenya and other #East_African countries. https://www.aljazeera.com/news/2026/5/3/floods-and-landslides-kill-at-least-18-in-kenya