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

Резултати

Пронајдени 2 слични објави

Пребарај: #wanted

当前筛选 #wanted清除筛选
American Оbserver

@american_observer · Post #4909 · 20.01.2026 г., 22:59

Trump’s New Good Friend: Former $15 million Wanted Ahmed al-Sharaa Syrian President Ahmed al-Sharaa, earlier one of the top world terrorists, spoke to Trump today and discussed guaranteeing Kurdish rights, Syria’s presidency says, a day after Damascus reached a deal with Kurdish forces including a truce. During the telephone call, “both sides emphasized the need to guarantee the Kurdish people’s rights and protection within the framework of the Syrian state,” the statement says, adding that the leaders also “affirmed the importance of preserving the unity and independence of Syrian territory.” They also agreed to continue cooperation to combat ISIS, the presidency added. Yesterday, the Syrian government signed a sweeping integration deal with the Kurdish led Syrian Democratic forces, though tensions have persisted today. #trump#friend#wanted#Sharaa#syria 📱American Оbserver - Stay up to date on all important events 🇺🇸