@LanguageStuff · Post #8712 · 04.07.2024 г., 13:29
English language #learnenglish https://t.me/LanguageStuff
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
Пребарај: #learnenglish
@LanguageStuff · Post #8712 · 04.07.2024 г., 13:29
English language #learnenglish https://t.me/LanguageStuff
Hashtags
@adceducate · Post #8013 · 23.10.2023 г., 13:40
« ADC » THE WAY TO KNOWLEDGE 🧠🫨 #knowledge#adceducate#english#school#brain #learnenglish
Hashtags
@english_bbc_learning · Post #3698 · 28.09.2025 г., 09:41
🙄 Do you ever want to tell someone that you just don’t care? 🤷♂️🤷♀️ This expression is for you! 🐵⚠️Use it carefully though – it’s VERY informal! Write your answer in the comments and don’t forget to give this post a like! Do you have a similar expression in your language? #learnenglish
Hashtags
@englishtipsquizzes · Post #131 · 18.02.2023 г., 10:23
🔰🔰🔰 Questions without inversion In informal conversation a question can sometimes have the same word order as in a statement. The question has a rising intonation • The machine gives change? ~ No, it doesn't. • You're travelling tomorrow?~ Yes. • The car is blue?~ That's right. • The car is what colour? ~ Blue. • They went which way?~ That way. We use this kind of question only when it follows on from what was said before. I need a return ticket to Paddington • You're travelling when?~ Tomorrow. #learnenglish#vocabulary 👉@wallstreetenglish_WSE
Hashtags
@englishtipsquizzes · Post #70 · 09.02.2023 г., 11:30
#vocabulary#learnenglish
Hashtags
@englishtipsquizzes · Post #67 · 09.02.2023 г., 07:45
🔰When Someone Is Insistent/Pressuring You🔰 • I’d love to, but I really can’t/have to go/don’t have the time. • It’s been a pleasure, but I really have to go. • This simply isn’t the right time, unfortunately. • I would love to help you, but I’m already overcommitted as it is. • I wish I could be of more help to you, but I can’t. • I must respectfully decline. • I’m sorry, but I can’t help you. • I don’t have time for this at the moment. • Please leave me alone/stop pushing. • This conversation is unnecessary. • Maybe this is the way you get things done, but I don’t like it. • It’s useless; you’re wasting your efforts on me. • You’ll be wasting your time if you keep talking to me/pushing me. • Why don’t you take this up with someone who actually has the time? • You really should put your energy elsewhere. • If I need your help, I’ll ask for it. • The answer is no. • No is a complete sentence. • You’re pushing too hard—stop it! • Go bother somebody else! #learnenglish#vocabulary @wallstreetenglish_WSE @wallstreetenglish_WSE @wallstreetenglish_WSE
Hashtags
@englishtipsquizzes · Post #58 · 07.02.2023 г., 13:22
**🔰Air Lane VS Airline🔰** • Air lane (Also: airway ) a regular route of travel for aircraft: - This will enable controllers to squeeze an extra 20 percent traffic into the crowded air lanes. • Airline 1. Company that carries passengers and cargo by airplane: - The airline has announced it will run daily service to Florida. 2. A tube through which air is passed under pressure: - Any big truck lives and dies, steers and brakes, on its air-lines. #learnenglish#vocabulary @wallstreetenglish_WSE @wallstreetenglish_WSE @wallstreetenglish_WSE
Hashtags
@englishtipsquizzes · Post #51 · 06.02.2023 г., 09:15
🔰Adapted For Something VS Adapted To Something🔰 Adapted For Something —(of things) made suitable for a new use, situation, etc.: • The book was adapted for television as a four-part series screened by the BBC. Adapted To Something —(of people) accustomed or suitable to smth.: • I am not adapted to this business. • I was bred a farmer, and ought not to have left that occupation. #learnenglish#vocabulary
Hashtags
@englishtipsquizzes · Post #40 · 05.02.2023 г., 15:09
#learnenglish#grammar Don't forget to follow us 👇👇👇 @wallstreetenglish_WSE
Hashtags
@Englishdaybyday · Post #6254 · 22.07.2025 г., 20:21
✈️ Conversations on the plane 🤣#english#learnenglish ▬▬▬▬▬▬▬▬▬▬▬▬ ➠@PhrasalCards ➠@SlangWords ➠@IdiomsLand ➠@Vocabulix ➠@GrammarCards ➠@EnglishGate ➠@StoryPage
Hashtags
@EspressoEnglish · Post #3922 · 17.08.2025 г., 19:16
😂At the dentist with Mike🩷 Comment Preply and I'll send you the link! ✨#english#learnenglish ▬▬▬▬▬▬▬▬▬▬▬▬ ➠@PhrasalCards ➠@SlangWords ➠@IdiomsLand ➠@Vocabulix ➠@GrammarCards ➠@EnglishGate ➠@StoryPage
Hashtags
@EspressoEnglish · Post #3867 · 07.07.2025 г., 19:56
😂At the dentist with Mike🩷 Comment Preply and I'll send you the link! ✨#english#learnenglish ▬▬▬▬▬▬▬▬▬▬▬▬ ➠@PhrasalCards ➠@SlangWords ➠@IdiomsLand ➠@Vocabulix ➠@GrammarCards ➠@EnglishGate ➠@StoryPage
Hashtags