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

Резултати

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

Пребарај: #verb

当前筛选 #verb清除筛选
English Speakers

@English_Speakers · Post #57 · 12.01.2017 г., 12:13

⤴️#Word_of_the_Day⤴️ 📚nibble Audio Pronunciation /ˈnɪbəl/ #verb 1⃣ : to eat slowly or with small bites [+ object] ✅We nibbled cheese and crackers. [no object] ✅We nibbled on some cheese and crackers before dinner. — often + at ✅She felt a fish nibble at the end of her fishing line. ✅Insects nibbled at the tree's leaves. — sometimes used figuratively ✅He nibbled at the idea of changing careers [=he thought briefly about changing careers], but decided against it in the end. 2⃣ [+ object] : to bite (something) very gently ✅He nibbled her ear. ✅nibble (away) at [phrasal verb] ✅nibble (away) at (something) : to make (something) disappear or go away very slowly ✅Police have been nibbling (away) at crime in the city for years. [=police have been very slowly reducing the amount of crime in the city] @English_Speakers

Learn RCRussian🤍💙❤️

@learnRCRussian · Post #5753 · 29.11.2025 г., 09:00

Если я погладил много котиков, значит ли это, что я гладиатор? If I've petted many kitties, does that make me a gladiator? • Гладить (imperf.) [gla-dit'] = • Погладить (perf.) [pa-gla-dit'] Meanings: 1) to iron clothes 2) to pet, to stroke (an animal) Also: • Гладиатор (masc.noun) [gla-di-a-tor] А gladiator (a warrior) Not everyone who ГЛАДИт cats can become a ГЛАДИатор. Or can they? 😒⚔️ #tricky_words #verb #meme #learn_russian 😎RCR | Support | Boost

VERB Raises $558M to Acquire TON VERB (ticker VERB) is securing approximately $558 million in funding to build a public TON treasury. With these funds, the company plans to buy Toncoin ($TON) and hold it as its primary reserve asset. The goal is to become the first public company whose core “cushion” consists of TON — effectively treating TON as a reserve asset on its balance sheet. VERB expects to earn both from TON’s price appreciation and staking rewards. Once the deal closes (scheduled for August 7, 2025), VERB will rebrand as TON Strategy Co. (TSC) and continue growing its existing projects. Investors: Over 110 institutional and “crypto-native” participants, including Pantera, Animoca, Kraken, BitGo, Vy Capital, Ribbit Capital, and Graticule (GAMA). Advisors & Partners: Experts from Kingsway Capital, TON Foundation, and Blockchain.com will join governance. Having Pantera, Animoca, Kraken, and BitGo on board is meant to add both expertise and trust. Leadership Team: Executive Chairman: Manuel Stotz (Kingsway Capital; President, TON Foundation) CEO: Veronika Kapustina (former TON Foundation advisor; ex-Morgan Stanley) CFO: Sara Olsen (Europa Partners; former Onyx by JPMorgan) Special Advisor: Peter Smith (CEO & Co-Founder, Blockchain.com) VERB is betting that TON will remain the main blockchain for Telegram’s product ecosystem. As Telegram’s ecosystem grows, so could the value of VERB’s TON reserves. Post-Closing Metrics: ➡️Lock-up:~36% of equity for 6–12 months ➡️Cash Ratio:~77% cash among DAT companies holding non-BTC/ETH assets — one of the highest in the sector ➡️TON Treasury Size: ~5% of TON’s circulating market cap ➡️Capacity for Further TON Accumulation ➡️Ticker: VERB remains listed on Nasdaq, with the new treasury strategy effective post-close ➡️Advisors: Cohen & Company (placement), Reed Smith, Perkins Coie, Brownstein Hyatt Farber Schreck, Morgan Lewis Risks: This is a private placement (PIPE) with standard risks: the transaction may not close, markets could decline, and the strategy might underperform. VERB discloses these risks in its disclaimer. Read press release 📱RedotPay | 🔃StormTrade | ❤️CapsGame |📱Degenphone #TON#Telegram#PIPE#Verb#Investments#Treasury