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

Резултати

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

Пребарај: #nfr

当前筛选 #nfr清除筛选

A Hero’s Journey to the Land of Toncoin 🪄 or How to start making money on TON? Part 1 | Part 2 Now that you have your first moneyin your TON wallet, you are probably wondering: how to increase it? Let's figure it out. ✨Tokens (TON tokens) In 2022, only a few tokens were traded on TON: $DUST, $JETTON, $PUNK, and $STON appeared a little later. In my opinion, these are still some of the most strongest tokens. A little later, new interesting players appeared: $STORM, $EVAA (awaited), $CATI, $GODL as well as old projects released their tokens: @xRocket — $XROCK and others. As for completely new projects, you need to do a thorough analysis before buying. Keep in mind that tokens are now essentially repeating the history of alts, once there were 100 of them and they were expensive, and then several thousand of them began to appear per day and this always dilutes the capitalization of each of them. Plus the myriad of memes that appear every minute on meme-pads. 🔮NFT collections There are currently tens of thousands of collections on Getgems.io. If you really want to become an NFT holder, try to get it by participating in the activities of some top tier project. Most likely, you will be able to easily sell it for 5, 10 or more TON. Examples: Anonymous numbers and usernames, Welcome to TON, Tonnel and many others. Anyone could get NFTs from these projects, and absolutely free of charge. Now CapsGame provides such an opportunity. If you want to flip NFT, pay attention to the top 10 popular projects for the last month (or week), as well as the history and volume of trades. Keep in mind that these indicators can be inflated. When buying and selling, you need to take into account the royalty of the project. ❓Projects & games Tap2Earn, Community apps, Play2Airdrop games — only the strongest will survive, and there will be only a few of them. And by survive, I mean that they will successfully reach the listing and give the community something to earn. The further fate of the token in 99% ends with a fall to the bottom without recovery. Projects like Hamster and X Empire have already caused a wave of negativity. Therefore, you need to very carefully select projects for participation, especially if you decide not to limit yourself to just investing time. Tens of millions of audience is not a guarantee of success, but rather an alarming sign. My favorite community app is BroBot Remember the criterion: if the project does not actively ask for donations, does not sell advertising to partners and on YouTube, has not received investments from VC — most likely it has nothing to give ide. And even in this case, the project may fail at the TGE & listing phase. 🔮Staking, farming and liquidity It is worth taking lessons at Storm Trade Academy to understand more about these types of activities. In essence, staking gives a stable income of 3-5% per annum in $TON. The first year in TON, I kept all the coins there until I realized that it was like a bank deposit — it only makes sense if you have large amounts. Farming is the same staking + additional rewards, sometimes there is a good percentage like 700% APY and if the token is stable in price, it can give a profit. Liquidity Pools — I came to the conclusion that it is best to keep liquidity in a pool with one token and not a pair. The price is stable, the income is predictable. My favorites Storm Trade Vaults and DAOLama Vault give 22% and 10% per annum on $USDT, respectively. It is worth reading our post about the difference between APR and APY. 📈Trading and gambling I think everyone understands what it is. There is no point in telling. If you clearly understand what you are doing and are ready to lose your investments, then perhaps you should try yourself in this #NFR. The gambling market on TON is divided between two major players — Whale and Jetton. The main platforms for trading on TON are CEX xRocket Exchange and Storm Trade DEX. ☀️ Real stories of ups and downs can be found in our friendly chat. We appreciate your🌟To be continued...

Hashtags

WEB3 freelancing platform TON Lancer launches its token The IDO will distribute 35% of the total token supply. 📉Soft-cap: 20 000 TON 📈Hard-cap: 60,000 TON 🛍TGE: 100% - You will receive all tokens immediately after the sale is finalised. About TON Lancer TON Lancer is a recruiting service based on Web3 that unites customers and executors. The mission of the project is to solve problems with recruiting project teams and finding executors for projects running on TON blockchain. 🥷 IDO takes place on dyor.io platform. Where to buy $LCR #DYOR, #NFR — not a financial recommendation

