@TestFlightX · Post #35119 · 04.04.2026 г., 05:06
#NOS https://testflight.apple.com/join/i4g2QrrG
Hashtags
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #183 · 23 ное.
Python + bash Если вам часто требуется запускать shell команды из Python-кода, какой способ вы используете? Самый низкоуровневый это функция os.system(), либо os.popen(). Рекомендованный способ это subprocess.call(). Но это всё еще достаточно неудобно. Советую обратить своё внимание на очень крутую библиотеку sh. Что она умеет? 🔸 удобный синтаксис вызова команд как функций # os import os os.system("tar cvf demo.tar ~/") # subprocess import subprocess subprocess.call(['tar', 'cvf', 'demo.tar', '~/']) # sh import sh sh.tar('cvf', 'demo.tar', "~/") 🔸 простое создание функции-алиаса для длинной команды fn = sh.lsof.bake('-i', '-P', '-n') output = sh.grep(fn(), 'LISTEN') в этом примере также задействован пайпинг 🔸 удобный вызов команд от sudo with sh.contrib.sudo: print(ls("/root")) Такой запрос спросит пароль. Чтобы это работало нужно соответствующим способом настроить юзера. А вот вариант с вводом пароля через код. password = "secret" sudo = sh.sudo.bake("-S", _in=password+"\n") print(sudo.ls("/root")) Это не все фишки. Больше интересных примеров смотрите в документации. Специально для Windows💀 юзеров #libs#linux
Пребарај: #nos
@TestFlightX · Post #35119 · 04.04.2026 г., 05:06
#NOS https://testflight.apple.com/join/i4g2QrrG
Hashtags
@NothingPhone2Updates · Post #211 · 15.12.2023 г., 10:44
Nothing OS 2.5.1 for Phone (2) based on Android 14 is Rolling Out 🚀 "It is to be noted that the update is rolling out in stages. This approach allows the team to monitor for any issues and ensure a smooth and stable deployment. Users on open beta 2 are much likely to get it first followed by those on 2.0.4. Don't worry if you haven't received it yet; it's on its way to you gradually." Update: (25/12/23) 2.0.4 users are finally getting the 2.5.1 stable update via OTA ⬇️ Downloads: Incremental from [ 2.0.4 | OB 2 2.5 ] > 2.5.1 | Full Ota Package has been uploaded to the Community Archive (Type #downloads in group chat. Can be found in Stock roms > full ota folder) ⚙️Offline Sideload Guide : Here 📺Official Intro : Here 🏷Tags: #NOS#A14#Official ————————————————- » VIDEO TUTORIAL : By Techticks « ————————————————- 🗒Detailed Changelogs: Customisation ✨ Redesigned a joint Home Screen and Lock Screen customisation page and improved the edit wallpaper flow for a more comprehensive view of options. 🌌 New Atmosphere wallpaper effect: Transform your background photo into a dynamic wallpaper that brings motion to colours on your home screen. A seamless transition between your lock and home screens. 🔮 New Glass wallpaper effect: Add a Glass filter to give your favourite wallpaper a unique appearance. 🎨 Introduced solid colour wallpapers for a cleaner Home Screen appearance. ⚪️ Added a monochrome colour theme in the basic colour section. Glyph Interface 📅 Glyph Progress integration for Google Calendar. Keep track of your upcoming events with a 5-minute countdown on the Glyph Interface. ⏲ Glyph Timer now supports time presets, allowing you to quickly set your desired duration. 🔓 You can now access Glyph Timer directly from the lock screen without unlocking the device. 🚀 Added an option to open the Glyph Timer popup by tapping instead of holding to accommodate for the Quick Settings widget. 💫 Added a new Glyph animation for when NFC is being used. 🔄 Improved the experience of Flip to Glyph. Gesture 💡Customisable double-press power button to quickly access a chosen feature. Just head to Settings > System > Gestures. 🤖 More Lock Screen shortcut options like: Do Not Disturb, Mute, QR code scanner, video camera. 📸 Capture screenshots quickly with a three-finger swipe gesture. ✏️ New screenshot editor and menu, allowing for more advanced editing features and quick deletions. More improvements 🌥 Optimised the experience of the Weather app and improved the notification of weather alerts. ⬅️ Refreshed the back gesture arrow visual to be more in line with Nothing’s style. 🔔 Made it possible to set ringtone and notification sound volumes separately, with an updated volume control interface. ⚙️ Updated Quick Settings layout and support to show more devices icons. 📷 Improved the stability of the camera. 👾 Enhanced overall system stability for a more reliable and smooth experience. New Widgets 🚶 Pedometer Widget: Track your daily steps directly from your home screen. Set goals and monitor your progress to stay motivated. 🎵 Media Player Widget: Displays the currently playing song. Control your music easily while on-the-move. ⏳ Screen Time Widget: Monitor and manage your daily screen time to maintain a healthy digital lifestyle. ✍️Note: - To use these new widgets, please update your Nothing Launcher and Nothing Widgets app to the latest versions available on the Play Store. - Data loss is not expected, whether you update from 2.0.4 / Open Beta 2 to 2.5.1 stable. But always keep backups if something wrong happens in rare scenarios! 🔔 Updates : @NothingPhone2Updates 🐙 Chat : @NothingPhone2
@NothingPhone2Updates · Post #481 · 04.12.2024 г., 16:42
🐍 Snake Game Widget is now available! A community co-creation initiative with Rapidzapper & Rahul https://play.google.com/store/apps/details?id=com.nothing.communitywidgets Note: If you're running an NOS 3.0 Beta, you may need to reboot after installation to see the new widget #Widget#Community#NOS Explore the Nothing TG Community: @Nothing_Archive
Hashtags
@NothingPhone2Updates · Post #184 · 09.11.2023 г., 12:05
Nothing OS 2.5 Open Beta 2 | Phone (2) | Android 14 📝 Details: - Version: 2.5 Beta 2 - Type: #NOS#OBT#A14#Beta - Codename: #Pong - Released: 02/11/23 Links: ⬇️ Download : Beta tool | Beta Package (Full) | Incremental (from beta 1) | Rollback (to 2.0.4) | TG Community Archive ⚙️ Changelogs | Official Intro 🏛Nothing Community Website 📸 Screenshots 🗒To-Do List Disclaimer: - Keep checking system updates (if you are already on beta 1). - Since this is a Beta version, there’s a very small chance the test software may interfere with your data and require a factory reset. In this instance, your data will be lost. We strongly recommend backing up all your data before accessing the software. - Rollback to NOS 2.0.4 Involves data loss, backup prior proceeding - For those getting error "ENOENT" during Android 14 Beta update: Make sure you have a folder named Documents in your storage 🔔 Updates : @NothingPhone2Updates 🐙 Chat : @NothingPhone2
@NothingPhone2Updates · Post #173 · 11.10.2023 г., 12:26
Nothing OS 2.5 Open Beta 1 | Phone (2) | Android 14 📝 Details: - Version: 2.5 Beta 1 - Type: #NOS#OBT#A14#Beta - Codename: #Pong - Released: 07/10/23 Links: ⬇️ Download : Beta tool | Beta Package | Rollback | Gdrive 🏛Nothing Community Website (Installation & Changelogs) 📸 Screenshots 🗒To-Do List Disclaimer: - Since this is a Beta version, there’s a very small chance the test software may interfere with your data and require a factory reset. In this instance, your data will be lost. We strongly recommend backing up all your data before accessing the software. - Rollback to NOS 2.0.3 Involves data loss, backup prior proceeding - For those getting error "ENOENT" during Android 14 Beta update: Make sure you have a folder named Documents in your storage 🔔 Updates : @NothingPhone2Updates 🐙 Chat : @NothingPhone2
@NothingPhone2Updates · Post #201 · 30.11.2023 г., 14:16
NothingMuchROM | Android 13 | Nothing Phone (2) Nothing OS with some handful modifications for a better experience 📝 Details: - Version: r4 (NOS 2.0.4) - Type: #ROM#NOS - Status: #Stable - Codename: #Pong - Released: 30/11/23 Links: ⬇️ Download : Here 📲 Support group : Here 👀 Visual Guide : Here (By Techticks in Hindi, use auto translate / follow visuals along with written instructions) 🏛 XDA: Here ( features and More Info ) 🏷Tags : #Stock#ROM#arter97#T ✨Changelogs: - Replaced LMKD (low memory killer daemon) from Paranoid Android. This reduces app kills by about 56%. - Removed Dirac services to avoid stock firmware bugs causing massive CPU and memory hogs. ✍️ Note: - Flash to Slot-A Only. Wont boot if you are on slot-b. (Reason > Here) 👤 Maintainer : @arter97 🔔 Updates : @NothingPhone2Updates 🐙 Chat : @NothingPhone2