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

Резултати

Пронајдени 1,454 слични објави

Глобално пребарување

Linuxgram 🐧

@linuxgram · Post #18558 · 24.04.2026 г., 13:17

📰 Fedora is becoming the default Linux recommendation, and Ubuntu did this to itself Ubuntu used to be the easiest recommendation for a new Linux user, but recent bad decisions have caused things to shift in favor of Fedora. 🔗 Source: https://www.xda-developers.com/fedora-becoming-default-linux-recommendation-ubuntu-fault/ #fedora#linux#ubuntu

Linuxgram 🐧

@linuxgram · Post #17965 · 04.03.2026 г., 16:22

📰 Ubuntu, Fedora, Linux Mint Eye Age Verification Amid California Law Backlash California's upcoming Digital Age Assurance Act law requires OSes to let users input their birth date during the setup to follow child privacy rules. 🔗 Source: https://9to5linux.com/ubuntu-fedora-linux-mint-eye-age-verification-amid-california-law-backlash #ubuntu#fedora#linux

Linuxgram 🐧

@linuxgram · Post #18726 · 09.05.2026 г., 20:48

📰 NVIDIA-VAAPI-Driver 0.0.17 Fixes Support For GB10 Powered Systems The open-source, community-developed NVIDIA-VAAPI-Driver that provides a Video Acceleration API (VA-API) implementation built atop NVIDIA's NVDEC video decode interface is out with a new release. This is the open-source project that's motivated by getting accelerated video decoding to work within Mozilla Firefox and other apps when running with NVIDIA's packaged Linux driver... 🔗 Source: https://www.phoronix.com/news/NVIDIA-VAAPI-Driver-0.0.17 #firefox#linux#opensource

Linuxgram 🐧

@linuxgram · Post #18186 · 25.03.2026 г., 19:01

📰 Firefox 150 Promises Support for the GTK Emoji Picker on Linux, Beta Out Now Firefox 150 open-source web browser is now available for public beta testing with support for the GTK emoji picker on Linux, extended local network access restrictions, and more. 🔗 Source: https://9to5linux.com/firefox-150-promises-support-for-the-gtk-emoji-picker-on-linux-beta-out-now #opensource#linux#firefox

Linuxgram 🐧

@linuxgram · Post #18153 · 23.03.2026 г., 14:19

📰 Firefox 149 Web Browser Is Now Available for Download, This Is What’s New Firefox 149 open-source web browser is now available for download with Split View, XDG portal file picker support on Linux, new TrustPanel, faster PDF rendering, updated Firefox error pages, and more. Here's what's new! 🔗 Source: https://9to5linux.com/firefox-149-web-browser-is-now-available-for-download-this-is-whats-new #firefox#opensource#linux

互联E栈

@bcd8888 · Post #1272 · 03.07.2025 г., 10:48

#软件#开源#播放器#互联E栈 #emby播放器#媒体播放 #NipaPlay-Reload - 现代化视频播放器 一款 Flutter 开发的跨平台视频播放器,它集成了弹幕、字幕、音轨切换、新番时间表、播放历史同步、媒体库管理等功能。 播放器界面采用现代毛玻璃风格,支持主题切换和自定义设置,并支持外挂/内嵌字幕、弹幕来源接入、快捷键操作等个性化配置,提供对 Emby/Jellyfin 等媒体服务器的兼容扩展。 软件平台:#Android#iOS#Windows#macOS#Linux 🔘软件下载:点击下载 🔊频道 |💬群组 |🎁福利 |📍导航

折腾实验室频道

@TossLabChannel · Post #371 · 12.12.2024 г., 01:53

#VPS#监控#服务器#Linux#Serverbox Flutter Server Box全平台Linux服务器监控系统 一款用 Flutter 开发的 Linux 服务器工具箱,支持多平台管理和监控服务器: • 功能亮点: • 状态图表(CPU、传感器、GPU 等) • SSH 终端 & SFTP • Docker、进程和 Systemd 管理 • 特别支持: • 生物认证、推送通知 • 桌面小部件、watchOS App • 跟随系统颜色 支持平台: • iOS/macOS:AppStore • Android • Linux/Windows 📢 群聊: @TossLab 🎈 频道: @TossLabChannel ❤️不想错过精彩内容,请打开 #频道通知,你的 #阅读#点赞#转发 便是我发帖的最大动力!

