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

Пребарај: #youthprojects

当前筛选 #youthprojects清除筛选

@RusEmbMalta: ICC “Artek” announces the start of the selection of international competitions for 2026!🌍 The International Children’s Center Artek has launched its annual Selection of International Competitions 🏆🎯 to form the 2026 registry of partners. The cooperation aims to: • create conditions for fostering a positive image of the Russian Federation and Russian culture abroad; • organize events, information campaigns, and social initiatives to promote the Russian language, culture, and history in different countries; • strengthen Artek’s international standing in the field of children’s education, recreation, and wellness, and promote Russian education worldwide. 💫🌏 📅Selection timeline: Stage One (online format) – until 15 September 2025 – submission and registration of documents – 16–22 September 2025 – technical review of submitted documents Stage Two (online format) – 26 September – 26 October 2025 📩 Full details and requirements 👉artek.org 📧 Applications: [email protected] #Artek#InternationalPartners#GlobalEducation#RussianCulture#YouthProjects