Skip to content

Instantly share code, notes, and snippets.

View amini8's full-sized avatar

Mr Amini amini8

View GitHub Profile
@amini8
amini8 / magisk_ramdisk_patch_avd.sh
Created December 7, 2025 15:14 — forked from tothi/magisk_ramdisk_patch_avd.sh
Apply Magisk patches on AVD (Android Emulator) RAMDISK images for running Magisk (root) on Android Emulators
#!/bin/bash
#
# patch ramdisk.img (for installing Magisk on x64 Android emulator)
#
# x86_64 on Android 12 (API Level 32) is supported/tested currently
#
# install AVD:
#
# sudo sdkmanager 'system-images;android-32;google_apis_playstore;x86_64'
@amini8
amini8 / sniproxy.sh
Last active February 26, 2023 09:41
#!/bin/bash
if [[ "$(uname -s)" == "Linux" ]]; then
if [ -f /etc/debian_version ]; then
OS="Debian"
PKG="apt-get"
elif [ -f /etc/redhat-release ]; then
OS="Red Hat"
PKG="yum"
elif [ -f /etc/arch-release ]; then
@amini8
amini8 / DNS over TLS (DoT).txt
Created December 5, 2022 18:49
DNS over TLS (DoT)
# Aaflalo
dns.aaflalo.me
dns-nyc.aaflalo.me
# AdGuard
dns.adguard.com
dns-family.adguard.com
# Alekberg
dns.alekberg.net