Hashtags

💎TonX Protocol $TELE IDO on TonUPx today! Details of the upcoming IDO: - Token's name: $TELE - Participation method : FCFS (first come first served) - WhiteList Round: 0.0001587 TON, maximum offer 15,750,000 (March 22 UTC 12:00 - March 23 UTC 12:00) - Public round: 0.0001587 TON, maximum supply 299,250,000 (March 22 UTC 16:00 - March 24 UTC 16:00) - Claim date: March 27, 16:00 UTC. - Vesting: 100% TGE ➡️IDO page:https://tonup.io/project/TonX Disclaimer. The cryptocurrency market is characterized by risks and uncertainties. Be aware of these potential risks. TonUP provides only a platform for issuing projects and technical solutions. Not an investment recommendation. #DYOR#NFR

Hashtags

🤑Blum Launches Memepad in Beta Every minute hundreds of new memcoins are created by Blum Mini App users and 99% of them end up rug pull. But some of them are already worth hundreds of dollars and are traded on Ston.fi. Be careful if you decide to participate in this activity. #NFR#DYOR#Blum#meme

🔥NEST Exchange NFT Sale Begins!🎰🎰 🪺DEX Aggregator Nest is more than just a DEX. It is a multifunctional platform with many features. The long-awaited product launch is coming soon. It is currently in the MVP stage, token swaps should be launched today. NEST NFTs are digital assets that provide access to unique features of the NEST platform. Owning these NFTs improves trading capabilities and unlocks additional privileges. 🪺Main types of NFTs Fast Transaction — access to the fast transaction mode, where transactions are carried out several times faster than on standard DEX exchanges. Sniper — the ability to almost instantly, automatically buy tokens when liquidity appears, which allows you to get the best entry point at the time of listing 🪺Benefits for NFT holders ⚡️For Fast Transaction NFT holders: ✔️ Unlimited access to fast transaction mode. Owners of these NFTs get lifetime access to fast swaps, which significantly reduces the time it takes to complete transactions. ✔️ Access to the closed NEST community Holders will be able to join an exclusive community where they can share experiences and knowledge. ✔️ Direct communication with the project team and the founder The privilege of interacting directly with the developers. ✔️ NEST merch and physical goods Unique products and merch provided exclusively for NFT holders. ✔️ Cashback 7.5% of transactions ✔️ Advanced referral system Increased bonuses for attracting new users. ✔️ Additional income in project points (NP) These points can be exchanged for tokens after the $NEST launch, increasing long-term profitability. ✔️ Airdrops from collaborations with other projects Owners will receive exclusive drops from NEST partner projects. ➡️For Sniper NFT holders: ✔️ Unlimited access to Quick Transaction Mode and Sniper Mode. Sniper NFT holders will be able to use Sniper Mode without restrictions. ✔️ Access to the closed NEST community and communication with the team. Includes all the perks of Fast Transaction NFT, but with additional opportunities for snipers. ✔️ NEST merch and physical goods Like Fast Transaction NFT holders, they will receive unique physical goods. ✔️ Cashback 10% from transactions ✔️ Expanded referral system and additional income in points (NP). Attracting users and participating in trading will bring Sniper NFT owners additional bonuses and points, which can be exchanged for $NEST token in the future. 👤Whitelist for participation in the $NEST token presale Sniper NFT holders will have privileged access to early rounds of the token sale, opening up additional investment opportunities. 🎁 Airdrops from collaborations with other projects Just like the Fast Transaction NFT, Sniper NFT holders will receive drops from partners. 🪺Limited quantity NFTs will be released in limited quantities via the #NEST platform Launchpad, increasing their value. 🔥Participate NFT-sale 🎰🎰Discount for whitelist owners. If you are not there yet, you should hurry:Mint\Add to Whitelist #NFT#TON#DEX#DYOR#NFR

