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

Резултати

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

Пребарај: #prizepool

当前筛选 #prizepool清除筛选

💵23,500 in prize pools from Bidask, TeFi Alliance, Aura, and Inflake Still time to jump in — here’s what’s active right now: 🪙Torch Finance × TeFi Alliance Prize pool: $20,000 Complete simple on-chain tasks; just under a month left. Details in our post 💲Bidask Stable Pool (tgUSD / USDT) Extra pool: $2,000 Swap or add liquidity — current APY ≈ 15 %. 🏆Joint contest: AURA × Inflake × Bidask $1,500 prize pool $50 bonus in Token Rain for users who join via our link — —awarded according to the leaderboard of collected coins. Results in about a week Prizes for the top three: 🥇 — 5 games 🥈 — 3 games 🥉 — 2 games 🤔How Aura works ➡️ Each user gets free “games”; every game earns about $1.5 in tokens you can withdraw immediately. ➡️ After a quick tutorial you unlock three more games. To cash out, you’ll need an NFT pass, which adds extra games and an expected return of roughly 10%. Bidask app | Aura bot #Web3#CryptoNews#PrizePool

Crypto M - Crypto News

@CryptoM · Post #64590 · 09.04.2026 г., 09:31

🚀 Binance to Launch Treehouse (TREE) Trading Tournament with 3.5 Million TREE Prize Pool According to the announcement from Binance, the platform is set to host a Treehouse (TREE) Trading Tournament, offering eligible participants a chance to share a prize pool of 3,500,000 TREE in token vouchers. The promotion period is scheduled from 2026-04-09 10:00 (UTC) to 2026-04-19 10:00 (UTC). Eligibility for participation extends to all verified new, regular users, and Binance VIP users, while liquidity providers in the Binance Spot Liquidity Provider Program and Binance Brokers are excluded. Eligible trading pairs for the tournament include TREE/USDT and TREE/USDC. Participants must trade a cumulative amount of at least 500 USD equivalent in these pairs on Binance Spot during the promotion period to qualify for rewards. The reward structure is based on rankings determined by cumulative trading volume, with the top five participants receiving substantial TREE token vouchers. Specifically, the first-place winner will receive 175,000 TREE, while subsequent places will receive decreasing amounts down to the fifth place, which will earn 35,000 TREE. Participants ranked sixth to twentieth will share 315,000 TREE equally, and those ranked twenty-first to fiftieth will split 280,000 TREE. Further, participants ranked fifty-first to two hundredth will share 490,000 TREE, and those ranked two hundred first to one thousandth will also split 490,000 TREE. Remaining eligible participants will share 1,400,000 TREE, capped at 300 TREE per user. Token vouchers will be distributed by 2026-05-03 and must be redeemed within 21 days. The leaderboard, updated daily, will display only users who meet the minimum trading volume threshold. Binance reserves the right to disqualify participants for dishonest behavior and may amend terms without prior notice. The tournament's commencement is contingent upon the successful listing of the TREE token on Binance Spot. #Binance#Treehouse#TREE#TradingTournament#PrizePool#TokenVouchers#LiquidityProviders#SpotTrading#USDT#USDC#VIPUsers#BinanceVIP#CumulativeTradingVolume#Leaderboard#CryptoPromotion#TradingRewards#TREEtoken