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

Пребарај: #spices

当前筛选 #spices清除筛选
Amazing Geography 🌍

@amazingeo · Post #230 · 13.09.2025 г., 16:12

🌍 Nearly 2,000 islands make up Indonesia’s Maluku Islands, sometimes called the “Spice Islands,” where nutmeg, cloves, and mace originated—once so valuable they shaped global trade routes. ✨ #islands⚡#archipelagos⚡#spices⚡#geography⚡#nature⚡#earth 👉subscribe Amazing Geography🌍 ​

🍛Two Iconic South African Curries 🇿🇦 Two of the most famous curries in South African cuisine represent the two port cities — Cape Town on the west coast and Durban on the east. ⚓️ Even their names reflect their origins: 🌶Cape Malay Curry Powder refers to Cape Town’s Malay community, 🔥Durban Curry Masala — to Durban’s Indian community. The Cape curry is slightly sweeter and milder, while the Durban curry is hotter and more vibrant thanks to the addition of Kashmiri red chili. 🌶 Source: https://t.me/africamother/800 #SouthAfrica#Food#Cuisine#Cooking#CapeTown#Durban#Spices#Curry