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

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

AIGC

@aigcrubbish · Post #117 · 31.12.2025 г., 18:08

Shadow-utils 4.19.0 released shadow-utils 项目发布了 4.19.0 版本。该项目提供了一系列用于管理用户和组账户的重要工具。 本次更新的主要变化包括: * 通过 `--badname` 选项,禁止了一些之前被接受的用户名。 * 移除了对配置文件中转义换行符的支持。 更值得关注的是,项目宣布将逐步弃用一系列功能: * 弃用多个程序、哈希算法。 * 弃用**定期强制密码过期**的功能。 弃用定期密码过期的原因是,科学研究表明这种做法会导致用户使用可预测的密码模式,并且即使理论上不会出现这种情况,其带来的安全性提升在数学上也微乎其微。现代安全标准(如美国的 NIST SP 800-63B-4)也已禁止这种做法。项目方表示,为了与这些标准保持一致,决定弃用此功能。具体的弃用路线图仍在讨论中,并邀请用户(尤其是受监管环境中的用户)提供反馈。 公告指出,这些被弃用的功能在“相当长的一段时间内”仍将保持可用,以尽量减少对现有系统的影响。 原文链接:https://lwn.net/Articles/1052435/ #Linux#信息安全#系统管理#软件更新 #AIGC Read more

喬苑

@Qiao_blog · Post #996 · 30.12.2024 г., 02:15

