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 слични објави

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

纯情男高

@hanzichen · Post #811 · 14.06.2025 г., 10:33

▎番茄小说下载器 💬 软件说明: 一款跨平台的小说下载工具,支持 Windows、macOS 和 Linux 系统。功能包括:EPUB下载支持、更好的断点传输、更好的错误管理、书本搜索等特性。 🐙 项目地址:传送门 💻平台:#Windows#Linux#MacOS 🏷标签:#番茄小说#下载器#番茄小说下载器#小说下载 ⭐更多资源分享: @OOAPK

Linuxgram 🐧

@linuxgram · Post #18192 · 26.03.2026 г., 10:43

📰 Inside the Systemd Age Verification Debate: Developer Responds to Criticism A single pull request turned a quiet open source contributor into the unlikely target of one of the Linux community's most heated controversies. We interacted with Dylan Taylor to hear his side of the story. 🔗 Source: https://feed.itsfoss.com/link/24361/17306445/dylan-taylor-systemd-controversy #systemd#linux#opensource

Linuxgram 🐧

@linuxgram · Post #18292 · 03.04.2026 г., 08:51

📰 Systemd-Free Artix Linux Sees First Release in 2026 with XLibre and PipeWire Artix Linux 2026.04 distribution is now available for download with XLibre and PipeWire by default, Linux kernel 6.19, and more. Here's what's new! 🔗 Source: https://9to5linux.com/systemd-free-artix-linux-sees-first-release-in-2026-with-xlibre-and-pipewire #linux#systemd#kernel

Linuxgram 🐧

@linuxgram · Post #17992 · 06.03.2026 г., 10:26

📰 Linux From Scratch 13.0 Released as First Systemd-Only Version The Linux From Scratch project has released LFS 13.0 and BLFS 13.0, featuring updated packages, the 6.18.10 kernel, and a systemd-only build. 🔗 Source: https://linuxiac.com/linux-from-scratch-13-0-released-as-first-systemd-only-version/ #linux#systemd#kernel

DOFH - DevOps from hell

@dofh_ru · Post #3662 · 13.04.2025 г., 11:32

Cilium: Полное руководство по сетевому взаимодействию, безопасности и наблюдаемости в Kubernetes Cilium — это облачное решение для сетевого взаимодействия, предназначенное для обеспечения, защиты и мониторинга сетевого соединения между нагрузками (workloads) с помощью расширенных возможностей технологии eBPF (extended Berkeley Packet Filter), мощного механизма ядра Linux. Специалистам, знакомым с сетевым взаимодействием в Kubernetes, известно, насколько важны плагины CNI (Container Network Interface) для управления сетевой коммуникацией внутри и между узлами кластера. В данной статье подробно рассматриваются архитектура Cilium, ключевые особенности, методы развертывания, а также проводится сравнение с другими известными технологиями, такими как Istio. https://telegra.ph/Cilium-Polnoe-rukovodstvo-po-setevomu-vzaimodejstviyu-bezopasnosti-i-nablyudaemosti-aka-observability-v-Kubernetes-04-13 #ит_статьи#linux#devops#network#kubernetes#cilium#ebpf

Linuxgram 🐧

@linuxgram · Post #18399 · 12.04.2026 г., 00:46

📰 Trisquel GNU/Linux 12.0 LTS Released with GNU Linux-Libre 6.8 Kernel, MATE 1.26 Trisquel GNU/Linux 12.0 LTS distribution is now available for download with GNU Linux-libre 6.8 kernel, MATE 1.26 desktop environment, updated packages, and various improvements. 🔗 Source: https://9to5linux.com/trisquel-gnu-linux-12-0-lts-released-with-gnu-linux-libre-6-8-kernel-mate-1-26 #gnu#kernel#linux

Linuxgram 🐧

@linuxgram · Post #18729 · 09.05.2026 г., 21:10

📰 JDownloader site hacked to replace installers with Python RAT malware The website for the popular JDownloader download manager was compromised earlier this week to distribute malicious Windows and Linux installers, with the Windows payload found deploying a Python-based remote access trojan. 🔗 Source: https://www.bleepingcomputer.com/news/security/jdownloader-site-hacked-to-replace-installers-with-python-rat-malware/ #linux#python

Linuxgram 🐧

@linuxgram · Post #18697 · 07.05.2026 г., 10:27

📰 PyPI Packages Deliver ZiChatBot Malware via Zulip APIs on Windows and Linux Cybersecurity researchers have discovered three packages on the Python Package Index (PyPI) repository that are designed to stealthily deliver a previously unknown malware family called ZiChatBot on Windows and Linux systems."While these wheel packages do implement the features described on their PyPI web pages, their true purpose is to covertly deliver malicious files," Kaspersky. 🔗 Source: https://thehackernews.com/2026/05/pypi-packages-deliver-zichatbot-malware.html #linux#python

Linuxgram 🐧

@linuxgram · Post #17835 · 19.02.2026 г., 14:42

📰 PipeWire 1.6 Released With Many New Features PipeWire 1.6 is out today as the newest feature release for this software widely used by the Linux desktop for managing of audio and video streams while nicely integrating with sandboxed Flatpak apps and more... 🔗 Source: https://www.phoronix.com/news/PipeWire-1.6 #linux#flatpak

Linuxgram 🐧

@linuxgram · Post #18079 · 16.03.2026 г., 17:21

📰 Fedora Workstation 44 Beta Benchmarks On The AMD Ryzen AI Max Framework Desktop Since last week's Fedora 44 Beta release I have been testing out this upcoming Fedora Linux version on a few systems in the lab, most notably with the Framework Desktop powered by the powerful AMD Ryzen AI Max+ 395 "Strix Halo". Fedora Workstation 44 Beta has been looking nice and running stable albeit in some instances seeing lower performance at this point than Fedora Workstation 43 but overall in good shape. 🔗 Source: https://www.phoronix.com/review/fedora-44-beta #linux#fedora#amd

Linuxgram 🐧

@linuxgram · Post #18775 · 13.05.2026 г., 15:40

📰 The best cheap Linux-based desktop you can buy was never designed to run Linux The M1 Mac mini wasn’t designed to be a Linux desktop, but Asahi Linux has turned it into one of the best cheap machines around. 🔗 Source: https://www.xda-developers.com/best-cheap-linux-based-desktop-never-designed-run/ #linux#linuxbased

Linuxgram 🐧

@linuxgram · Post #18715 · 08.05.2026 г., 21:21

📰 Proton Experimental gets fixes for Rocket League, Crimson Desert, Helldivers 2 and more Valve just launched the latest exciting upgrade for Proton Experimental, to ensure as many Windows games as possible run well on Linux / SteamOS machines.Read the full article on GamingOnLinux. 🔗 Source: https://www.gamingonlinux.com/2026/05/proton-experimental-gets-fixes-for-rocket-league-crimson-desert-helldivers-2-and-more/ #linux#proton

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