Иногда бывает ситуация когда 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
🌐Climate Tech Gets an AI Upgrade!
AI isn’t just about chatbots and robots — it’s now being used to fight climate change.🌱
Recent breakthroughs show AI can:
✔️ Predict extreme weather with higher accuracy.
✔️ Optimize energy grids for renewable power.
✔️ Reduce waste in agriculture and water usage.
✔️ Help cities design smarter, greener infrastructure.
This could mean billions saved in disaster response and a faster transition to clean energy.
But… the big question is: Will governments and companies adopt it fast enough?⌛
Would you trust AI to manage your city’s energy?
➖➖➖➖🔻
🧠 BOT: @Chatgpt_OfficialBOT
💎@Chatgpt_OfficialNews
#️⃣#AI#ClimateTech#Innovation#NeuralHubAI
➖➖➖➖🔺
In Iceland, the CarbFix project captures CO2 from geothermal power plants. The CO2 is mixed with water and injected deep underground into basalt rock. It reacts with minerals in the rock and forms stable carbonate rock. The system has been operating at the Hellisheiði geothermal power plant.
🪨🌍💧⚗️
[Read more]
@googlefactss
#CarbonCapture#Iceland#CO2#ClimateTech
Accelergen Energy Raises $20M
Accelergen Energy has secured $20 million in funding as of December 19, 2024. The firm focuses on delivering clean power assets characterized by robust and sustainable locational value through strategic investments, development, commercialization, and optimized operations. For more details, visit Accelergen Energy.
#Accelergen#Energy#Funding#CleanPower#Investment#Sustainability#RenewableEnergy#Development#Commercialization#Operations#ClimateTech#GreenEnergy#Ecosystem#Infrastructure#PowerAssets#Technology#StrategicInvestment#CleanTech#EcoFriendly#LocationalValue
#The_Time🇺🇸📕[PDF]⬇️
27 #October2025
#Weekly_Magazines
For learning, for free(dom).
@backupofmagazines
Meet the #Future of invention in TIME’s Best Inventions of 2025! 🤖 From humanoid robots folding laundry (#AI), to lab-grown #salmon, wildfire defense tech, and personalized #healthcare, this issue showcases 50+ breakthroughs that redefine home, work, and #sustainability. Discover how #FigureAI leads the #robotics revolution, dive into the #Barbie phenomenon, explore the rise of “Baby Boxes,” and relive the final #StrangerThings. A must-read collection for #tech lovers and #innovators alike.
#BestInventions2025#Innovation#FutureOfWork#ClimateTech#Biotech#Netflix#HumanAI#TimeMagazine