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

Пребарај: #lavrovinterview

当前筛选 #lavrovinterview清除筛选

@RusEmbMalta Press Release 💬Key Points from Foreign Minister Sergey Lavrov's Interview with CBS News (Moscow, April 27, 2025) On American Companies in Russia🇺🇸➡️🇷🇺: Russia has no objections to American companies returning, but vacated market spaces may already be filled by Russian or other foreign investors. On Sanctions🚫: Russia is not seeking the lifting of sanctions and is open to business only on the basis of equal, mutually beneficial terms. On U.S.-Russia Dialogue🤝: Negotiations with the U.S. are ongoing and confidential. Russia is committed to dialogue focused on balancing national interests, not confrontation. On Ukraine: Crimea is Russian territory and is not up for negotiation. Russia accuses the West of ignoring human rights issues while pushing for Ukraine’s military victory. On Strategic Stability☢️🤝: Russia supports restoring arms control discussions if the U.S. is ready for equal, respectful talks. On Outer Space🚀: Russia denies U.S. claims about nuclear weapons in space and advocates for a legally binding treaty banning all weapons in orbit. On Diplomacy🌍🕊️: Russia welcomes direct, serious negotiations and criticizes media leaks and public speculation as harmful to real diplomacy. Read/watch the interview in full here. #LavrovInterview#UkraineCrisis#RussiaUSrelations