Один из самых удобных способов записать данные это использование готовых форматов, такие как JSON или YAML.
Из плюсов такого подхода стоит отметить вот что:
🔸 готовый, повсеместно используемый и поддерживаемый формат
🔸 простой и понятный файл, удобочитаемый для человека
🔸 можно легко редактировать в любом текстовом редакторе без специальных программ и библиотек
Но есть и минусы
🔹 затраты времени при записи файла (кодирование данных в нужный формат строки)
🔹 затраты времени при чтении файла (декодирование данных в Python объекты)
🔹 размер файла увеличивается из-за разметки данных (скобки, запятые, переносы, отступы...)
🔹 перед записью все данные должны быть помещены в память в полном объёме (не всегда)
🔹 при чтении необходимо считать весь файл в память и только потом декодировать данные
Если нужно писать немного данных в несколько файлов, то затраты по времени не ощутимы. Обычно это файлы конфига или какие-либо метаданные. Это отличный вариант под такие задачи.
Есть и другой поход к записи файлов - это бинарные файлы. Используется, когда данных достаточно много и никто их не собирается читать глазками😳.
🔸 очень быстрая запись
🔸 чтение значительно быстрей чем JSON, YAML итд
🔸 размер файла значительно меньше, так как нет разметки
🔸 можно записывать данные по мере поступления не загружая всё в память
🔸 можно извлечь любую часть данных независимо
Из минусов
🔹 нужно определить свой формат записи данных (если не используете готовую спецификацию определённого формата)
🔹 не получится открыть файл и визуально понять что там записано, а для чтения файла потребуется знать его спецификацию.
🔹 не так-то просто создать такой файл без специальной библиотеки
В таком виде удобно записывать большой массив любых однородных данных. Например, мониторинг валютной биржи или кэшированная анимация 3D геометрии.
(Это не означает что нельзя записать данные разного типа, просто это будет не так удобно)
Представьте себе JPG-картинку. По сути это немного мета-информации и большой массив пикселей. Тоже самое со звуком или видео файлом. Поэтому, если вы попробуете открыть картинку в текстовом редакторе вы увидите что-то вроде такого
f15d cd29 a564 4578 ...
09e2 9bc4 a696 1253 ...
84e9 4de1 3b23 c24a ...
2534 5161 28e0 709d ...
...
Это и есть записанные байтики. И для их чтения требуется определённый софт который знает что с ними делать. Под каждый тип файла.
К чему это я? Читайте в следующем посте...
#tricks#basic
MicroGPlus
Easy #MicroG#installer
https://bitgapps.io/extra.html
https://t.me/MicroGPlusChat
microG is a free and open-source implementation of Google Play Services. It aims to provide a functional replacement for proprietary Google services on #Android devices. It allows users to run applications that depend on #Google Play Services.
MinMicroG MicroG installer
v2.10
28th april, 2021
By MOVZX and FatherJony and FriendlyNeighborhoodShane
⚠️ Check the guide called README.md inside the zips ⚠️
There's not much to update, unsurprisingly. I just wanted to make sure this thing still works.
Changelog:
- Update MicroG
- Update AuroraSuite
- Switch LocalGSM NLP backend back to the now-maintained FDroid build
- Support addon.d v2 for newer A/B devices
Check release notes for troubleshooting the self-check problems.
⬇️ Downloads:
https://github.com/FriendlyNeighborhoodShane/MinMicroG_releases/releases/tag/2021.04.28
Build scripts and instructions:
https://github.com/FriendlyNeighborhoodShane/MinMicroG
📡@NoGoolag
#minmicrog#microg#installer
Anarchy-Droid
One-Click Android rom installation assistant
Anarchy-Droid is an application designed to help you install custom roms on your Android device. It is supposed to make the process of finding, downloading and installing a rom (with addons like F-Droid and microG) as easy as possible. The primary audience is all the folks who do not really know anything about Android, TWRP or roms, but still would like to run a free, open-source and non-bloated Android on their devices. Using a free after-market rom like LineageOS should not be restricted to the few people with enough technical know-how to do the complex installation procedure all by themselves.
Anarchy-Droid is available for Windows, Mac and Linux. As of now, it should be working fine with many Samsung, OnePlus, Motorola, NVidia and Sony devices and with all other devices that already have TWRP installed.
Anarchy-Droid is the successor of Free-Droid which has been fully rewritten from scratch in go.
https://anarchy-droid.com
https://github.com/amo13/Anarchy-Droid
📡@NoGoolag📡@Libreware
#anarchydroid#rom#microg#installer
microG Installer Revived.... again
by spacebarred
Based on nift4's microG Installer Revived
🚀 Convert your microG to a system app for better Play Integrity results!
This module promotes your installed microG to '/priv-app', where it:
✅ Gains privileged permissions like real Play Services
✅ Looks more “stock” to Play Integrity checks
✅ Gets system-level access needed for attestation
✅ More closely mimics a genuine Google Services setup
• Features a fully built-in KernelSU/WebUI X interface.
• Built-in downloader fetches the latest microG & Companion directly from GitHub.
• Dynamically promotes whatever versions you install — no more waiting for module updates to match APKs!
📦 QUICK INSTALL
1. Flash this module via #Magisk or #KernelSU and Reboot.
2. Open the module's WebUI inside your root manager.
3. Go to the "Installer" tab to download & install microG GmsCore + Companion.
4. Go to the "Home" tab and long-press "Promote" to push them to the system level.
5. Reboot → Grant permissions in microG Settings.
✅ REQUIREMENTS
• Signature spoofing enabled in your ROM
• No Google services installed
• Magisk v20.4+ or KernelSU
• For KSU: A valid mount metamodule installed (e.g., magic mount, mountify, overlayfs)
❌ WON’T WORK ON:
• Most stock ROMs (no sig spoofing support)
• Devices with GApps installed
📖 Full guide & source:
github.com/spacealtctrl/microg_installer_revived_again
⬇️ Downloads:
https://github.com/spacealtctrl/microg_installer_revived_again/releases
🔧 Personal project — updated when possible.
Join testing group: t.me/microGRevivedAgainResults
#microg#installer
#kotlin#android#apk#apks#dhizuku#installer#root#shizuku
InstallerX Revived is a free, open-source Android app installer that replaces your phone’s default installer with a more powerful and customizable one. It supports many file types like apk, apks, xapk, and zip with multiple apps inside. You get features like batch installs, automatic deletion of install files, and options to block certain apps from installing. It works on Android 7 to 16 and offers a modern interface with language support. This installer improves installation speed, fixes bugs, and lets you control installation settings for a smoother, safer app installation experience. It’s community-maintained and respects your privacy.
https://github.com/wxxsfxyzm/InstallerX-Revived
#shell#alpine#alpine_linux#boot#distro#grub#installer#iso#linux#linux_distribution#liveos#netboot#netinst#netinstall#operating_systems#os#reinstall#shell_script#vps#windows
You can use a powerful script to easily reinstall Linux or Windows on your server with just one command. It supports 19 popular Linux versions and all Windows versions from Vista to Windows 11, automatically downloading official ISO files and drivers. It works for switching between Linux and Windows, handles different network setups without manual IP input, and supports BIOS, EFI, and ARM servers. The script is lightweight, safe, and fetches all resources live from official sources. This saves you time and effort in system installation or reinstallation, especially on low-memory or cloud servers. You can also customize passwords, SSH keys, and ports during installation.
https://github.com/bin456789/reinstall