Иногда бывает ситуация когда 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
🛕Project to save Balinese Uluwatu temple nears completion
🪨 A seawall project to combat cracks in the cliffs at the Pura Luhur Uluwatu temple in Pechatu village is almost complete.
🏗 Builders report that progress has reached 83% and completion is scheduled for early February 2025.
🌊 The project is facing major challenges due to the choppy ocean: work has now reached the headland at the very end, which is directly below the Luhur Uluwatu temple.
ℹ️ This temple is one of the most famous religious sites in Bali, and it is also popular with tourists due to its scenic and spectacular location. After it was realized that the rock on which the temple is located was in danger of collapsing from erosion, a plan was devised to save the rock.
@BaliNews
#places#reconstruction#Pechatu
#rust#gaussian_splatting#graphics#reconstruction
Brush is a powerful 3D reconstruction tool that uses Gaussian splatting to create high-quality 3D scenes. It works on many devices and systems, including macOS, Windows, Linux, Android, and even in web browsers like Chrome, without needing complex setups or heavy dependencies. You can train models interactively with your own images, view 3D scenes, and use it via a simple command-line interface. This makes it easy to create, explore, and share 3D content quickly and on almost any device, benefiting users by providing accessible, fast, and flexible 3D reconstruction technology for developers, artists, and researchers.
https://github.com/ArthurBrussee/brush
🚀 European Defense Stocks Decline Amid Ukraine-Russia Peace Deal Hopes
European defense stocks experienced a downturn on Friday following remarks from a senior Ukrainian official indicating advancements in peace negotiations with Russia. Bloomberg posted on X, highlighting the market's reaction to the potential for a ceasefire. Meanwhile, construction companies saw an uptick, driven by expectations that a peace agreement could lead to a surge in post-war reconstruction efforts. The developments have sparked optimism in the construction sector, anticipating increased demand for rebuilding infrastructure in the aftermath of the conflict.
#EuropeanDefense#Stocks#Ukraine#Russia#PeaceDeal#Construction#Reconstruction#MarketReaction
Фрагмент стены (К3) погребальной камеры (К) с иероглифами перед третьими вратами. Часть текста 144 главы книги мёртвых. Фото Артём Гизун
#qv66#nefertari#egypt#tomb#reconstruction#photoshop#3ds#3dsmax#3dmax#egyptology#architecture#ancient#antique#hieroglyphs#valleyofqueens#queensvalley#future#heritage#travel#followme
nefertaritomb.com
Винтажная открытка. Один из четырёх столбов с изображениями столба Джед и Осириса (Кс4-Кс3). На фоне стен (К1-К3) погребальной камеры (К) с текстами и изображениями 144 главы книги мёртвых.
#qv66#nefertari#egypt#tomb#reconstruction#photoshop#3ds#3dsmax#3dmax#egyptology#architecture#ancient#antique#hieroglyphs#valleyofqueens#queensvalley#future#heritage#travel#followme
nefertaritomb.com
Процесс строительства гробницы Нефертари, иллюстрация из книги Nefertari e la valle delle Regine Christian Leblanc, Alberto Siliotti.
Рекомендую смотреть на изображение справа налево. Сначала высекалась горная порода, затем наносился слой штукатурки, поверх которой жрец наносил эскизы необходимых ритуальных сцен и тексты к ним контурами красного цвета. После этого начинали работать художники, они рисовали итоговые, детально проработанные изображения чёрным цветом для скульпторов. Те, в свою очередь, по штукатурке вырезали все сцены стен гробницы, придавая рельеф и объём, который в итоге был раскрашен художниками.
#qv66#nefertari#egypt#tomb#reconstruction#photoshop#3ds#3dsmax#3dmax#egyptology#architecture#ancient#antique#hieroglyphs#valleyofqueens#queensvalley#future#heritage#travel#followme
nefertaritomb.com
Художественное представление о строительстве гробницы Нефертари. На изображении не учитывается хронологически и технологических ход проведения работы. Просто красивая картинка из сети Интернет. В следующем посте будет другая иллюстрация с учётом технологии строительства гробницы.
#qv66#nefertari#egypt#tomb#reconstruction#photoshop#3ds#3dsmax#3dmax#egyptology#architecture#ancient#antique#hieroglyphs#valleyofqueens#queensvalley#future#heritage#travel#followme
nefertaritomb.com
Письмо Нефертари Хеттской царице Пудухепе.
Великая Царица Наптера (Нефертари) земли Египетской говорит так: «Говорю сестре моей Падухепе, Великой Царице земли Хеттской. Я, сестра твоя, (и ты) будь благополучна! Да будет страна твоя благополучна. Ныне узнала я, что ты, сестра моя, написала мне, осведомляясь о здоровье моём. Написала ты мне из-за доброй дружбы, и братские отношения между братом твоим, царём Египта Великим, и Богом Бурь принесут мир, и сделает он братские отношения между царём Египта, Великим Царём, и его братом, царём Хеттов, Великим Царём, вечными… Видишь, послала я тебе дар, дабы приветствовать тебя, сестра моя… для шеи твоей (ожерелье) из чистого золота, собранное из 12 рядов весом в 88 сиклей, цветной лён маклалу для одного царского одеяния для царя… Всего 12 льняных одеяний».*
*Перевод с английского Анна Конькова-Никитина
#qv66#nefertari#egypt#tomb#reconstruction#photoshop#3ds#3dsmax#3dmax#egyptology#architecture#ancient#antique#hieroglyphs#valleyofqueens#queensvalley#future#heritage#travel#followme
nefertaritomb.com
Имя Нефертари на Аккадском, международном языке древнего мира времён Нового Царства.
#qv66#nefertari#egypt#tomb#reconstruction#photoshop#3ds#3dsmax#3dmax#egyptology#architecture#ancient#antique#hieroglyphs#valleyofqueens#queensvalley#future#heritage#travel#followme
nefertaritomb.com