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 слични објави

Пребарај: #jumpfun

当前筛选 #jumpfun清除筛选
jump.fun

@jumpdotfun · Post #50 · 27.11.2024 г., 13:55

#jumpfun is all about community 🚀 Got friends? Got a squad? Or just want to flex as a community leader? 🔹 Set up your own jump.fun community & get listed on the Community Board – instant clout, endless rewards 🔹 Every donation - 1% for you, 1% for the referrer, and 1% for the community creator 🔹 Oh, and 50% of protocol revenue? Straight back to community rewards, 25% to traders, 15% to referrers, 10% to community creators Keep building, keep earning. 💰💰 #MEGA

jump.fun

@jumpdotfun · Post #39 · 24.11.2024 г., 10:12

My mom says I’m special… and guess what? She’s right. 🦘💎 • Liquidity War Mode • 100% Buyback • Free 6 ETH Liquidity Loan • Powerful Referral Incentive System Pretty sure that proves how special jump.fun is😉 #MEGA#jumpfun

jump.fun

@jumpdotfun · Post #33 · 23.11.2024 г., 17:01

Everything You Need to Know About Donate on Jump.fun Why Donate? The Donate mechanism solves a critical problem in the ETH memecoin market: lack of initial liquidity. Your donations directly fund the creator to add liquidity for new memecoins. This ensures every project starts with a fair and solid foundation. You’re directly contributing to the growth of meme culture on Ethereum. #MEGA What’s in it for you? Donating isn’t just about supporting projects—it’s about getting rewarded with ownership: ▪️80% JUMP token will be distributed to donators ▪️Get a chance to win ETH from the Fomo3D prize pool $JUMP Tokenomics Total supply: 1,000,000,000 ▪️Donation Rewards: 800,000,000 (80%) ▪️Initial Liquidity: 120,000,000 (12%) ▪️Team: 40,000,000 (4%) - with 12-month vesting period ▪️CEX Listing: 40,000,000 (4%) Wen Claim JUMP The JUMP tokens will be distributed after the donation is ended. At that time, you can claim your tokens through the "Claim" option on the Donate page. Why is #jumpfun different? Unlike other platforms (e.g., pumpdotfun), jumpfun shares protocol revenue with the community. This creates a positive feedback loop: More donations →more token launches →higher revenue → more $JUMP buybacks → stronger community incentives. Dear Ethereum community: start donating today and bring memecoin fomo back home where it belongs. (Yes we are talking to you Vitalik!) 👉 Visit Jump.fun to learn more!

jump.fun

@jumpdotfun · Post #30 · 22.11.2024 г., 14:44

Time to JUMPstart a new era of memecoin history. Time to make memes on Ethereum great again! #MEGA#jumpfun Let's f***cking jump 🦘🚀📈

jump.fun

@jumpdotfun · Post #32 · 23.11.2024 г., 13:40

🚀 The wait is over - $JUMP is live! 🚀 Donate now and secure your stake in Jump.fun, the next-generation memecoin launchpad: 🔥 Liquidity War Mode (loot liquidity, win big!) 💰 FREE 6 ETH liquidity loan on Uniswap ⚡️ Community-ownership via $JUMP token #jumpfun is the key to bring back memecoin FOMO and fun to the Ethereum ecosystem. #MEGA 🌕 Don’t just watch - #jump high, moon higher!