TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

TGINSIGHT SIMILAR POSTS

Најди сличен содржај

Изворен канал @pythonotes · Post #169 · 21 окт.

А знаете ли вы, что в Bash есть особая переменная "$_" ? Из описания можно узнать, что в переменную "$_" помещается последний аргумент последней команды. Что-то знакомое? Конечно, в Python есть примерно тоже самое. Мы знаем, что дата первого релиза Bash (8 июня 1989) несколько раньше чем первый релиз Python (20 февраля 1991). Если учесть, что по задумке автора Python это агрегация самых успешных практик отовсюду, можно ли сказать что именно эта фишка к нему пришла из Bash? Ни подтверждения ни опровержения я пока не нашел. Давайте просто считать это совпадением 😉 А как это может быть полезно в Bash? Приведу простой пример, который оценят те, кто часто работает в терминале. Допустим, нам надо создать директорию и зайти в неё. Что обычно делаем? :~$ mkdir foldername :~$ cd foldername :~/foldername$ Как это сделать в одну команду? :~$ mkdir foldername && cd foldername :~/foldername$ Уже лучше, но хочется короче, без повторов. Вот тут и пригодится наша переменная. Напомню, что в неё сохраняется последний аргумент предыдущей команды. :~$ mkdir foldername && cd $_ :~/foldername$ _________________ PS. Символы "&&"" разделяют команды и означают, что требуется выполнить вторую команду только если первая завершилась успешно. #linux#tricks

Резултати

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

Пребарај: #procrypto

当前筛选 #procrypto清除筛选
Venture Village Wall 🦄

@venturevillagewall · Post #3863 · 13.01.2025 г., 10:00

Trump's Crypto Council to Include CEOs The Trump administration is set to form a crypto advisory council, appointing around 24 CEOs and industry leaders. The council aims to advise on digital asset policies, collaborate with Congress on crypto legislation, and work with agencies like the SEC and CFTC to foster a pro-crypto environment. A possible outcome could be the establishment of a strategic Bitcoin reserve for the U.S. Read more: Wu Blockchain News #Crypto#Trump#SEC#CFTC#Bitcoin#Legislation#Finance#DigitalAssets#AdvisoryCouncil#USPolicy#ProCrypto#Innovation#MarketTrends#Leadership#TechNews#Blockchain#Government#Investments#VC#USEconomy

Venture Village Wall 🦄

@venturevillagewall · Post #4007 · 28.01.2025 г., 10:00

Metaplanet Plans $745M Bitcoin Purchase Tokyo-listed Metaplanet aims to raise ¥116 billion (approx. $745M) through 21 million share subscriptions at 0% discount for Bitcoin acquisitions. This represents one of the largest financing plans for Bitcoin by any Asian publicly traded company. Detailed info available here: link. Meanwhile, U.S. Bitcoin and Ethereum ETFs received $1.9B in inflows during Trump's first week, bringing total digital asset inflows for 2025 to $4.8B. U.S. Senate also confirmed pro-crypto Scott Bessent as Treasury Secretary, expected to influence crypto regulations amid heightened interest. #Bitcoin#ETF#Crypto#Investment#Metaplanet#Asia#Treasury#DigitalAssets#BTC#ETH#Finance#NASDAQ#WallStreet#MarketTrends#Inflows#Securities#Cryptocurrency#USeconomy#Regulations#Trump#ProCrypto

Venture Village Wall 🦄

@venturevillagewall · Post #3761 · 31.12.2024 г., 16:00

Bitcoin Surpasses $100K: Retail Investors Return 💰 Bitcoin recently soared above $100,000, briefly reaching $104K, before settling below $91K. This surge is linked to key pro-crypto appointments in the Trump administration, including Scott Bessent for Treasury and Paul Atkins as SEC chair. 🚀 Retail interest is on the rise, with older cryptos, termed 'dino coins', gaining attention. XRP reclaimed its place as the fourth largest cryptocurrency as investors return to the market. Millennial parents are now considering Bitcoin as a safer option, encouraged by large firms like Blackrock. 📈 Ethereum is benefitting too, with ETF inflows exceeding Bitcoin on multiple occasions and blue-chip NFTs based on ETH seeing increased floor prices. 🔍 As the crypto market evolves, understanding the current market cycle can aid investment strategies. 📅 Major firms dominate crypto ETF races, with BlackRock leading in both Bitcoin and Ethereum spaces. For more details, check the full article here: Leviathan News. #Bitcoin#Crypto#VC#XRP#Ethereum#NFT#Blackrock#ETF#Investment#Retail#DePIN#ProCrypto#MarketTrends#DigitalAssets#Milestone#MarketCycle#Altcoins#Trump#CryptoCommunity#DinoCoins#PaulAtkins