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

Резултати

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

Пребарај: #llamas

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

@googlefactss · Post #40414 · 26.12.2025 г., 11:00

Llamas spit to protect themselves, keep their place, or show power. Males spit in fights over females. Females spit to stop males. They also spit when annoyed or mistreated. Llama spit has saliva and partly digested food. It can fly up to 10 meters (33 feet). 🦙💨 [Source] @googlefactss#Llamas#AnimalFacts#Spitting

Google Facts™ [ ️@googlefactss🌎]

@googlefactss · Post #40360 · 19.12.2025 г., 07:04

Mother llamas hum to their babies to help them recognize each other. Each hum is special and unique. This helps the mother find her baby in the herd. It also keeps the babies safe by avoiding confusion. 🦙🎶 [Read more] @googlefactss#Llamas#AnimalCommunication#NatureFacts

Google Facts™ [ ️@googlefactss🌎]

@googlefactss · Post #40421 · 27.12.2025 г., 15:00

Llamas and donkeys can guard livestock well if they are kept alone. If with others, they only protect their own kind. Male llamas and donkeys should be castrated to improve their guarding behavior. 🦙🐴 [Source] @googlefactss#LivestockGuardians#Llamas#Donkeys#FarmFacts