Dasturlash hayoti️️ ️

@dasturlash_hayoti · Post #3836 · 15.06.2025 г., 16:45

🚀DevOps o‘rganmoqchimisiz? Bepul laboratoriyalar tayyor! KodeKloud — bu bepul o‘quv muhiti bo‘lib, siz quyidagi texnologiyalarni interaktiv tarzda o‘rganishingiz mumkin: ● Docker ● Kubernetes ● Linux ● Terraform ● Ansible va boshqalar 🌐 Hammasi brauzerda ishlaydi! Hech narsa o‘rnatishingiz shart emas. Saytni ochasiz — amaliy topshiriqlarni bajarasiz. 💡 Har bir laboratoriya interaktiv bo‘lib, siz faqat video tomosha qilmay, balki har bir buyruqni o‘zingiz yozib bajarishni o‘rganasiz. 👉 Rasmiy sayt:kodekloud.com/free-labs 🔥 DevOps’ga yangi kirayotganlar yoki mavjud bilimini oshirmoqchi bo‘lganlar uchun — haqiqiy manba! #DevOps#Docker#Kubernetes#Linux#Terraform#KodeKloud 💻@dasturlash_hayoti — bir xatoni tuzatib, ikkinchisiga tayyorlanish! 😅

Linuxgram 🐧

@linuxgram · Post #18571 · 25.04.2026 г., 21:51

📰 LACT 0.9 Released With UI Updates, Voltage-Frequency Curve Editor For NVIDIA LACT, one of the leading open-source solutions to provide a graphics card management GUI that works across AMD / NVIDIA / Intel graphics hardware on Linux, is out with a major update this weekend... 🔗 Source: https://www.phoronix.com/news/LACT-0.9-Released #amd#intel#linux#opensource

Linuxgram 🐧

@linuxgram · Post #17966 · 04.03.2026 г., 17:44

📰 AMD EPYC Achieves 5G/6G RAN Performance Leadership With New OCUDU Project Announced this week at Mobile World Congress (MWC) by the Linux Foundation was the establishing of the OCUDU Ecosystem Foundation for advancing open-source AI-RAN (Radio Access Network) innovations. OCUDU is building a reference platform and innovations around 5G and early 6G network solutions. With OCUDU being benchmark-friendly, I have been putting the early code through some performance tests on current AMD EPYC and Intel Xeon server... 🔗 Source: https://www.phoronix.com/review/amd-epyc-intel-xeon-ocudu #opensource#linux#intel#amd

Linuxgram 🐧

@linuxgram · Post #17944 · 02.03.2026 г., 15:56

📰More ASUS Desktop Motherboards Will Support Sensor Monitoring With Linux 7.1 ASUS desktop motherboards have been seeing broader sensor monitoring support on Linux in recent years. ASUS motherboards for Intel and AMD processors have been seeing more support added thanks to the open-source community with new additions to the likes of the ASUS-EC-Sensors driver and other hardware monitoring (HWMON) driver code. This is continuing for Linux 7.1... 🔗 Source: https://www.phoronix.com/news/ASUS-More-Sensors-Linux-7.1 #amd#linux#intel#opensource

Linuxgram 🐧

@linuxgram · Post #18611 · 29.04.2026 г., 10:27

📰Bork in Prague: SUSE's keynote gods demand their tribute Linux vendor touts European independence while rate limits, Chromium popups, and cold sparks steal the show BORK!BORK!BORK! The keynote gods are a fickle bunch, as SUSE discovered at its annual shindig in Prague. What should have been a slick edge demo instead served up error pages to unsuspecting attendees, while keynote presentations attracted some unwelcome visitors.… 🔗 Source: https://go.theregister.com/feed/www.theregister.com/2026/04/29/never_anger_the_keynote_demo/ #chromium#linux

12•••100•••108109110111112•••121122
ПретходнаСтраница 110 од 122Следна