Skip to content

Instantly share code, notes, and snippets.

View 2shrestha22's full-sized avatar
๐Ÿ‘‹
Caffeine Free

Sangam Shrestha 2shrestha22

๐Ÿ‘‹
Caffeine Free
View GitHub Profile
libdbusmenu-glib
libdbusmenu (for Fedora)
@2shrestha22
2shrestha22 / magisk_flash.sh
Last active June 3, 2024 10:17
Helper script to flash Magisk for non A/B device.
#!/bin/bash
# To run this:
# bash <(curl -sL https://gist.githubusercontent.com/2shrestha22/b2f15066c1627085e0913ac52d243d62/raw/2c477da35d44b77a510783a1d1494cc90feb9217/magisk_flash.sh)
BOOT_IMAGE_FILE_NAME="boot.img"
BOOT_IMAGE_FILE_PATH="./$BOOT_IMAGE_FILE_NAME"
echo -e "Helper srcipt to flash Magisk patched boot.img for non A/B device...\n"
if adb shell getprop ro.build.ab_update | grep -q true; then
@2shrestha22
2shrestha22 / README.md
Created November 24, 2023 16:33 — forked from zhiguangwang/README.md
Installing and running shadowsocks on Ubuntu Server

Installing and running shadowsocks on Ubuntu Server

16.10 yakkety and above

  1. Install the the shadowsocks-libev package from apt repository.

     sudo apt update
     sudo apt install shadowsocks-libev
    
  2. Save ss.json as /etc/shadowsocks-libev/config.json.