@QuietWorld · Post #6982 · 26.11.2019 г., 17:13
multiply grateful for God's love, because your caution only guarantees 0, so% of your safety every day #realtalk@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
Пребарај: #realtalk
@QuietWorld · Post #6982 · 26.11.2019 г., 17:13
multiply grateful for God's love, because your caution only guarantees 0, so% of your safety every day #realtalk@quietworld
Hashtags
@QuietWorld · Post #6438 · 06.05.2019 г., 09:55
💯 #realtalk#life@quietworld🍃
@QuietWorld · Post #6383 · 19.04.2019 г., 14:58
this 💯👌 if you want to apologize, just say sorry and mean it. no need to add anything to make the other person feel bad for being frustated when you are the one who hurt them. #realtalk#quotes@quietworld🍃
@QuietWorld · Post #6972 · 25.11.2019 г., 12:53
"Sometimes life doesn't give you what you want, not because you don't deserve it, but because you deserve so much more." #realtalk#motivation@quietworld
Hashtags
@QuietWorld · Post #6991 · 29.11.2019 г., 12:28
"Goodbye is only for those who like their eyes, because for those who like their hearts and souls, there is no such thing as separation." #love#realtalk@quietworld
@QuietWorld · Post #6966 · 24.11.2019 г., 05:35
💯 #realtalk#truth @quietworld🍃
@QuietWorld · Post #6573 · 13.08.2019 г., 06:49
#realtalk#truth@quietworld🍃
@QuietWorld · Post #6460 · 15.05.2019 г., 04:50
#truth#realtalk @quietworld🍃
@QuietWorld · Post #6457 · 14.05.2019 г., 11:23
I appreciate honesty over everything. If you tell me what it is upfront and give me the option to take it or leave it, I respect that. #truth#realtalk@quietworld🍃
@QuietWorld · Post #6962 · 23.11.2019 г., 14:43
#love#reminder#realtalk @quietworld🍃
@QuietWorld · Post #7073 · 14.12.2019 г., 07:06
older than us, we were 22 when we were having this conversation), and two of my most observant friends talk about the self-conflict each of our coursemates had as they enter 21. & I wouldn't notice the 'pattern' if my friends didn't point out. & suddenly one of my friends started sharing his moment of depression and how he coped with it. & somehow at that moment I felt like my friends actually noticed my changed behaviour and suspected that there's something bothering my mind and they were actually trying to help me out by asking me out, being with me, spending time with me. & I'm glad that they are wise to not help me out by asking me what's wrong because if they ask me what's wrong , I don't even know what is wrong with me and me realizing that there's something off with me and not knowing what it is gonna make me feel so much wrong 😂 and I'm glad they didn't ask me that question. Instead, they just help me out by being there. I'm so grateful and blessed to have friends like them. I was grateful and I am more grateful now, because I just realized that there's actually so much more blessings I had that I haven't notice more in details until now. :') Anyway this is such a long post I didn't even have any idea that it was gonna be this long I wondered if anyone would even read it from beginning till the end, so here's a quick question, did I managed to keep you engaged from the beginning to the end of this post? 😅 #thoughts#afterthoughts#realtalk#poll @quietworld🍃
@QuietWorld · Post #6651 · 06.10.2019 г., 15:00
You do not miss the person; you miss the feelings you experienced with them. If you were to somehow receive similar feelings, you would dismiss & forget that person. #quotes#love#relationship#realtalk @quietworld🍃