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

Резултати

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

Пребарај: #maha

当前筛选 #maha清除筛选
Wendy Rogers

@wendyrogersaz · Post #9530 · 20.03.2026 г., 04:21

Arizona Senate passed my SB1065 providing Hyperbaric Oxygen Therapy (HBOT) to defeat PTSD in my fellow veterans. Low cost. Lifelong-lasting results. No drugs. #MAHA.

Hashtags

Trump's Ear

@trumpsear_tg · Post #1403 · 22.08.2025 г., 22:00

MAHA, a movement aimed at tackling the nation’s chronic disease epidemic 🩺 through food 🥗, health 💪, and environmental reforms 🌍, has been deeply skeptical of Big Pharma 💊, Big Agriculture 🚜, and Big Chemical 🧪. MAHA groups have been strongly aligned with the Trump administration’s actions to date on vaccines 💉 and food 🥕. But cracks are beginning to form ⚡️. MAHA-aligned groups and influencers are raising alarms 🚨 about provisions in a House appropriations bill they say will shield pesticide and chemical manufacturers from accountability — and ultimately make Americans less healthy 😷. Meanwhile, a draft of the administration’s “MAHA Report” on children’s health 👶 reportedly omits any calls to prevent pesticide exposure, also disappointing advocates 😞. Health and Human Services Secretary Robert F. Kennedy Jr. and his disciples espouse stricter environmental protections 🌳, while also bucking mainstream science on vaccine safety. Conservatives have traditionally sided with big business 🏢, supporting fewer regulations on potentially toxic substances ☠️. So far, business interests appear to be winning 🏆. The industry-friendly draft of a report from a commission run by Kennedy shows just how much the White House has been able to rein him in 🛑. “It’s obvious that there are tensions within this newfound coalition between MAHA and MAGA, and there are some big issues there,” said Mary Holland, CEO of Children’s Health Defense, an anti-vaccine group founded by Kennedy 🗣. While the pesticide issues have generated some sparks ⚡️ between MAHA and MAGA, the administration has taken a number of other actions to also reduce restrictions on the chemical industry more broadly 🏭. Trump himself exempted from environmental standards more than 100 polluters, including chemical manufacturers 🧪, oil refineries 🛢, coal plants 🏭, and medical device sterilizers 🩺. #MAGA#MAHA 👂More on Trump's Ear ⚠️

Hashtags

Trump's Ear

@trumpsear_tg · Post #2316 · 30.03.2026 г., 17:59

Republicans hope the Make America Healthy Again movement becomes a permanent fixture of a big GOP tent. But the party can’t count on its support heading into midterm elections this November. New results from The POLITICO Poll show both broad frustration and dissatisfaction with the Trump administration on health priorities and opportunities for Democrats to make inroads with Health Secretary Robert F. Kennedy Jr.’s MAHA supporters. A majority of Americans associate MAHA with the Republican Party, but not overwhelmingly, and most believe the Trump administration has not done enough to “Make America Healthy Again” — including a 41 percent plurality of Trump’s own 2024 voters. #Trump#Poll#MAHA 👂More on Trump's Ear ⚠️

🇲🇾Председатель Комитета по стандарту Халяль ДУМ РТ Аббяс хазрат Шляпошников в составе делегации Республики Татарстан посетил сельскохозяйственную выставку MAHA 2024 в Малайзии. Цель визита председателя Комитета: завершение аккредитации в Департаменте исламского развития Малайзии (JAKIM). Получение аккредитации в JAKIM позволит производителям Республики вывозить продукцию в Малайзию по сертификатам Комитета Халяль. Напомним, что наличие сертификата халяль является обязательным требованием для ввоза ряда пищевых продуктов в Малайзию. Для справки: MAHA (Malaysia Agriculture Horticulture & Agrotourism) - ведущая сельскохозяйственная выставка Юго-Восточной Азии. Цель выставки: популяризация инноваций в сельском хозяйстве и сокращение логистических и смысловых разрывов между городом и деревней. #малайзия#maha#jakim

Man in America 🇺🇸

@maninamerica · Post #2904 · 15.02.2025 г., 19:58

🚨Crooked Judges, DOGE & Staying MAHA Healthy “Big Pharma has recognized that if they feed you poison food, you're going to need more Big Pharma products.” Watch the full show: https://rumble.com/v6kfxkm-crooked-judges-doge-and-staying-maha-healthy.html #MAHA#Truth#MAGA 🪓@AttorneyThomas

Man in America 🇺🇸

@maninamerica · Post #2865 · 10.02.2025 г., 04:51

This is a big deal for me. My family uses Costco a lot and the fact that they are poisoning their "organic" beef with "vaccines" is both misleading and horrific. BTW - did you know that there is an exemption to the Organic Food Act that allows meat to be labeled organic even if it is exposed to mRNA gene therapy "vaccines"? mRNA vaccines are approved and in use in pork in the United States and we have now approved DNA vaccines that are even worse for use in Salmon. Will Costco label their "organic" food that has been exposed to gene therapy poisons so consumers can decide whether to eat it or not? If you care enough to buy organic wouldn't you want to know if the food you are paying extra for is laden with gene therapy poisons. 👉https://x.com/renztom/status/1888696802976972934?s=46 @VigilantFox #MAHA#MAGA#mRNA 🪓@ForGodFamilyCountry

Man in America 🇺🇸

@maninamerica · Post #3134 · 27.04.2025 г., 13:16

Solar Radiation Management (SRM) isn’t science fiction — it’s happening. Toxic chemicals. Zero public consent. Massive global risks. Don’t just look up. Look around. Read this before they block out the sun: https://open.substack.com/pub/tomrenz/p/chemical-skywriting-the-dystopian?r=1d9tby&utm_campaign=post&utm_medium=web&showWelcomeOnShare=false In a world obsessed with climate hysteria, the latest brainchild of the globalists is something straight out of a dystopian sci-fi novel: spray the skies with chemicals to “fight” global warming. It’s called Solar Radiation Management (SRM), and the plan is as absurd as it is dangerous. If you haven’t heard of it, that’s no accident. It’s been quietly creeping from fringe theory to policy pipeline under the radar of public scrutiny. #Truth#MAHA#Chemtrails 🪓@AttorneyThomas

Man in America 🇺🇸

@maninamerica · Post #2798 · 30.01.2025 г., 01:50

Billionaire Nicole Shanahan Puts Senate on Notice — “Dear U.S. Senators, Bobby may play nice; I won’t." The overwhelming support for RFK Jr.’s confirmation is just incredible. We The People are wide awake and will no longer allow #BigPharma to play their games. #MAHA#RFKJr

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