TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

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

Резултати

Пронајдени 1 слични објави

Пребарај: #belyanka

当前筛选 #belyanka清除筛选
DruschbaFM - English

@druschbaFm_en · Post #52625 · 28.03.2025 г., 08:05

⚡️ 🇷🇺 🇺🇦⚔️ Ukraine Fronts on the Morning of 28 March⚡️ 🔴#Sumy Direction: 🔴In #Sudzha Sector, to the west on Ukrainian lands, the battle for #Vladimirovka reportedly continued {still unproven; 1st blue arrow on map}. 🟡 For #Veselovka as well, but confirmed {1st black arrow}. 🟡 In #Zhuravka as well. As for... 🟡#Basovka. 🟡#Novenkoye, is RFAF controlled {1st red arrow}. 🟡 In #Kursk region, the 'Sudza Gas Transmission Point' and the 'Border Checkpoint' came under RFAF control {2nd red arrow}. 🎬 Video 🟡#Gogolevka, reportedly has been taken by Russian troops {4th black arrow}. 🟡#Oleshnya remains AFU controlled. 🟡 In #Guyevo, according to unconfirmed reports, the RFAF control the northern part. Fierce fighting continues. 🟡#Gornal remains under save AFU control. 🔴In #KrasnayaYaruga Sector, the battle for #Popovka and #Demidovka continued, so far without tangible success for the AFU {5th/6th black arrow}. 🟡 At #Grafovka, lull. 🟡 At #Prilesye as well. 🗺 All on Map 1 🔴 In #Kharkov Direction, positional battles and aviation operations in the areas of #Liptsy, ​​Volchansk and strikes at AFU rear supply routes. 🔴#Svatovo Front: 🔴 In #Kupyansk and #Borovaya Sector, ongoing battles without significant changes. 🔴In #Liman Sector, Russian troops have advanced towards #Katerinovka and #Novoye. 🔴In #Seversk Sector, fighting at #Belogorovka (#LPR) and #Verkhnekamenskoye is ongoing. 🔴#ChasovYar Direction: 🔴In #ChasovYar and #Toretsk Sectors, the fighting continued, without major changes. 🔴#Pokrovsk Direction: 🔴 On the right Flank, far to the east, battles are taking place in the area of #​​Panteleymonovka. Further west for #Tarasovka and the territory to its west. 🔴 South of the City, the situation remains dynamic. 🟡 In #Peschanoye, Russian troops advanced reportedly in the western and central village parts {according to the map the AFU lost control of its (black added) boundaries}. 🗺 Map 2 🟡 In #Kotlino, the AFU entered (confirmed), and reportedly seized nearly all of the settlement's boundaries. 🗺 Map 3 🔴 On the left Flank, the area of #Udachnoye is sunk in the fog of war. 🟡 In #Uspenovka, Russian troops are reportedly clearing the village and have advanced southwest of it into... 🟡#Novoaleksandrovka, the fighting for which has begun. Further south... 🟡 On #Preobrazhenka's approaches, the fighting continues, as well as towards #Troitskoye and #Bogdanovka. 🔴#Komar Direction: 🔴In #Konstantinopol Sector, the same named village is in the fog of war. 🟡 In #Razliv, to the southwest, the RFAF have reportedly entered the village. 🔴 In #Komar Sector, Russian assault groups broke reportedly through north of #Dneproenergiya and attack the eastern part of #Vesyoloye. The village is also under assault from the south. 🟡 In #Volnoye Pole, Russian forces lost their positions in the centre, but consolidated in the eastern village part. 🔴#Zaporozhye Direction: 🔴In #Orekhov Section, fighting continues in the​#MalayaTokmachka - #Rabotino area. The main battles are taking place further west: 🟡 In #Shcherbaki, the RFAF have advanced into the village's centre. The AFU counterattacks. 🟡#MalyeShcherbakito the west, is still not completely RFAF controlled. 🟡 In #Stepovoye, further west, fighting continues with varying success. 🟡 In #Lobkovoye as well. 🟡#Pyatikhatki is RFAF controlled. 🔴 In #Kherson Direction, fights in the island zone. 💥#OldRussia: 🔵 In #Belgorod Region, the villages of #Belyanka, #Nechayevka, #Tishanka, #Shakhovka, #Smorodino and #Kukuyevka came under AFU fire. 💥#RestUkraine: 🔵 The RFAF struck objects in #Kiev, #Odessa, #Dnepropetrovsk, #Kharkov, #Khmelnitsky, #Nikolayev, #Cherkassy, and Poltava regions. 🎞 Video Source 🗺 Maps @olegtsarov; @petrenko_iHS 📋 Sources: CC; Tsarov; ⚡️2M; 🇺🇦Fiend;😼Kotenok 🕰As of 28 Mar 2025; 06:37 GMT+3;📃27 Mar 📱 Join GLOBAL DEPTH to boost your TG Feed 💬Join Military Chat for Comments & Discussions 🇺🇦On Ukraine Observer you will find your daily independent Ukraine War Battle Update