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

Резултати

Пронајдени 5 слични објави

Пребарај: #stopamr

当前筛选 #stopamr清除筛选

#FactFriday Feeling better doesn’t mean the infection is gone. Stopping antibiotics without proper guidance can fuel Antimicrobial Resistance (AMR) making infections harder to treat. ✔️Always follow your healthcare provider’s advice. ✔️ Only use antibiotics when prescribed ✔️ Always complete your dose ✔️ Take antibiotics exactly as prescribed ✔️ Don’t stop, skip, or share medications. ✅Your actions today protect your health tomorrow.! #FactFriday#StopAMR#PublicHealth#NCDCNigeria

💊 Misuse of Antibiotics makes them dangerous. 💯Protect your health and help fight Antimicrobial Resistance (AMR) by avoiding self-diagnosis. Always consult a qualified healthcare professional and get a prescription before taking antibiotics✅️ Together we can Fight Antimicrobial Resistance (AMR)and protect the effectiveness of antibiotics for ourselves and future generations.💪 Use antibiotics responsibly, save lives!! #StopAMR#GlobalHealth#NCDCNigeria

#Antimicrobial Resistance (AMR) is a growing global health threat — but together, we can prevent it! 🚫💊 👉 Don’t self-medicate 👉 Complete your prescriptions 👉 Don’t share leftover drugs 👉 wash hands frequently with soap under running water 👉 Stay protected with vaccines Let’s all take responsibility in the fight against AMR. 💪🌍 #StopAMR#StaySafe#NCDCNigeria

Antibiotics are lifesavers when used correctly but misuse can make infections harder to treat. 🦠💊 #AntimicrobialResistance (AMR) is a growing public health threat caused by self-medication, incomplete doses, and improper antibiotic use. Protect yourself and others by using antibiotics only as prescribed. ✅ Complete your medications ✅ Avoid self-medication ✅ Practice good hygiene ✅ Seek medical care when symptoms persist Together, we can fight AMR and keep treatments effective for the future. #StopAMR#HealthAwareness#NCDCNigeria#StaySafe