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

Резултати

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

Пребарај: #viper

当前筛选 #viper清除筛选
Xiaomi 12T Pro | K50U | Updates

@xiaomi_12tpro_updates · Post #561 · 09.05.2026 г., 13:10

#DerpFest#ROM#B#May#diting#viper#Baklava#signed#QPR2 DerpFest 16 Stable OFFICIAL | Android 16.2 Device: Xiaomi 12T Pro (diting) Alias: Redmi K50 Ultra Date: 2026-05-07 ⚡️Fast Download 🧑‍💻Support Group 🎁PayPal ✨May Release✨ Security & Fixes - May Security Patch - Recent App Lock fixed (clear all dismiss) Features - Upstreamed GameBar - Upstreamed Dynamic Bar - New Volume Dialog customization - Music Visualizer improved/back - GApps debloated - ViPER4Android included Regressions and Tinkering - Sidebar sometimes gets stuck and needs to be retoggled - Dynamic Bar crashes FireFox (specifically) on video playback; Use any other browser or turn off Dynamic Bar when watching videos. - Custom statusbar icon sets as of now are included, but not functional. Others - A valid keybox is required to achieve play integrity. - Achieve strong integrity without modules using below steps: 1. Disable forcing strong (enable top toggle in spoofing settings) 2. Load valid keybox.xml and pif.json in spoofing 3. Get rid of any integrity related modules if you have any - if you used modules before, it is recommended to remove them, update, and then add them back -> some users had bootloops with e.g. LSPosed. Special Thanks: - kenway214 for GameBar 👌 - Jean for donating telegram premium! 🫶 - Jean for Fast Mirror! ⚡️ - All my testers - My core team - guys, you are truly the best! 😌 by: P.A.N.Z.

Xiaomi 12T Pro | K50U | Updates

@xiaomi_12tpro_updates · Post #552 · 12.04.2026 г., 15:29

#DerpFest#ROM#B#April#diting#viper#micam#Baklava#signed#QPR2 DerpFest 16 Stable OFFICIAL | Android 16.2 Device: Xiaomi 12T Pro | Redmi K50 Ultra (diting) Date: 2026-04-07 ⚡️Fast Download 🧑‍💻Support Group 🎁PayPal ✨Initial STABLE Release✨ Security & Fixes - April Security Patch Features - Android 16.2 (qpr2) in all its glory - Mi Cam included & fully functional - GApps debloated - Dynamic Bar (~Dynamic Island) - ViPER4Android included Regressions and Tinkering - Dynamic Bar crashes Firefox (specifically) in video playback; use any other browser or disable Dynamic Bar while watching videos. - Reconnecting to 5G from wifi might take a few seconds, but then works fine. - Custom statusbar icon sets as of now are included, but not functional. Others - A valid keybox is required to achieve play integrity. - Achieve strong integrity without modules using below steps: 1. Disable forcing strong (enable top toggle in spoofing settings) 2. Load valid keybox.xml and pif.json in spoofing 3. Get rid of any integrity related modules if you have any - if you used modules before, it is recommended to remove them, update, and then add them back -> some users had bootloops with e.g. LSPosed. Special Thanks: - kenway214 for GameBar 👌 - Bomboozler for his awesome contributions - jezzay for finding ksu commits - Einargednochsson for BT audio in cars fix 🤝 - Jean for donating telegram premium! 🫶 - Jean for Fast Mirror! ⚡️ - All my testers - My core team - guys, you are truly the best! 😌 by: P.A.N.Z.

Xiaomi 12T Pro | K50U | Updates

@xiaomi_12tpro_updates · Post #529 · 15.03.2026 г., 15:20

#DerpFest#ROM#B#March#diting#viper#micam#Baklava#signed#QPR2 DerpFest 16 Stable Public Beta OFFICIAL | Android 16.2 Device: Xiaomi 12T Pro | Redmi K50 Ultra (diting) Date: 2026-03-13 ⚡️Fast Download 🧑‍💻Support Group 🎁PayPal ✨Initial Public Beta Release✨ Security & Fixes - March Security Patch Features - Android 16.2 (qpr2) in all its glory - Mi Cam included & fully functional - ViPER4Android included Regressions and Tinkering - Vibration statusbar icon doesn't show - Reconnecting to 5G from wifi might take a few seconds, but then works fine. - Custom statusbar icon sets as of now are included, but not functional. Others - A valid keybox is required to achieve play integrity. - Achieve strong integrity without modules using below steps: 1. Disable forcing strong (enable top toggle in spoofing settings) 2. Load valid keybox.xml and pif.json in spoofing 3. Get rid of any integrity related modules if you have any - if you used modules before, it is recommended to remove them, update, and then add them back -> some users had bootloops with e.g. LSPosed. Special Thanks: - kenway214 for GameBar 👌 - Bomboozler for his awesome contributions - jezzay for finding ksu commits - Einargednochsson for BT audio in cars fix 🤝 - Jean for donating telegram premium! 🫶 - Jean for Fast Mirror! ⚡️ - All my testers - My core team - guys, you are truly the best! 😌 by: P.A.N.Z.

GitHub Trends

@githubtrending · Post #15440 · 27.01.2026 г., 12:00

#go#config#config_loader#configuration#configuration_file#configuration_management#etcd_client#go#golang#golang_package#s3_bucket#toml#viper#yaml koanf is a lightweight Go library to load config from files (JSON, YAML, TOML), env vars, flags, S3, Vault and more, merging them easily with dot-path keys like "app.server.port". Install core with `go get github.com/knadh/koanf/v2`, add providers/parsers as needed. It's a cleaner Viper alternative with fewer dependencies and better extensibility. This saves you time by simplifying config in apps, letting you override values flexibly without bloat or forced orders. https://github.com/knadh/koanf