🤑Tonkeeper and MMpro Trust launch RWA store for Pre-IPO investments Thinkeeper has announced a partnership with MMpro Trust, a leading platform for tokenized assets, to launch an RWA (Real-World Asset) store. This partnership provides investors with the opportunity to gain access to shares of companies before they go public through the RWA NFT market in Tonkeeper. First joint project The first project under the partnership concerns hardware wallet company #Ledger. MMpro Trust offers investors the opportunity to purchase Ledger shares prior to the IPO directly through #Tonkeeper. ❗Sales start TODAY at 18:00 CET What is #RWA NFT? RWA NFTs (Real-world asset non-fungible tokens) are digital tokens representing real assets that users can buy and sell. What is a pre-IPO? The opportunity to invest in companies before they go public on the stock exchange. How to start? ☑️ Go to Tonkeeper ☑️ Go to the Browser section ☑️ Open "RWA Store" ☑️ Select "NFT Pre-IPO Shares of Ledger" About MMPro Trust The MMpro Trust fund offers clients asset management and trading on the global market. The company is committed to innovation, safety and accessibility. More than 50 large banks and 300+ investment funds have invested in RWA and Blockchain technology, including BlackRock, Goldman Sachs and JPMorgan. The capitalization of this market is expected to grow to $16 trillion by 2030, MMpro Trust provides unique opportunities for investors. 😒Disclaimer The text above does not constitute investment advice or a recommendation to purchase #NFR. Do your own #DYOR research! 🕯Clicker Bump And right now you can mine points in the game Bump from MMpro Trust and Tonkeeper 🥇Points => RWA NFT => Real money Collect points and exchange them for pre-IPO assets or sell them for crypto. The prize pool includes$10,000 worth of pre-IPO Ledger assets, which is expected to reach $300,000 post-IPO. ⌛Don't miss out on daily rewards!Pin the Bump bot for quick access. Earn 10% of your friends' points.

🧑‍💻Review: Farmix – The Innovative Force in TON DeFi ☺️Farmix appeared relatively recently, it is a semi-finalist of #DoraHacks hackathon. In a nutshell, it is a marginal farming protocol that allows you to significantly increase the profitability of your farms by using leverage. 🪙 We have already tested their farming pools a couple of weeks ago, everything went well and without complications. At that time, the APR in the farms was very high, some pairs gave up to 9,000% APR. Below is a short guide for working with Farmix. 🐷 On average, #Farmix farms are 3-5 times higher than in #DEX pools. There are two options to earn income for providing your assets: Lending and Farms. We will look at the Farms option, because this is the most interesting: 🟡Log in to Farmix and connect your MTW wallet. 🟡 Go to the "Farmers" tab and find the pair you are interested in, for example we will use the STORM/TON pair. 🟡 First, select "Borrow asset" — this is the asset in which you will take a loan for leverage in the farm. In the case of the STORM/TON farm, only the TON loan asset is available. 🟡Enter in the $STORM/$TON fields how much STORM and TON you will provide as collateral. In #Farmix you can open a farm with one token, it is not necessary to provide both tokens, as the smart contract itself will convert the tokens into a 50/50 pair and form LP tokens. 🟡Select the leverage (Leverage slider) with which you want to open the farm. The higher the leverage, the higher the APR of the farm, but the liquidation risks also increase. 🟡Click Open position at the bottom, sign the transaction in the wallet and in a few minutes your first farm will be open. ⚠️Important: Please note that leverage is only provided for collateral in $TON , $USDT , $tsTON, $stTON, $NOT . Any position with leverage > 1 has its own health factor. HF > 1.3 is considered moderate, HF = 1 - the position is liquidated. 📊 At first glance, the guide may seem complicated, but everything is generally intuitive. If you have any questions about the work of the project, farms, etc., you can ask them 🔔in our chat. You will also receive RP points for staking and farming, more details in the "Reward activities" tab. And as usual #NFR#DYOR Farmix | Channel | Project documentation

