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

Пребарај: #zeroby30

当前筛选 #zeroby30清除筛选
#HaSab

@Hasab_2016 · Post #176 · 23.08.2025 г., 17:22

A step closer to a rabies-free community! I'm proud to share that I've been recognized as a Bronze-Level Dog Health Champion by the Global Alliance for Rabies Control (GARC). This certification fuels my passion for protecting both people and animals in our community. The best part? The training that got me here is completely free and available for everyone on the GARC website! This knowledge empowers us all to make a difference. Did you know that vaccinating 70% of dogs can break the cycle of rabies and protect everyone? As a DVM student, I am actively involved in educational activities to promote this and end the harmful practice of dog culling. I believe education is power! If you're a school, community group, or just a concerned pet owner, I'm here to help us learn together. Let's work towards the goal of #ZeroBy30! #CommunityHealth#DogVaccination#RabiesAwareness#GARC#DogHealthChampion#VeterinaryStudent#PublicHealth#LearnTogether#FreeEducation