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

Пребарај: #pulsation

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

@cosmomyst · Post #164 · 21.08.2025 г., 00:11

🪐 In the constellation Hydra, astronomers have found R Hydrae, a star that pulses in brightness over a period of about 385 days. This "Mira variable" expands and contracts like a cosmic heartbeat, changing size and light output as it nears the end of its life, giving scientists clues about the future fate of our own Sun. ✨ #stars⚡#hydra⚡#pulsation⚡#nasa⚡#galaxy⚡#astronomy⚡#universe⚡#cosmos⚡#space 👉subscribe Universe Mysteries

Universe Mysteries 🪐

@cosmomyst · Post #113 · 10.08.2025 г., 20:11

🪐 In the constellation Vela, the star system HD 74423 displays an unusual cosmic phenomenon: its shape is teardrop-like rather than round, caused by the powerful gravitational pull of a nearby red dwarf companion. This distortion leads to "heartbeat" pulsations—brightenings and dimmings in rhythm with the stars’ orbits—making HD 74423 the first known one-sided pulsating star in our galaxy. ✨ #Vela⚡#heartbeatstars⚡#pulsation⚡#nasa⚡#galaxy⚡#stars⚡#astronomy⚡#universe⚡#cosmos⚡#space 👉subscribe Universe Mysteries