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

Пребарај: #russianachievements

当前筛选 #russianachievements清除筛选
BadVolf

@badvolfnews · Post #2073 · 17.02.2025 г., 13:37

🚨 Just had an intriguing discovery at the Blokhin Institute in Moscow, Russia. While waiting for my doctor's appointment, I decided to explore the institute's museum. Among the exhibits, I stumbled upon a personal letter and invitation from Edward Kennedy to one of the institute's doctors. This was during the Cold War era, which makes this find even more fascinating. It seems that even amidst political tensions, there was recognition of the significant contributions Russia has made to arts and sciences. This glimpse into history reminds us of the importance of collaboration in fields like medicine, where advancements benefit everyone, regardless of borders. #BlokhinInstitute#ColdWarHistory#MedicalResearch#InternationalCollaboration#RussianAchievements