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

Пребарај: #astrolabe

当前筛选 #astrolabe清除筛选
Google Facts™ [ ️@googlefactss🌎]

@googlefactss · Post #40346 · 17.12.2025 г., 11:03

The astrolabe is an ancient scientific tool from the 6th century used to tell time and find the positions of the Sun and stars. Made of metal, it has parts like a base plate (mater), a rotating star map (rete), and a sighting rule (alidade). Mariners used it for navigation before sextants. It helped measure heights and find locations by observing the sky. 🧭🌟 [Source] [See also] @googlefactss #Astrolabe#Navigation#History#Science#Astronomy

Google Facts™ [ ️@googlefactss🌎]

@googlefactss · Post #40433 · 29.12.2025 г., 15:00

Mariam al-Asṭurlābiyya was a Muslim woman scientist in the Middle Ages. She studied stars and math. She built and used astrolabes to learn about the sky. Her work helped people understand space better. She showed that women could be smart and do science too. 🌟📐🔭 [Read more 1] [Read more 2] [Read more 3] @googlefactss #Astronomy#WomenInScience#MedievalScience#Math#Astrolabe