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

Резултати

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

Пребарај: #satellites

当前筛选 #satellites清除筛选
Amazing Geography 🌍

@amazingeo · Post #640 · 18.02.2026 г., 20:31

🌍 Modern cartographers use remote sensing from satellites to create digital maps so detailed they can track changes in forests, cities, and coastlines within days of new data. ✨ #cartography⚡#mapping⚡#satellites⚡#geography⚡#nature⚡#earth 👉subscribe Amazing Geography 👉more Channels ​

Amazing Geography 🌍

@amazingeo · Post #377 · 15.10.2025 г., 20:31

🌍 The biggest map ever made is the modern digital world map stored by satellites. Billions of points are updated daily, letting scientists watch Earth’s surface change almost in real time. ✨ #cartography⚡#satellites⚡#mapping⚡#geography⚡#nature⚡#earth 👉subscribe Amazing Geography 👉more Channels ​

Amazing Geography 🌍

@amazingeo · Post #146 · 30.08.2025 г., 20:12

🌍 In 2000, the complete first digital map of Earth—called the SRTM—was created from space using radar. It captured mountain heights and landscape details for over 80% of Earth’s land. ✨ #mapping⚡#cartography⚡#satellites⚡#geography⚡#nature⚡#earth 👉subscribe Amazing Geography🌍 ​

Amazing Geography 🌍

@amazingeo · Post #218 · 11.09.2025 г., 16:12

🌍 Satellites can use infrared sensors to spot underground water by detecting tiny temperature differences on Earth's surface, helping find hidden aquifers in dry regions. ✨ #satellites⚡#remote⚡#mapping⚡#geography⚡#nature⚡#earth 👉subscribe Amazing Geography🌍 ​

Amazing Geography 🌍

@amazingeo · Post #488 · 01.12.2025 г., 20:31

🌍 Recent satellites can map changes in Earth's gravity from space. This helps track shifting water underground after floods or droughts, revealing hidden changes on a continental scale. ✨ #remote-sensing ⚡#satellites⚡#hydrology⚡#geography⚡#nature⚡#earth 👉subscribe Amazing Geography 👉more Channels ​

MALI 24

@kamissokosekou3 · Post #37476 · 04.05.2026 г., 12:19

Le Pentagone a demandé aux entreprises de satellites de cacher des images de bases américaines détruites au Moyen-Orient 🛰. La société Planet Labs a confirmé cette demande, a déclaré la journaliste américaine Ana Kasparian 🗣. La réponse officielle du Pentagone était la suivante: “nous ne discutons pas de l'évaluation des dommages au combat pour des raisons de sécurité opérationnelle 🛡. Nos forces restent pleinement opérationnelles et nous continuons à remplir notre mission avec la même préparation et la même efficacité au combat 💪”. En même temps, CNN, citant sa propre enquête, a déclaré qu'au moins 16 bases américaines avaient été détruites et devenues inutilisables, ce qui représente la plupart des bases de la région 📉. #pentagone#entreprises#satellites#images

Amazing Geography 🌍

@amazingeo · Post #639 · 18.02.2026 г., 12:31

🌍 New satellite sensors can track wildfires as they ignite, mapping heat signatures from space day and night. This real-time data helps firefighters respond faster to changing fire fronts. ✨ #satellites⚡#remote-sensing ⚡#wildfires⚡#geography⚡#nature⚡#earth 👉subscribe Amazing Geography 👉more Channels ​

Amazing Geography 🌍

@amazingeo · Post #451 · 13.11.2025 г., 12:31

🌍 Some satellites can track how much land sinks or rises after an earthquake by detecting tiny changes—sometimes less than a centimeter—across entire regions from hundreds of kilometers above Earth. ✨ #satellites⚡#remote-sensing ⚡#geodesy⚡#geography⚡#nature⚡#earth 👉subscribe Amazing Geography 👉more Channels ​

Amazing Geography 🌍

@amazingeo · Post #299 · 26.09.2025 г., 15:31

🌍 Satellites now measure plant health from space by tracking tiny shifts in leaf color. This "vegetation index" helps predict crop yields and monitor droughts across continents. ✨ #remote⚡#sensing⚡#satellites⚡#agriculture⚡#geography⚡#nature⚡#earth 👉subscribe Amazing Geography 👉more Channels ​

Amazing Geography 🌍

@amazingeo · Post #682 · 05.04.2026 г., 20:31

🌍 The newest satellites can now measure tiny changes in tree height worldwide. This helps track forest health and spot illegal logging by comparing images taken months or even days apart. ✨ #satellites⚡#forests⚡#monitoring⚡#geography⚡#nature⚡#earth 👉subscribe Amazing Geography 👉more Channels ​

12
ПретходнаСтраница 1 од 2Следна