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

Пребарај: #shewa

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

@addisstandardeng · Post #22034 · 16.04.2026 г., 07:02

#Ethiopia: Residents of #Ambo recount a city ‘under siege’ by ‘criminal gangs’ after social media revelations expose disturbing abuses Residents of Ambo city, in west #Shewa zone of #Oromia regional state, say they are “living in fear” amid “a pattern of violence, intimidation, and impunity.” Many are speaking up following a wave of social media posts over the past two days that have brought renewed scrutiny to rampant abuses in the city of civilians by organized group of men called “120”. Multiple videos and pictures, shared widely on social media networks and echoed in messages sent to Addis Standard, describe incidents ranging from public beatings and arbitrary detention to extortion and, in some cases, killings. While Addis Standard did not independently verify these videos and pictures, residents who reached out pleasing to share their accounts speak of a harrowing experience over the past “two years.” “We are living in a city under siege,” Read more: https://addisstandard.com/?p=56525