Иногда бывает ситуация когда 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
🔥 MODDED APK | Unlocked Premium Features | No Watermark
🔹 App Name: KineMaster
🔹 Version: 7.5.18.3415
🔹 Architecture: arm64-v8a
🔹 Mod Type: Premium Unlocked
🚀 Features:
✅ Premium Unlocked
✅ No Watermark
✅ No Ads
✅ Full Export Support
✅ High-Quality Video Editing
👨💻 Modders Info:
💡 Special Thanks & Credits :
🔸 AbhiTheM0dder
🔸 AlexLiza
🔸 GolderBot
🔸 Guess Me
⚠ Warning: This modded version is for educational purposes only. Please use the official version from the Google Play Store for professional work and to support the developers.
📥 Official Play Store Link:
[🔗 Get KineMaster from Google Play]
#KineMaster#VideoEditing#PremiumMod#APK#AlexLiza#AbhiTheM0dder#GolderBot#GuessMe
Допилил нашу прогулку по Парижу. Сильно не накидываете. Но критика одобряется.
#Париж#Путешествие#Видеограф#Монтаж#Paris#Travel#EiffelTower#VideoEditing#Filmmaking
Top 5 Insights from Trendoscope Lab
1️⃣ a16z's new report reveals top B2C AI apps by traffic differ from revenue leaders like photo and video editors. Read more
2️⃣ Google launches AI Mode with Gemini, initially for Google One subscribers, enhancing AI SEO relevance. Details here
3️⃣ Short drama apps surge with 221% annual growth in downloads, affecting traditional streamers like Netflix and Disney+ that declined by 35%. Insight found here
4️⃣ Google and Meta enable developers to access cameras on XR devices, easing previous privacy restrictions. More info and here
5️⃣ Google enhances Android widget visibility with new filters and dedicated pages. Learn more
#AI#Google#Tech#Streaming#XR#Investments#B2C#Apps#VideoEditing#Photos#Dramas#SEO#Privacy#Android#Widgets#Investing#VC#a16z#Trends#Innovation
AI Video Editor Raises $500K
Diffusion Studio has secured $500K in funding as of December 4, 2024. Their AI Video Editor simplifies video editing with advanced features such as Magic Cut, Text-Based Editing, and Instant Auto-Captioning, catering to creators and businesses aiming to enhance their video production efficiency.
#AI#VideoEditing#Funding#Technology#Creators#Influencers#Business#Automation#Software#Innovation#EditingTools#VideoProduction#TextBasedEditing#AutoCaptioning#Workflow#Engagement#Professional#ContentCreation#Creativity#Efficiency