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

Резултати

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

Пребарај: #influencers

当前筛选 #influencers清除筛选
🦅 [ perspective ix ]

@perspectiveix · Post #1890 · 25.07.2019 г., 10:01

🤔British & American kids would much rather be YouTubers than astronauts! Last week, we had the 50th Apollo 11 anniversary, which landed Neil Armstrong and Buzz Aldrin on the surface of the Moon. On the eve of that, LEGO asked The Harris Poll to survey a total of 3,000 children in 🇺🇸🇬🇧🇨🇳 about their attitudes toward and knowledge of space. Asked what they would like to be when they grow up, about 3 in 10 American and British children replied that they wanted to be YouTubers or Vloggers. In fact, becoming an astronaut ranked last among five professions! Only in China did children have a clear preference for being an astronaut! #️⃣#SocialMedia#Influencers#YouTube#NASA 📡 from arsTechnica via Pulse. 🦅@PerspectiveIX ❓How will this affect the West in 50 years?

Open Love - AI Girlfriend

@openloveaigf · Post #66 · 18.07.2024 г., 12:00

🤫❝This is a date just for the two of us, don't let your girlfriend know.❞ 📲Download App and chat with me 🔗http://openlove.life #girlfriendgpt#aigirlfriend#spicychat#aichatbot#aiphotography18#influencers#modelstudio#spicychat#nsfwtwtًً

Venture Village Wall 🦄

@venturevillagewall · Post #3853 · 12.01.2025 г., 04:00

Whale Alerts and Hacked Accounts Update A study by Presto Research shows that large exchange deposits have weak predictive power for price declines, while VC and MM deposits offer slightly better, yet still limited, effectiveness as trading signals. In related news, Foresight Ventures’ X account was hacked, spreading fake AI crypto news, following a similar incident with Litecoin’s account promoting fraudulent tokens. Additionally, the newly launched AICC has reached a market cap of over $130 million, but faces scrutiny over its lack of transparency. Also, Morpho markets have capped positions eligible for migration with deprecated rewards for old markets. Presto ResearchAICC DashboardUsual Update #WhaleAlerts#Crypto#AI#Litecoin#ForesightVentures#AICC#MarketCap#TradingSignals#MorphoMarkets#Security#Hacking#Transparency#DeFi#MM#VC#Blockchain#DAOs#Scammers#Influencers

Venture Village Wall 🦄

@venturevillagewall · Post #4171 · 17.02.2025 г., 07:00

Argentina's President Accused in LIBRA Scandal Argentinian President Javier Milei faces fraud allegations linked to meme token LIBRA amidst a legal action led by former central bank chief. Kelsier Ventures CEO Hayden Davis claims Milei's actions triggered a crash in LIBRA's price, while insider selling reportedly occurred prior to Milei's tweet removal. Investigations are ongoing as accusations of insider knowledge circulate among influencers and projects involved. For more details, read the full report here. #LIBRA#Argentina#Crypto#MemeTokens#Fraud#JavierMilei#Kelsier#KIPProtocol#InsiderTrading#LegalIssues#HaydenDavis#Volatility#Investigation#MarketCrash#Blockchain#CryptoScandal#Influencers#Jupiter#Meteora#Finance#VC

Venture Village Wall 🦄

@venturevillagewall · Post #3348 · 18.12.2024 г., 12:06

AI Video Editor Raises $500K Diffusion Studio has secured $500K in funding as of December 4, 2024. Their AI Video Editor simplifies video editing with advanced features such as Magic Cut, Text-Based Editing, and Instant Auto-Captioning, catering to creators and businesses aiming to enhance their video production efficiency. #AI#VideoEditing#Funding#Technology#Creators#Influencers#Business#Automation#Software#Innovation#EditingTools#VideoProduction#TextBasedEditing#AutoCaptioning#Workflow#Engagement#Professional#ContentCreation#Creativity#Efficiency