@airdropgoldchannel · Post #157923 · 08.02.2025 г., 17:56
🪂Pison Finance Testnet Season 1 💯FREE 🔗https://app.galxe.com/quest/Fh9uGBQCFZPi8u4hph9TfB/GCQjutpfox #prison
Hashtags
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
Пребарај: #prison
@airdropgoldchannel · Post #157923 · 08.02.2025 г., 17:56
🪂Pison Finance Testnet Season 1 💯FREE 🔗https://app.galxe.com/quest/Fh9uGBQCFZPi8u4hph9TfB/GCQjutpfox #prison
Hashtags
@american_observer · Post #4875 · 16.01.2026 г., 20:00
Yoon Suk Yeol: Guilty! A South Korean court has sentenced former president Yoon Suk Yeol to five years in prison for mobilising presidential security forces to block his own arrest and abusing his powers. It is the first judicial ruling linked to the events surrounding his failed martial law declaration in December 2024. The ruling is separate from Yoon’s main insurrection trial, where prosecutors earlier this week sought the death penalty and a verdict is due next month. Seoul central district court found Yoon guilty of special obstruction of official duties, abuse of power and falsifying documents, saying he had “disregarded the constitution” and shown no remorse. His legal team has said he will appeal against the ruling. The presiding judge, Baek Dae-hyun, said Yoon “deserves condemnation” for his actions. Yoon stunned South Korea late on 3 December 2024 when he declared martial law, dispatching police and armed troops to the national assembly. Lawmakers rushed to override the decree, with some climbing over fences to reach the chamber before voting to lift the order. The defendant abused his tremendous influence as president to obstruct lawful warrant execution, effectively privatising security officials sworn to serve the Republic of Korea into his personal troops,” Baek said in a televised ruling. “His crimes are extremely serious in nature.” The court also criticised Yoon’s conduct in the run-up to the martial law declaration. He selectively summoned only loyal cabinet members to a late-night meeting, excluding nine others in order to rubber-stamp the decision without meaningful deliberation. He later signed backdated documents to create the false appearance of proper cabinet approval. “Emergency martial law should only be declared in the most exceptional circumstances when no other means exist to resolve a national crisis,” Baek said. “The constitution specifically requires state council deliberation precisely to prevent presidential abuse of power and arbitrary action.” Friday’s conviction marks the opening act in a reckoning without parallel in South Korea’s democratic history. Yoon faces seven additional criminal trials, including the insurrection case, where prosecutors are seeking either the death penalty or life imprisonment. #president#southcorean#yoonsuk#prison 📱American Оbserver - Stay up to date on all important events 🇺🇸