👍XBANKING celebrates 2 years – join in and earn bonuses! ❓ There are no magic "earn" buttons in crypto, but there are tools that, when approached wisely, allow you to generate passive income. Some of these tools offer higher rewards, but also come with higher risks. These require understanding. One such tool is liquidity pools. Today’s spotlight is on #XBANKING, one of the largest DeFi liquidity aggregators (17000+ pools, 46 networks, 150+ tokens), now offering boosted APY for staking TON and other tokens: 💧 TON — 22% APY 💧 DUREV — 11% APY 💧 DOGS — 28% APY 💧 NOT — 14% APY 💵Why is this beneficial for holders? By providing tokens to liquidity pools, you can earn higher yields than traditional staking. This strategy requires an understanding of how it works, but when approached strategically, it allows for efficient asset management while maintaining a relatively high level of security. The project has successfully passed security audit from #Certik🛡 ⏱ These increased rates are available until the end of June 2025. 👍You can deposit $TON and other assets at mini-app:app.xbanking.org Website | Channel | Chat | X | Help #NFR#DYOR#DeFi#farming

How to get Degen SBT Airdrop The Degen airdrop aims to reward users of TON #DeFi projects, including liquid staking, lending, Perp DEX, vaults, derivatives, and launchpads. Step 1: Get the Degen Badge 🚬 The first step is to claim your Degen Badge. This is your Soul-Bound Token, which proves your participation in the Degen Airdrop. If you don’t mint the badge, your activity will not be tracked. Only the TVL and Volume you generate after claiming the Degen SBT will be counted. Step 2. Liquidity and volumes 💎$100,000 forTVL Squad members It is recommended to provide liquidity of at least $200 to projects from the TVL Squad list to qualify for a reward, but not less than $1. The best projects will receive additional prizes for their communities. and/or 💎$100,000 forVolume Squad members It is recommended to provide trading volumes of $1000 in Volume Squad to qualify for a reward, but not less than $1. The best projects will receive additional prizes for their communities. 🚀NFT League NFT collection leaders, determined by the trading volume for the season, will provide additional prizes to their holders. [information to be confirmed] Degen Airdrop prize pool Users who complete the above actions will share $200,000 in #Degen airdrop, as well as additional prizes from top NFT collections. The maximum reward per wallet is set at $1,000 in Toncoin. League Members 💎SettleTON 💎TON Hedge 💎DAOLama 💎Parraton 💎Tradoor Full list of participants Degen is an abbreviation of the word "degenerate". It is usually used to describe people who engage in speculative crypto trading or very high-risk digital asset investments. Despite the negative connotations, members of the crypto community may view the title of “degen” as an achievement, as it demonstrates a willingness to take risks and a desire to participate in the development of the crypto industry. Well, you get the hint... This activity is only for Pro. If any terms from the post are unfamiliar or unclear to you, refrain from participating in this airdrop #DYOR, #NFR #NFT#SBT#TON#TheOpenLeague#airdrop#prize

🪑 +🪙MyTonWallet: The First Multichain Wallet on TON The MyTonWallet wallet team has integrated support 🪑#TRON blockchain and tokens #USDT-TRC20 and #TRX. This is an important step for the development of the multi-chain system — the expansion of one of the most popular TON wallets to other networks and the team is not going to stop at TRON. After some time, other giants will probably be integrated. 🛡 The beta phase has been successfully completed and MTW has officially been released in the main application. Perhaps all this will be reflected in the rate 💎 $MY, especially in the long term, but as always #NFR#DYOR🫧 Steps to activate: 🟡 Update MTW to the latest version and launch the application. 🟡 Add a new wallet (new standard will be used). For Trust Wallet users: 🟡 Import your seed phrase. 🟡 Continue using it inside MTW. 🎯#MyTonWallet will continue to integrate new networks (#EVM, #BSC and #Solana already on the way) as well as cool and useful features for its users. Channel | Chat | Download Wallet