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

Резултати

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

Пребарај: #somaliland

当前筛选 #somaliland清除筛选
Borkena

@borkena · Post #5282 · 18.11.2025 г., 05:41

Expanded Message to the People of Ethiopia (From Somaliland). Read more. https://borkena.com/2025/11/17/ethiopia-expanded-message-to-the-people-of-ethiopia-from-somaliland/#Ethiopia#Somaliland

Hashtags

Borkena

@borkena · Post #5178 · 01.11.2025 г., 21:25

The situation of Somalia can be compared to the crash of an aircraft whose black box was never recovered. Read more. https://borkena.com/2025/11/01/the-situation-of-somalia-can-be-compared-to-the-crash-of-an-aircraft-whose-black-box-was-never-recovered/#Somalia#Somaliland

Hashtags

Il valore della giustizia⚖️

@giurisprudentia · Post #372 · 16.01.2022 г., 13:01

#SOMALILAND Nella giornata di martedì, il Parlamento inglese terrà un dibattito di aggiornamento sul riconoscimento del Somaliland da parte del governo britannico. La richiesta proviene dall’ex segretario alla difesa dell’UK, Gavin Williamson. Nel Somaliland, riconosciutosi indipendente nel 1991, si svolgono regolarmente le elezioni locali, quelle presidenziali e quelle parlamentari (l’ultima nello scorso anno). 👉@giurisprudentia

Hashtags

Il valore della giustizia⚖️

@giurisprudentia · Post #275 · 01.06.2021 г., 14:23

#SOMALILAND Nella giornata di ieri, i cittadini del territorio del Somaliland (Stato non riconosciuto dalla comunità internazionale, ma dotato di un proprio parlamento con una sua moneta ed una propria identità nazionale) hanno votato per la prima volta sia alle elezioni parlamentari che a quelle locali. L’attuale presidente Muse Bihi Abdi, si è detto onorato di poter garantire il voto in relazione ad entrambe le tipologie di elezioni. A congratularsi con i propri alleati è stata anche la presidente di Taiwan, Tsai Ing-Wen, da sempre sostenitrice dell’indipendenza del Somaliland dalla Somalia. Indubbiamente, si tratta di una bellissima pagina di democrazia per l’Africa ed il mondo. 👉@giurisprudentia

Hashtags

Frontline Report

@FrontlineReportNews · Post #14778 · 03.05.2026 г., 16:53

🇮🇱🤝🏳️❌🇾🇪❗️ — According to German analyst Patrick Heinisch, Somaliland is prepared to cooperate with Israel in countering Houthi forces if key maritime shipping routes are disrupted. ▶️He cited remarks from a senior Somaliland official indicating that authorities are closely monitoring developments in the Red Sea and Bab al-Mandab corridor, a critical artery for global trade. 📱💬The statement read: “#Somaliland is ready to cooperate with #Israel in the fight against the Houthis if they block the shipping routes, a senior Somaliland official said.” 🔗Patrick Heinisch

Addis Standard

@addisstandardeng · Post #22086 · 22.04.2026 г., 14:30

#US Senator Ted Cruz calls #Somaliland a “maritime security partner” in Africa hearing Speaking at a hearing of the Senate Foreign Relations Committee Africa Subcommittee on 21 April, Senator Cruz described Somaliland as the kind of partner the United States should be encouraging, citing its stability and cooperation on regional security. He also stated his “high level of optimism that President Trump will recognize Somaliland.”

Addis Standard

@addisstandardeng · Post #21787 · 20.03.2026 г., 16:42

#US lawmakers introduce bill to assess barriers to #Somaliland’s financial access Lawmakers in the United States Congress have introduced a bill requiring the U.S. Treasury to examine obstacles limiting Somaliland’s access to the American and global financial system, in a move that could deepen economic engagement with the Horn of Africa nation. The legislation, H.R. 7993, known as the Somaliland Economic Access and Opportunity Act, was introduced by Representative John Rose and co-sponsored by Representative Pat Harrigan and Representative Andrew Ogles , according to congressional records. The bill directs the U.S. Secretary of the Treasury to submit a comprehensive report to Congress within 180 days outlining legal, regulatory and technical barriers that restrict Somaliland’s access to financial systems, including banking channels and international payment networks. https://www.horndiplomat.com/u-s-lawmakers-introduce-bill-to-assess-barriers-to-somalilands-financial-access/

Borkena

@borkena · Post #5786 · 15.02.2026 г., 20:15

Israel’s Recognition of Somaliland and the Strategic Reconfiguration of the Horn of Africa. Read. https://borkena.com/2026/02/15/ethiopia-israels-recognition-of-somaliland-and-the-strategic-reconfiguration-of-the-horn-of-africa/#Israel#Somaliland

Borkena

@borkena · Post #5661 · 30.12.2025 г., 23:00

Israel’s Recognition of Somaliland: A Geopolitical Earthquake Reshaping the Horn of Africa and Beyond. Read more. https://borkena.com/2025/12/30/israels-recognition-of-somaliland-a-geopolitical-earthquake-reshaping-the-horn-of-africa-and-beyond/#SomalilandRecognition#Israel#Somaliland

Red Nile

@rednile12 · Post #10608 · 05.01.2026 г., 15:22

Fed Slop Exposed: Nick Shirley’s Billion-Dollar Daycare Investigation In this segment Jimmy questions why longstanding reports of fraud involving Minnesota daycare centers—particularly within the Somali community—are suddenly being amplified nationwide after years of limited attention. Keying off James Li’s reporting, Jimmy argues that the renewed outrage is not organic, noting that similar allegations were reported as far back as the 2010s, but are now being boosted by major political figures and influencers. Jimmy also notes that this timing coincides with occupied $Palestine recognition of #Somaliland and alleged geopolitical plans involving Palestinian resettlement, military bases, and regional alliances. The segment concludes by warning viewers that while fraud may exist, the current focus and framing may be intended to shape public sentiment for broader foreign-policy objectives rather than simply expose corruption. https://www.youtube.com/watch?v=d9J7mGzyXC0 #somalia

Borkena

@borkena · Post #5652 · 29.12.2025 г., 20:37

Political Statement on Recent Remarks by Former Turkish Prime Minister Ahmet Davutoğlu Regarding Somaliland. Read more. https://borkena.com/2025/12/29/somaliland-political-statement-on-recent-remarks-by-former-turkish-prime-minister-ahmet-davutoglu-regarding-somaliland/#Somaliland#Turkey

Addis Standard

@addisstandardeng · Post #22036 · 16.04.2026 г., 09:58

News: #Somaliland rejects #Somalia’s claims over its diplomatic engagement with #Israel The government of the self-declared Republic of Somaliland has rejected what it described as “misleading claims” by the Federal Government of Somalia regarding its diplomatic engagement with Israel, insisting that its foreign relations are a matter of sovereign authority. In a statement issued on Wednesday, Somaliland said the assertions by Mogadishu are “unfounded in law, inaccurate in history, and lack factual basis,” dismissing Somalia’s position as having no legal standing to comment on or interfere in its bilateral relations. The statement reiterated Somaliland’s longstanding claim to sovereignty, noting that it attained independence on 26 June 1960 and was recognized internationally prior to its union with Somalia later that year. It argued that its sovereignty “neither originated from, nor is contingent upon, any authority in Mogadishu.” Read more: https://addisstandard.com/?p=56529

123•••67
ПретходнаСтраница 1 од 7Следна