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

Пребарај: #ngc6946

当前筛选 #ngc6946清除筛选
Universe Mysteries 🪐

@cosmomyst · Post #40 · 30.07.2025 г., 08:51

🪐 The faint spiral galaxy NGC 6946, also called the "Fireworks Galaxy," has hosted ten recorded supernovae in the past century—more than any other galaxy of its size. Its dazzling history of stellar explosions illuminates clouds of gas and dust, revealing fresh bursts of star formation and the ongoing cycle of cosmic destruction and rebirth. ✨ #supernovae⚡#galaxies⚡#NGC6946 👉subscribe Universe Mysteries

Universe Mysteries 🪐

@cosmomyst · Post #147 · 17.08.2025 г., 16:11

🪐 In the galaxy NGC 6946, astronomers have identified a pair of medium-sized black holes locked in a close orbit, slowly spiraling toward each other. As they draw closer together, they send out ripples in space called gravitational waves—faint yet powerful signals that help scientists trace the invisible dance of these hidden giants across millions of light-years. ✨ #blackholes⚡#NGC6946⚡#gravitationalwaves⚡#nasa⚡#galaxy⚡#stars⚡#astronomy⚡#universe⚡#cosmos⚡#space 👉subscribe Universe Mysteries

Universe Mysteries 🪐

@cosmomyst · Post #426 · 15.10.2025 г., 12:21

🪐 In the galaxy NGC 6946, astronomers captured the supernova SN 2017eaw, a brilliant explosion marking the death of a red supergiant star about 22 million light-years away. This supernova was so bright that for a while, it outshone all the other stars in its galaxy combined, scattering newly forged elements like oxygen and silicon into space to seed future generations of stars and planets. ✨ #supernovae⚡#NGC6946⚡#cosmicexplosions⚡#nasa⚡#galaxy⚡#stars⚡#astronomy⚡#universe⚡#cosmos⚡#space 👉subscribe Universe Mysteries 👉more Channels ​