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

Резултати

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

Пребарај: #extremophiles

当前筛选 #extremophiles清除筛选
Interesting Planet 🌍

@interesting_planet_facts · Post #468 · 30.07.2025 г., 16:22

🌎 Far beneath the Pacific Ocean, "deep-sea brine pools" exist—pockets of super-salty water heavier than seawater itself. These underwater lakes create eerily defined shorelines and host bizarre microbes that thrive in conditions lethal to most ocean life. ✨ #oceanography⚡#extremophiles⚡#deepsea 👉subscribe Interesting Planet

Interesting Planet 🌍

@interesting_planet_facts · Post #868 · 06.10.2025 г., 18:11

🌎 The Movile Cave in Romania has been sealed off from the surface for over 5 million years. Its underground ecosystem relies on chemosynthetic bacteria that use hydrogen sulfide to create food, supporting unique animals like blind spiders, worms, and snails. High carbon dioxide levels and toxic gases make human exploration difficult. ✨ #caves⚡#undergroundlife⚡#extremophiles 👉subscribe Interesting Planet 👉more Channels ​

Interesting Planet 🌍

@interesting_planet_facts · Post #462 · 29.07.2025 г., 22:22

🌎 The Pompeii worm thrives on underwater volcanoes, enduring temperatures near 80°C. Its furry back hosts heat-loving bacteria, forming a living protective shield in extreme ocean heat. ✨ #oceanlife⚡#extremophiles⚡#discovery 👉subscribe Interesting Planet