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

Пребарај: #sawt

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

@addisstandardeng · Post #21214 · 27.01.2026 г., 15:45

News: Salsay Weyane raises concerns over election conditions as #NEBE presses Interim Administration on preparations Salsay Weyane #Tigray (#SAWT) has raised concerns over the feasibility of holding elections in Tigray under current conditions, warning that key prerequisites for a credible electoral process remain unmet, even as the National Election Board of Ethiopia (NEBE) continues to push ahead with preparations for the seventh national general election scheduled for June 2026. In a press release issued on yesterday, the party said the security situation in Tigray remains unconducive to free and fair elections, citing the absence of a fully functional civil administration capable of facilitating the electoral process. SAWT also said that significant parts of the region remain under the control of what it described as illegal authorities, while millions of people displaced from .... https://www.facebook.com/AddisstandardEng/posts/pfbid0U3XZe5RbDTaESQgC3BfL9rEh5cyi9XiSpXRVcUfgyJ9oH2rmcZ5vCMDXfDixjTCCl