EMBY 客户端 @ansgwrt 整理提供 点击 | 折叠区 | 即可查看全部内容 |📽> iOS/iPadOS #iOS Emby官方客户端 https://emby.media/download.html Infuse https://apps.apple.com/cn/app/id1136220934 HamHub https://apps.apple.com/cn/app/id6458691598 SenPlayer https://apps.apple.com/cn/app/id6443975850 https://t.me/SenPlayerApp Fileball https://apps.apple.com/cn/app/fileball/id1558391784 yybx https://apps.apple.com/cn/app-bundle/max-yybx-iemc-tvok-foxok-yyb/id1645687971 iemc https://apps.apple.com/cn/app/id1467462861 Reflix https://testflight.apple.com/join/JbaJzYXc https://t.me/+BrlwQi99J41hMzQ1 nPlayer(内部浏览器跳转) https://apps.apple.com/us/app/nplayer/id1116905928 iPlay https://t.me/iPlayClient iiva https://apps.apple.com/hk/app/iiva/id1614231457 Forward https://apps.apple.com/us/app/forward-%E6%96%B0%E8%A7%86%E7%95%8C/id6503940939 Stevewatch https://apps.apple.com/app/stevewatch/id6478312533 DS Cloud https://apps.apple.com/cn/app/ds-cloud/id590216612 XPTV https://apps.apple.com/us/app/xptv/id6459409368 VPlayer https://apps.apple.com/us/app/vplayer-video-player/id6473444511 BeeJoy https://apps.apple.com/us/app/beejoy/id6670792086?l=zh-Hans-CN Femor https://t.me/hkaemby/33050?single Vidhub https://apps.apple.com/cn/app/id1659622164 |📽> iOS/iPadOS/macOS/AppleTV #iOSTV Emby TV https://emby.media/download.html Infuse https://apps.apple.com/cn/app/id1136220934 Emtv https://apps.apple.com/us/app/id1671608662 Conflux https://conflux.one/ SenPlayer https://testflight.apple.com/join/bZyNXMAx Turnip Player https://t.me/turnip_projects Gooby (BBplayer) https://testflight.apple.com/join/HW5ZNyfD HamHub https://apps.apple.com/cn/app/id6458691598 Unplay https://apps.apple.com/us/app/unplay/id6450034641 https://github.com/suaptv/UnPlay Terminus Player https://github.com/Terminus-Media/jellyfin-media-player BeeJoy https://apps.apple.com/us/app/beejoy/id6670792086?l=zh-Hans-CN Femor https://t.me/hkaemby/33050?single Vidhub https://apps.apple.com/us/app/vidhub-video-library-player/id1659622164 animeko (仅支持自建Emby) https://github.com/open-ani/ani |📽> Windows #Windows Emby官方客户端 https://emby.media/download.html Emby小秘修改 https://t.me/EmbyNoisyX https://t.me/sharereback/17?single Tsukimi https://github.com/tsukinaha/tsukimi Terminus Player https://github.com/Terminus-Media/jellyfin-media-player/releases iplay https://t.me/iPlayClient Femor https://t.me/hkaemby/33050?single animeko(仅支持自建Emby) https://github.com/open-ani/ani Kodi https://kodi.tv/ |📽> Linux #Linux Tsukimi https://github.com/tsukinaha/tsukimi Terminus Player https://github.com/Terminus-Media/jellyfin-media-player |📽> Android/Android TV#Android Emby官方客户端 https://emby.media/download.html Emby小秘修改 https://t.me/EmbyNoisyX https://t.me/sharereback/17?single Emby kirlif版 https://t.me/SaltSoupGarage/603 https://t.me/SaltSoupGarage/615 Yamby https://t.me/yamby_release https://play.google.com/store/apps/details?id=com.hush.yamby Hills https://t.me/Hills_app https://play.google.com/store/apps/details?id=com.mountains.hills iPlay https://t.me/iPlayClient DS Cloud https://play.google.com/store/apps/details/DS_cloud?id=com.synology.dscloud&hl=zh&gl=US&pli=1 Afusekt--AfusektTV https://github.com/AttemptD/AfuseKt-release/releases Themby https://t.me/themby_official Femor https://t.me/hkaemby/33050?single https://t.me/+UjSx6UcD8vI0MmZh Terminus Player TV https://github.com/Terminus-Media/jellyfin-media-player/releases/tag/v280922-AndroidTVv1.0.0 nPlayer(内部浏览器跳转) Play https://liteapks.com/nplayer.html Vidhub https://sj.qq.com/appdetail/com.oumi.utility.media.hub https://app.mi.com/details?id=com.oumi.utility.media.hub&ref=search animeko(仅支持自建Emby) https://github.com/open-ani/ani |📽> HarmonyOS/鸿蒙 #Android#HarmonyOS Flymby [TF] https://appgallery.huawei.com/link/invite-test-wap?taskId=aa2a5367e3d8f2f2f6d61538e22fd934&invitationCode=243Sl031bzS —————— https://www.wzhi.top/ Q群:442125481

Linuxgram 🐧

@linuxgram · Post #18618 · 29.04.2026 г., 16:28

📰Canonical Unveils Ubuntu AI Strategy: Local Models, User Control, and Smarter Workflows by George WhittakerCanonical has officially revealed its long-anticipated plans to bring artificial intelligence features into Ubuntu, marking a significant shift for one of the world’s most widely used Linux distributions. Rather than rushing into the AI wave, Canonical is taking a measured, privacy-focused approach, one that aims to enhance the operating system without compromising its open-source values. 🔗 Source: https://www.linuxjournal.com/content/canonical-unveils-ubuntu-ai-strategy-local-models-user-control-and-smarter-workflows #linux#opensource#ubuntu

Linuxgram 🐧

@linuxgram · Post #17962 · 04.03.2026 г., 12:50

📰 Ubuntu Still Figuring Out A Plan For Dealing With California's Digital Age Assurance Act The talk this week among open-source projects from Linux distributions to app stores like Flathub is how to deal with California's latest insanity: the Digital Age Assurance Act. California's AB 1043 state law is mandating that operating systems -- Linux included -- collect age information during account setup and exposing that age to eligible apps beginning on 1 January 2027. 🔗 Source: https://www.phoronix.com/news/Ubuntu-Digital-Age-Assurance #ubuntu#opensource#linux

AIGC

