Skip to content

Instantly share code, notes, and snippets.

View llbranco's full-sized avatar

Luciano Branco llbranco

  • Brazil
  • 21:55 (UTC -03:00)
View GitHub Profile
@llbranco
llbranco / debloat.sh
Created March 2, 2026 18:39 — forked from heywoodlh/debloat.sh
Debloat Android (specifically, Moto G 5G)
#!/usr/bin/env bash
# Install F-Droid
if adb shell pm list packages | grep -q org.fdroid.fdroid
then
echo 'F-Droid already installed, skipping.'
else
echo 'Installing F-Droid.'
curl -o /tmp/F-Droid.apk https://f-droid.org/F-Droid.apk
adb install /tmp/F-Droid.apk
@llbranco
llbranco / load-balance.sh
Created September 1, 2017 23:21 — forked from girst/load-balance.sh
Simple Linux Load Balancing with `iproute2`
#!/bin/bash
# Load balance multiple internet connections. Requires iproute2, awk and grep.
# (C) 2016 Tobias Girstmair, isticktoit.net, GPLv2
# Also useful: speedometer -l -r eth1 -t eth1 -m $(( 1024 * 1024 * 3 / 2 ))
# Not much user error checking is done - only pass working network connections
# script needs root to work and at least two interfaces to be useful
[ $EUID -eq 0 -a $# -ge 2 ] || {
echo "Usage (as root): $0 iface1[:weight1] iface2[:weight2] ..." >&2