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

Резултати

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

Пребарај: #microstrategy

当前筛选 #microstrategy清除筛选
Michaël Van de Poppe Official

@michaelvandepoppeanalyst · Post #4830 · 13.09.2024 г., 15:54

MicroStrategy bought another 18,300 $BTC($1.11B) at $60,408 between Aug 6 and Sept 12! #MicroStrategy currently holds 244,800 $BTC($14.15B), and the average buying price is $38,585. At current prices, the profit is ~$4.71B!

SIGNAL

@finsignal · Post #3251 · 14.06.2024 г., 16:02

💰#MicroStrategy has announced an offer of convertible senior bonds maturing in 2032 in the amount of $500 million The company intends to use the net proceeds from the sale of bonds to purchase additional $BTC and for general corporate purposes.

SIGNAL

@finsignal · Post #2742 · 30.12.2023 г., 07:43

⚡️ MicroStrategy purchased another $ 14,620BTC for $ 615.7 million at an average price of $42110 per BTC As of December 26, 2023 — #MicroStrategy stores 189150 BTC purchased for $5.9 billion at an average price of $31,168

Elf Crypto VIP

@elfcryptovip · Post #11723 · 14.07.2025 г., 13:06

Just in: Strategy (prev. #MicroStrategy) has bought 4,225 $BTC for $472.5M at an average price of $111,827 per #Bitcoin They now hold 601,550 $BTC, bought for a total of approximately $42.87B at an average price of $71,268 per #Bitcoin💰

Onchain Lens Channel

@OnchainLens · Post #5987 · 23.03.2026 г., 12:11

Strategy (prev. #MicroStrategy) has bought 1,031 $BTC for $76.6M at an average price of $74,326 per #Bitcoin. They now hold 762,099 $BTC, bought for a total of ~$57.69B at an average price of $75,694 per #Bitcoin. https://x.com/OnchainLens/status/2036053169927852109 Follow @onchainlens for more onchain updates

Onchain Lens Channel

@OnchainLens · Post #5867 · 16.03.2026 г., 12:05

Strategy (prev. #MicroStrategy) has bought 22,337 $BTC for $1.57B at an average price of $70,194 per #Bitcoin. They now hold 761,068 $BTC, bought for a total of ~$57.61B at an average price of $75,696 per #Bitcoin. https://x.com/OnchainLens/status/2033514795459318052 Follow @onchainlens for more onchain updates

Onchain Lens Channel

@OnchainLens · Post #5778 · 09.03.2026 г., 12:05

Strategy (prev. #MicroStrategy) has bought 17,994 $BTC for $1.28B at an average price of $70,946 per #Bitcoin. They now hold 738,731 $BTC, bought for a total of ~$56.04B at an average price of $75,862 per #Bitcoin. https://x.com/OnchainLens/status/2030978061630603508 Follow @onchainlens for more onchain updates

Onchain Lens Channel

@OnchainLens · Post #5681 · 02.03.2026 г., 13:08

Strategy (prev. #MicroStrategy) has bought 3,015 $BTC for $204.1M at an average price of $67,700 per #Bitcoin. They now hold 720,737 $BTC, bought for a total of ~$54.77B at an average price of $75,985 per #Bitcoin. https://x.com/i/status/2028459100837974064 Follow @onchainlens for more onchain updates

Onchain Lens Channel

@OnchainLens · Post #5520 · 17.02.2026 г., 13:07

Strategy (prev. #MicroStrategy) has bought 2,486 $BTC for $168.4M at an average price of $67,710 per #Bitcoin. They now hold 717,131 $BTC, bought for a total of ~$54.52B at an average price of $76,027 per #Bitcoin. https://x.com/OnchainLens/status/2023746019868160182 Follow @onchainlens for more onchain updates

123•••56
ПретходнаСтраница 1 од 6Следна