@aigcrubbish · Post #106 · 18.12.2025 г., 01:34

Asahi Linux 6.18 progress report Asahi Linux 项目发布了 Linux 6.18 内核版本后的进展报告。本次更新在多方面取得进展,包括为 M2 Pro/Max MacBook 增加了麦克风支持、为 Linux 6.19 准备了通过 USB-C 端口支持 USB3 的代码,以及改进了 Asahi Linux 的安装体验。项目还启用了更多的系统管理控制器驱动程序,这意味着“由 SMC 控制的众多电压、电流、温度和功率传感器将可以通过标准的 hwmon 接口读取”。 原文链接:https://lwn.net/Articles/1050953/ #Linux#AsahiLinux#开源#硬件支持 #AIGC Read more

Linuxgram 🐧

@linuxgram · Post #18648 · 01.05.2026 г., 21:34

📰 Shelly 2.2 Arch Linux GUI Package Manager Released with Major UI Revamp Shelly 2.2 graphical package manager for Arch Linux systems is now available for download with a revamped UI and various other improvements. Here's what's new! 🔗 Source: https://9to5linux.com/shelly-2-2-arch-linux-gui-package-manager-released-with-major-ui-revamp #arch#linux

Hashtags

Linuxgram 🐧

@linuxgram · Post #18578 · 26.04.2026 г., 21:46

📰CachyOS Introduces New Default GUI Package Manager, Kyber For NVMe I/O Scheduler The April 2026 ISO refresh of the Arch Linux based CachyOS is now available with a variety of refinements, new hardware support, and other polishing... 🔗 Source: https://www.phoronix.com/news/CachyOS-April-2026 #arch#linux

Hashtags

Linuxgram 🐧

@linuxgram · Post #18503 · 21.04.2026 г., 05:23

📰 Archinstall 4.3 Arch Linux Installer Adds Support for Installing Additional Fonts Archinstall 4.3 text-mode installer for the Arch Linux distribution is now available with support for installing additional fonts, as well as other changes and bug fixes. 🔗 Source: https://9to5linux.com/archinstall-4-3-arch-linux-installer-adds-support-for-installing-additional-fonts #arch#linux

Hashtags

Linuxgram 🐧

@linuxgram · Post #18398 · 11.04.2026 г., 20:22

📰 First Look at Shelly, a Modern Graphical Package Manager for Arch Linux Meet Shelly, a new package management tool for Arch Linux that aims to be more intuitive and user-friendly than what’s already on the market. 🔗 Source: https://9to5linux.com/first-look-at-shelly-a-modern-graphical-package-manager-for-arch-linux #arch#linux

Hashtags

Linuxgram 🐧

@linuxgram · Post #18320 · 06.04.2026 г., 09:15

📰 Arch Linux Makes nft the Default Backend for iptables Arch Linux developers have announced that iptables now defaults to the nft backend, replacing the previous iptables-nft package name. 🔗 Source: https://linuxiac.com/arch-linux-makes-nft-the-default-backend-for-iptables/ #linux#arch

Hashtags

Linuxgram 🐧

@linuxgram · Post #18249 · 31.03.2026 г., 01:07

📰 Archinstall 4.0 Arch Linux Installer Released with New Textual UI Archinstall 4.0 Arch Linux menu-based installer is now available for download with a new TUI (text-based user interface), new features, and various improvements. 🔗 Source: https://9to5linux.com/archinstall-4-0-arch-linux-installer-released-with-new-textual-ui #linux#arch

Hashtags

Linuxgram 🐧

@linuxgram · Post #18205 · 26.03.2026 г., 20:43

📰 CachyOS just dethroned Arch Linux on ProtonDB, and Linux gamers are finally noticing It was inevitable once you see everything CachyOS has. 🔗 Source: https://www.xda-developers.com/cachyos-is-the-new-king-of-protondb/ #linux#arch

Hashtags

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