@zapovednick · Post #8 · 19.04.2022 г., 14:13
Coming soon... #сидр#заповедник#новинка#newrelease
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #421 · 23 мар.
Мы используем Makefile думая, что нет альтернатив, что это стандарт и всё такое. Но make это не запускалка команд, а система сборки. Мы фактически используем его не по назначению. И на самом деле альтернатива есть! Некоторое время назад я открыл для себя прекрасный инструмент - just. Он решает все проблемы make. just - это не система сборки как make, это именно исполнитель команд! Больше никаких Phony Targets и табуляций, привет нормальный синтаксис и передача аргументов!!! 😎 ⭐️Что умеет just: ✅ Автодокументирование команд Не нужно делать отдельную команду с докой, просто добавь комментарий # команда сборки build: ... $ just --list Available recipes: build # команда сборки Команда с именем default запускается по умолчанию если не указано другое, так что я обычно делаю так: default: just --list Теперь просто выполняем just и получаем доку из текущего файла. ✅ Удобная работа с переменными окружения # загрузить из .env set dotenv-load # глобальная переменная export PYTHONPATH := "./src" # переменная для команды test $TESTUNG="true": pytest ✅ Передача аргументов build target: @echo 'Build {{target}}...' команда запуска $ just build dev # Build dev... ✅ Выбор интерпретатора прямо в команде Пример с инлайн-скриптом на python: system: #!/usr/bin/env python3 import platform print(platform.system()) Эта же функция позволит выполнить скрипт как одну команду вместо перезапуска шела для каждой строки foo: #!/usr/bin/env sh for file in ls .; do echo $file done ✅ Выполнение команды в определенной директории. Можно указать как релятивный путь так и абсолютный [working-directory: 'backend'] build: docker compose build Также можно задать рабочую директорию глобально Там еще много интересного: - поддержка функций - автокомплиты и интеграции - экспрешены - алиасы команд - группировка команд - альтернативы команды под разные ОС - импорт других just-файлов - цветной вывод - ... и другие штуковины! Так что вперёд - ➡️ читать доку! Репозиторий: ➡️https://github.com/casey/just Статья: ➡️https://www.chicks.net/reference/file_formats/just/ ЗЫ. Кажется, на Makefile я уже не вернусь) #tools
Hashtags
Пребарај: #newrelease
@zapovednick · Post #8 · 19.04.2022 г., 14:13
Coming soon... #сидр#заповедник#новинка#newrelease
@revheadcrypto · Post #65 · 09.07.2024 г., 16:11
🚘🚘 Skoda is preparing for the premiere of a new electric vehicle. It's the compact crossover Elroq, which will rank below the Enyaq in the company's lineup, serving as an electric addition to the current Karoq crossover. The base Skoda Elroq 50 is equipped with a 170-horsepower electric motor on the rear axle and a 55 kWh battery. Skoda Elroq 60 will come with a 204-horsepower motor and a 63 kWh battery. Skoda Elroq 85 features a 285 hp motor and will be equipped with an 82 kWh battery. The top version Elroq 85x will have a dual-motor all-wheel drive system - 299 hp. It will reach a top speed of 180 km/h and have a range of 560 km without recharging.🌟🔌🔋 #SkodaElroq#ElectricVehicle#NewRelease#Auto
@revheadcrypto · Post #47 · 05.07.2024 г., 16:07
Volkswagen is gearing up to introduce a special surprise for the Chinese market - the new electric coupe-style crossover, ID.Unyx! The first official photos have been released, and it's safe to say that the design of this vehicle is nothing short of mesmerizing. It's a variation on the already prominent Cupra Tavascan, with its own unique twist. The ID.Unyx will be powered by potent electric motors - one at the rear axle delivering 231 hp and, for those seeking extra power, an additional motor with 109 hp. This model promises not only efficiency and eco-friendliness but also impressive performance. This vehicle effortlessly combines elegance, modern style, and cutting-edge technology. The Volkswagen ID.Unyx is the perfect choice for those who value comfort, efficiency, and a dynamic appearance. Strive for excellence - choose the Volkswagen ID.Unyx! 🌟🚗 #Volkswagen#IDUnyx#electricvehicle#newrelease#crossover
@revheadcrypto · Post #113 · 16.07.2024 г., 10:00
🚗 The new liftback and wagon Audi A5 have been unveiled ahead of the premiere! The A5 is based on a new platform called PPC (Premium Platform Combustion) – obviously, this is a variation of the PPE architecture for electric cars focused on internal combustion engines. The engine lineup will be led by a 2.0-liter turbo engine producing 268 hp, paired with a seven-speed dual-clutch transmission instead of the previous automatic. Optional all-wheel drive will be available. The S5 version will feature a 3.0-liter V6 engine with 362 horsepower. Sources also mention a small electric motor delivering 24 hp and 230 Nm. Exciting times ahead for Audi enthusiasts! 🌟🔥 #AudiA5#NewRelease#LuxuryCars#AutomotiveIndustry#Innovation#Performance#Auto🏎️
@revheadcrypto · Post #250 · 06.08.2024 г., 09:32
🚗✨Nissan Unveils the Updated Frontier Pickup!🌟 Get ready for the all-new look of the Nissan Frontier, designed specifically for the North American market! 🇺🇸💪 🔧What's New? - Fresh exterior design for a bold presence! - Upgraded media system with a larger screen for an enhanced driving experience! 📱🎶 - Expanded features to keep you connected and comfortable! ⚙️Under the Hood: No changes here! The Frontier continues to boast a powerful 3.8-liter V6 engine with 310 horsepower and a smooth 9-speed automatic transmission! 🚀 #NissanFrontier#PickupTruck#NewRelease#AutomotiveNews#V6Power#Auto
@revheadcrypto · Post #448 · 05.09.2024 г., 13:45
🚗✨ Introducing the updated Volvo XC90! ✨🚗 After nearly a decade, the XC90 has received a stunning makeover with a refreshed exterior featuring new headlights, grille, and bumpers. Plus, enjoy an enhanced suspension and a modern media system with a larger screen! 📱🔊 This new XC90 will only be available with hybrid powertrains based on gasoline engines, as the company has phased out diesel options. ⚡️🚫 🔋 The plug-in hybrid XC90 offers an impressive electric range of about 70 km, with a total driving range of 800 km! Meanwhile, mild-hybrid versions with a 48-volt starter-generator reduce fuel consumption by 15%. 🌍💚 #VolvoXC90#Hybrid#Sustainability#Innovation#CarLovers#NewRelease#Auto
@revheadcrypto · Post #414 · 31.08.2024 г., 16:58
🚗✨Introducing the All-New Volkswagen Passat in China!🇨🇳 Say hello to the latest sedan that combines sleek design with innovative features! While it may resemble the European wagon, the Chinese Passat boasts a unique look with aggressive bumpers and stylish black accents. 😍 🌟Key Features: - 11.6-inch Passenger Display for ultimate entertainment! 📱 - Convenient Seat Adjustment Button for rear passengers to maximize comfort! 🪑 Under the hood, choose between two powerful turbo engines: - 1.5L with 160 hp ⚡️ - 2.0L with 220 hp 🚀 🗓️Sales Begin on September 10th! #Volkswagen#Passat#NewRelease#China#CarEnthusiasts#Innovation#LuxuryOnWheels#Auto
@revheadcrypto · Post #458 · 07.09.2024 г., 12:55
🚙✨ Exciting News! The new Mitsubishi Pajero Sport has hit the testing grounds! 🛤️🔍 Despite its camouflage, it's clear that the front design draws inspiration from the current L200/Triton pickup. 🛻💨 The new front end beautifully complements the familiar rear styling. Could this be a prototype testing individual components in a non-production body? 🤔🔧 While the release date remains a mystery, the current model is set to be discontinued in 2025. ⏳📅 #MitsubishiPajeroSport#CarTesting#NewRelease#Mitsubishi#SUV#AutoNews#Innovation#Auto