@QuietWorld · Post #7102 · 24.12.2019 г., 01:35
🗾 How often we fail to realize our good fortune in living in a country where happiness is more than a lack of tragedy. #quotes#gratitude @quietworld🍃
Hashtags
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
Пребарај: #gratitude
@QuietWorld · Post #7102 · 24.12.2019 г., 01:35
🗾 How often we fail to realize our good fortune in living in a country where happiness is more than a lack of tragedy. #quotes#gratitude @quietworld🍃
Hashtags
@QuietWorld · Post #6773 · 23.10.2019 г., 08:30
🔖 Appreciate where you are in your journey, even if it's not where you want to be; every season serves a purpose. #life#gratitude#wisdom @quietworld🍃
Hashtags
@QuietWorld · Post #6625 · 02.10.2019 г., 03:52
"How cool is it that the same God who created mountains and oceans and galaxies looked at you & thought, the world needed one of you, too." #quotes#reminder#gratitude @quietworld🍃
Hashtags
@QuietWorld · Post #6904 · 14.11.2019 г., 14:55
#positivity#gratitude @quietworld🍃
Hashtags
@QuietWorld · Post #6811 · 28.10.2019 г., 13:01
We love those people who give with humility, or who accept with ease. #kindness#gratitude @quietworld🍃
Hashtags
@QuietWorld · Post #7145 · 14.01.2020 г., 00:32
Life is Simple First, Don't bother with other people's lives, no need to comment much, no slander here and there, no need to make fun of it.. Second, Live within your means. Don't torture yourself just to follow trends or impress people. Third, Just enjoy your life and be the best you can be. Be grateful for what you have, and do what you want. Fourth, Don't listen to what people say. Even if that person insults you. Just remember, you didn't ask that person to feed you anyway. Have a blessed day ☺️🌻 #life#gratitude#attitude @quietworld🍃
Hashtags
@the_life_tips · Post #16090 · 11.05.2025 г., 04:30
Happy Mother's Day!🤰🤱🎉 Today, we celebrate the strength, wisdom, and unconditional love of all mothers. A mother is not just someone who gives life, but someone who inspires it. She teaches us resilience through her sacrifices, courage through her actions, and love without limits. Take a moment to appreciate the woman who shaped your beginnings. And if you're striving for greatness—remember, behind every strong person is often a mother who believed in them first. Honor her. Thank her. Make her proud. #MothersDay#Gratitude LIFE TIPS✅️
Hashtags
@news_and_tips · Post #825 · 21.01.2023 г., 02:30
Hello 👋 everyone! Today is my birthday🍰 and I just wanted to take a moment to thank each and every one of you 🫵 for being a part of my journey. Your support and encouragement means the world to me❣. I'm excited to continue creating content and sharing it with you all. Here's to another year of growth and adventure! Cheers! 🥂 #birthday#gratitude
Hashtags
@QuietWorld · Post #6821 · 30.10.2019 г., 06:30
"I don't have to chase extraordinary moments to have happiness – it's right in front of me if I'm paying attention & practicing gratitude." #happiness#gratitude#reminder @quietworld🍃
Hashtags
@QuietWorld · Post #7696 · 25.11.2020 г., 00:45
Simple Pleasures in Life #life#gratitude#beauty @quietworld🍃
Hashtags
@QuietWorld · Post #7181 · 04.02.2020 г., 07:41
when life gets hard, count your blessings.. it might not solve all your problems, but it'll help you go through the hard times easier and better..🍃 #afterthoughts#thoughts#gratitude#attitude @quietworld🍃
@QuietWorld · Post #6856 · 04.11.2019 г., 13:33
Appreciate where you are in your journey, even if it's not where you want to be - because every season serves a purpose. #life#quotes#assurance#gratitude#happiness @quietworld🍃