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

Пребарај: #citizenengagement

当前筛选 #citizenengagement清除筛选
MyGov Newsdesk

@MyGovCoronaNewsdesk · Post #13349 · 21.02.2025 г., 10:11

Language isn’t just a way to communicate—it’s the soul of our civilization and culture, as PM Narendra Modi says. On #InternationalMotherLanguageDay, we celebrate Bharat’s rich linguistic heritage and the voices that make us one vibrant community! With 11+ languages, MyGov, your citizen engagement platform ensures your voice is heard. Quizzes, contests, pledges, and more, because India’s diversity is its true strength. Be a part of the MyGov family—be a MyGov Saathi! 🔗 Explore more: https://linktr.ee/MyGovSocial #CitizenEngagement #MyGovSaathi

MyGov Newsdesk

@MyGovCoronaNewsdesk · Post #13452 · 28.02.2026 г., 08:42

Pulse Of A Confident India! From citizen engagement and India stories to the India-AI Impact Summit 2026 and Pariksha Pe Charcha 2026, this edition also highlights 140 Crore Citizens, 140 Crore Solutions, ‘India is Riding the Reform Express’, Seva Teerth, key Cabinet Decisions and Social Media Engagement. #MyGovPulse captures the many dimensions of India’s progress and participation. Visit: https://static.mygov.in/static/s3fs-public/ebook/India-AI-Impact-Summit-2026/index.html #NewIndia #ReformExpress #IndiaAIImpactSummit2026 #CitizenEngagement