Skip to content

Instantly share code, notes, and snippets.

View lokeb's full-sized avatar

Loknath Bharti lokeb

View GitHub Profile
@spectrMeltdown
spectrMeltdown / debloat-tecno.ps1
Last active November 30, 2026 09:48
Debloat Script for Tecno
<#
DEBLOAT SCRIPT FOR TECNO PHONES
NOTES/REMINDERS
- Check the "POSSIBLY USEFUL FOR YOU" section before proceeding. Comment out any packages you need.
- I have tested all these removals on my Tecno Pova (last Nov 2023). Should have the same bloat on other Tecno models too.
- Note that some apps will auto install after system update. Just run script again.
- Grabbed the other package names from Universal Android Debloater here on Github (I created this script because UAD was lacking
a lot of packages)
@satmandu
satmandu / build_arm64_rpi_userland.sh
Last active July 22, 2023 23:37
Generate an arm64 rpi userland for use on ubuntu/arm64.
#!/bin/bash -x
workdir="${HOME}/workdir"
[[ ! -d "$workdir" ]] && ( mkdir -p "$workdir" || exit 1)
[[ ! -d "$workdir"/tmp ]] && ( mkdir -p "$workdir"/tmp || exit 1)
[[ ! -d "$workdir"/output ]] && ( mkdir -p "$workdir"/output || exit 1)
echo "workdir is ${workdir}"
tmpdir=$(mktemp -d deb_XXXX -p "$workdir"/tmp)
deb_temp=${tmpdir}/deb
extract_tmp=${tmpdir}/extract
@tbrianjones
tbrianjones / Inflect.php
Last active February 21, 2024 21:28
A PHP Class for converting English words between Singular and Plural.
<?php
// original source: http://kuwamoto.org/2007/12/17/improved-pluralizing-in-php-actionscript-and-ror/
/*
The MIT License (MIT)
Copyright (c) 2015
Permission is hereby granted, free of charge, to any person obtaining a copy